Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION

This commit is contained in:
Shauren
2011-08-21 12:42:22 +02:00
parent 3476767eb0
commit 5f6c6d3925
4 changed files with 26 additions and 7 deletions
@@ -57,9 +57,12 @@ void WorldSession::HandleRepopRequestOpcode(WorldPacket & recv_data)
recv_data.read_skip<uint8>();
if (GetPlayer()->isAlive()||GetPlayer()->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
if (GetPlayer()->isAlive() || GetPlayer()->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
return;
if (GetPlayer()->HasAuraType(SPELL_AURA_PREVENT_RESSURECTION))
return; // silently return, client should display the error by itself
// the world update order is sessions, players, creatures
// the netcode runs in parallel with all of these
// creatures can kill players