Fix build

This commit is contained in:
hondacrx
2022-05-29 16:08:55 -04:00
parent 60ab157ba1
commit 25102a2ee1
3 changed files with 17 additions and 2 deletions
+15
View File
@@ -1100,6 +1100,21 @@ namespace Scripts.Spells.Generic
}
}
[Script] // 28471 - ClearAll
class spell_clear_all : SpellScript
{
void HandleScript(uint effIndex)
{
Unit caster = GetCaster();
caster.RemoveAllAurasOnDeath();
}
public override void Register()
{
OnEffectHitTarget.Add(new EffectHandler(HandleScript, 0, SpellEffectName.ScriptEffect));
}
}
[Script]
class spell_gen_clone : SpellScript
{