<!-- Death Behavior-->
<DisableBehavior Name="Death" />
<CustomBehavior File="Hooks\DoWhen" ActivityName="CustomDeathHook" AllowUseDuringCombat="True" AllowExecutionWhileNotAlive="true" UseWhen="Me.IsDead && Me.IsInInstance" >
<DisableBehavior Name="Combat" />
<CustomBehavior File="Misc\RunLua" Lua="RepopMe();" />
<CustomBehavior File="WaitTimer" WaitTime="50000" TerminateWhen="!Me.IsInInstance" />
<CustomBehavior File="Misc\RunLua" Lua="ResetInstances();" /><!--to prevent shannox pulls -->
<CustomBehavior File="FlyTo" X="3995.476" Y="-2963.385" Z="1008.253" TerminateWhen="Me.IsDead" />
<CustomBehavior File="GoThruPortal" X="3982.845" Y="-2933.84" Z="1002.547" TerminateWhen="Me.IsDead"/>
<CustomBehavior File="WaitTimer" WaitTime="10000" TerminateWhen="Me.IsInInstance" />
<EnableBehavior Name="Combat" />
</CustomBehavior>