mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -660,7 +660,7 @@ void WorldSession::LogoutPlayer(bool save)
|
||||
guild->HandleMemberLogout(this);
|
||||
|
||||
///- Remove pet
|
||||
_player->RemovePet(nullptr, PET_SAVE_AS_CURRENT, true);
|
||||
_player->RemovePet(nullptr, PET_SAVE_AS_CURRENT);
|
||||
|
||||
// pussywizard: on logout remove auras that are removed at map change (before saving to db)
|
||||
// there are some positive auras from boss encounters that can be kept by logging out and logging in after boss is dead, and may be used on next bosses
|
||||
|
||||
@@ -4547,6 +4547,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->MaxAffectedTargets = 1;
|
||||
});
|
||||
|
||||
// Mulgore Hatchling (periodic)
|
||||
ApplySpellFix({ 62586 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].TriggerSpell = 62585; // Mulgore Hatchling (fear)
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||
{
|
||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||
|
||||
Reference in New Issue
Block a user