feat(Core/Hooks): Added new hook for pvp flag state (#8336)

This commit is contained in:
Nefertumm
2021-10-11 14:40:27 -03:00
committed by GitHub
parent 0769212db5
commit bcec4191e4
4 changed files with 16 additions and 0 deletions

View File

@@ -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)