Scripts/PoS: a7a96d4 followup

we cant despawn all summons since vehicle spawn their passengers as regular summons
ty Aokromes
This commit is contained in:
ccrs
2019-10-24 10:51:27 +02:00
parent 40116f1025
commit fcbcb43b2b

View File

@@ -152,6 +152,14 @@ struct boss_ick : public BossAI
_oldTargetThreat = 0.0f;
}
void JustSummoned(Creature* summon) override
{
if (summon->GetEntry() == NPC_KRICK)
return;
BossAI::JustSummoned(summon);
}
void JustEngagedWith(Unit* /*who*/) override
{
_JustEngagedWith();