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
|
|
@ -1475,6 +1475,7 @@ void Player::UpdatePvP(bool state, bool _override)
|
|||
}
|
||||
|
||||
RemoveFlag(PLAYER_FLAGS, PLAYER_FLAGS_PVP_TIMER);
|
||||
sScriptMgr->OnPlayerPVPFlagChange(this, state);
|
||||
}
|
||||
|
||||
void Player::UpdatePotionCooldown(Spell* spell)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue