Core/BattlePets: Move revive battle pet cooldown to spell script and add serverside spell for stable master heal cooldown

This commit is contained in:
Shauren
2022-10-14 17:12:33 +02:00
parent 277c063413
commit 05f2f4e8f6
6 changed files with 55 additions and 23 deletions
@@ -1203,8 +1203,6 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder const& holder)
pCurrChar->SendInitialPacketsAfterAddToMap();
pCurrChar->UpdateReviveBattlePetCooldown();
CharacterDatabasePreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_UPD_CHAR_ONLINE);
stmt->setUInt64(0, pCurrChar->GetGUID().GetCounter());
CharacterDatabase.Execute(stmt);