feat(Core/Hooks): Added new hook for pvp flag state (#8336)
This commit is contained in:
parent
0769212db5
commit
bcec4191e4
4 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue