feat(Core/Hook): New PlayerScript hook "OnPetInitStatsForLevel" (#2556)

This commit is contained in:
Stoabrogga 2020-01-14 11:46:16 +01:00 committed by GitHub
parent 0a97359c53
commit dd81c21968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View file

@ -1750,6 +1750,11 @@ bool ScriptMgr::CanJoinInBattlegroundQueue(Player* player, uint64 BattlemasterGu
return ret;
}
void ScriptMgr::OnPetInitStatsForLevel(Pet* pet)
{
FOREACH_SCRIPT(PlayerScript)->OnPetInitStatsForLevel(pet);
}
// Account
void ScriptMgr::OnAccountLogin(uint32 accountId)
{