mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/PoS: a7a96d4 followup
we cant despawn all summons since vehicle spawn their passengers as regular summons ty Aokromes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user