fix: fixes death explosion trigger on death (#2228)
This commit is contained in:
parent
35faba5087
commit
8997130e57
1 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,11 @@ public class DeathExplosion : AreaEffectMonsterAbility
|
|||
|
||||
public override void Trigger(MonsterAbilityTrigger trigger, BaseCreature source, Mobile target)
|
||||
{
|
||||
if (trigger != MonsterAbilityTrigger.Death)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_exploding.Add(source);
|
||||
source.FixedParticles(0x36BD, 20, 10, 5044, EffectLayer.Head);
|
||||
source.PlaySound(0x307);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue