Some update and fix Glyph of the Monkey

This commit is contained in:
zamalaev 2013-12-21 20:53:26 +04:00 committed by Antz
parent baf1e7dfc3
commit 04786e7ee8
4 changed files with 7 additions and 5 deletions

View file

@ -4595,13 +4595,12 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
// remove death flag + set aura
SetByteValue(UNIT_FIELD_BYTES_1, 3, 0x00);
SetDeathState(ALIVE);
if (getRace() == RACE_NIGHTELF)
RemoveAurasDueToSpell(20584); // speed bonuses
RemoveAurasDueToSpell(8326); // SPELL_AURA_GHOST
SetDeathState(ALIVE);
SetWaterWalk(false);
SetRoot(false);