Adjustments.
This commit is contained in:
parent
2312128864
commit
2587d6c505
14 changed files with 275 additions and 59 deletions
|
|
@ -264,6 +264,11 @@ Class TarydiumDebuff : Thinker
|
|||
|
||||
override void Tick()
|
||||
{
|
||||
if ( !sting_stinger )
|
||||
{
|
||||
Destroy();
|
||||
return;
|
||||
}
|
||||
if ( !victim || (victim.Health <= 0) )
|
||||
{
|
||||
BlowUp();
|
||||
|
|
@ -316,6 +321,7 @@ Class TarydiumDebuff : Thinker
|
|||
static void Apply( Actor victim, Actor instigator, int amount )
|
||||
{
|
||||
if ( !victim || (victim.Health <= 0) || !victim.bISMONSTER ) return;
|
||||
if ( !sting_stinger ) return;
|
||||
let ti = ThinkerIterator.Create("TarydiumDebuff",STAT_USER);
|
||||
TarydiumDebuff t;
|
||||
while ( t = TarydiumDebuff(ti.Next()) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue