Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (checkTimer <= diff)
- {
- Player* player = me->FindNearestPlayer(100.0f, true);
- if (player && me->IsWithinMeleeRange(player))
- {
- if (!me->HasAura(SPELL_FEIGN_DEATH))
- {
- me->GetMotionMaster()->Clear();
- DoCast(me, SPELL_FEIGN_DEATH, true);
- me->SetStandState(UNIT_STAND_STATE_DEAD);
- checkTimer = 5000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement