mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 16:37:03 +00:00
Some update and fix Glyph of the Monkey
This commit is contained in:
parent
baf1e7dfc3
commit
04786e7ee8
4 changed files with 7 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue