mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Remove rank auras from players who are offline after battle of wintergrasp ends.
--HG-- branch : trunk
This commit is contained in:
@@ -806,6 +806,9 @@ void OPvPWintergrasp::EndBattle()
|
||||
REMOVE_RANK_AURAS(*itr);
|
||||
}
|
||||
}
|
||||
|
||||
// remove auras from players who are not online
|
||||
CharacterDatabase.PExecute("DELETE FROM character_aura WHERE spell IN (%u,%u,%u)", SPELL_RECRUIT, SPELL_CORPORAL, SPELL_LIEUTENANT);
|
||||
}
|
||||
|
||||
void OPvPWintergrasp::SetData(uint32 id, uint32 value)
|
||||
|
||||
Reference in New Issue
Block a user