Adjustments.

This commit is contained in:
Marisa the Magician 2019-09-10 19:49:05 +02:00
commit 2587d6c505
14 changed files with 275 additions and 59 deletions

View file

@ -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()) )