Misc fixes

This commit is contained in:
hondacrx
2022-05-29 21:00:58 -04:00
parent ca2357fe13
commit b630cf134e
4 changed files with 18 additions and 60 deletions
+16
View File
@@ -4097,6 +4097,22 @@ namespace Scripts.Spells.Generic
}
}
[Script] // 37751 - Submerged
class spell_gen_submerged : SpellScript
{
void HandleScript(uint eff)
{
Creature target = GetHitCreature();
if (target != null)
target.SetStandState(UnitStandStateType.Submerged);
}
public override void Register()
{
OnEffectHitTarget.Add(new EffectHandler(HandleScript, 0, SpellEffectName.ScriptEffect));
}
}
[Script] // 169869 - Transformation Sickness
class spell_gen_decimatus_transformation_sickness : SpellScript
{