chore (core): Clean up (#15977)

* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
This commit is contained in:
M'Dic
2023-04-16 21:04:56 -04:00
committed by GitHub
parent f3c63f9662
commit 8aa2a2ac0f
9 changed files with 9 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ void WorldSession::HandlePetAction(WorldPacket& recvData)
// xinef: allow to dissmis dead pets
if ((*itr)->GetEntry() == pet->GetEntry() && ((*itr)->IsAlive() || (flag == ACT_COMMAND && spellId == COMMAND_ABANDON)))
controlled.push_back(*itr);
// xinef: mirror image blizzard crappness
// xinef: mirror image blizzard
else if ((*itr)->GetEntry() == NPC_MIRROR_IMAGE && flag == ACT_COMMAND && spellId == COMMAND_FOLLOW)
{
(*itr)->InterruptNonMeleeSpells(false);