mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2026-01-16 07:10:37 +01:00
feat(Core/Hooks): Added new hook for pvp flag state (#8336)
This commit is contained in:
@@ -1366,6 +1366,11 @@ void ScriptMgr::OnPVPKill(Player* killer, Player* killed)
|
||||
FOREACH_SCRIPT(PlayerScript)->OnPVPKill(killer, killed);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerPVPFlagChange(Player* player, bool state)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnPlayerPVPFlagChange(player, state);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnCreatureKill(Player* killer, Creature* killed)
|
||||
{
|
||||
#ifdef ELUNA
|
||||
|
||||
Reference in New Issue
Block a user