sheivan
Member
I'm trying to make it so a monster explodes minutes after its death
public override bool OnBeforeDeath()
{
Timer.DelayCall(
TimeSpan.FromMinutes(5.0),
() =>
{
new FireExplodeEffect(this, Map, 55, effectHandler: ExplosionDamage).Send();
});
return base.OnBeforeDeath();
}
Any reason why this is not working? It just... dies I tried to set the timer to5 secs to make it quicker and not wait but it didnt work either
public override bool OnBeforeDeath()
{
Timer.DelayCall(
TimeSpan.FromMinutes(5.0),
() =>
{
new FireExplodeEffect(this, Map, 55, effectHandler: ExplosionDamage).Send();
});
return base.OnBeforeDeath();
}
Any reason why this is not working? It just... dies I tried to set the timer to5 secs to make it quicker and not wait but it didnt work either