Misc fixes

This commit is contained in:
hondacrx
2022-06-15 18:27:32 -04:00
parent 9636581ee9
commit 04caa3e757
5 changed files with 18 additions and 166 deletions
+15
View File
@@ -2700,6 +2700,21 @@ namespace Scripts.Spells.Generic
}
}
[Script] // 36553 - PetWait
class spell_gen_pet_wait : SpellScript
{
void HandleScript(uint effIndex)
{
GetCaster().GetMotionMaster().Clear();
GetCaster().GetMotionMaster().MoveIdle();
}
public override void Register()
{
OnEffectHit.Add(new EffectHandler(HandleScript, 0, SpellEffectName.ScriptEffect));
}
}
[Script]
class spell_gen_profession_research : SpellScript
{