function ReleaseCorpse() { ; update death count TotalDeaths:Inc ; reset our fleeing state and target RLG:Set[FALSE] TargetGUID:Set[NOTARGET] ; wait a few seconds then release out spirit wait 30 WoWScript RepopMe() ; wait to give us time to pop in the graveyard wait 50 #ifdef PVPSERVER wait ${Math.Calc[${Math.Rand[5]}*500]} #endif }