- added back WT's fireball's postHitEffect.

This somehow got lost during scriptification.
This commit is contained in:
Christoph Oelckers 2023-04-07 08:30:58 +02:00
parent 58ee80564b
commit d7224245e3

View file

@ -714,6 +714,20 @@ class DukeFireball : DukeProjectile // WorldTour only
}
return false;
}
override void posthiteffect(CollisionData coll)
{
if (self.detail != 1)
{
let spawned = self.spawn('DukeExplosion2');
if (spawned)
{
let scale = self.scale.X * 0.5;
spawned.scale = (scale,scale);
}
}
Super.postHitEffect(coll);
}
override bool animate(tspritetype tspr)
{