fix(Core/CullingOfStratholme): Chromie start (#9898)
This commit is contained in:
+1
-11
@@ -1412,10 +1412,6 @@ class npc_cos_chromie_start : public CreatureScript
|
||||
public:
|
||||
npc_cos_chromie_start() : CreatureScript("npc_cos_chromie_start") { }
|
||||
|
||||
struct npc_cos_chromie_startAI : public ScriptedAI
|
||||
{
|
||||
npc_cos_chromie_startAI(Creature* creature) : ScriptedAI(creature) {}
|
||||
|
||||
bool OnQuestAccept(Player*, Creature* creature, const Quest* pQuest)
|
||||
{
|
||||
if (pQuest->GetQuestId() == QUEST_DISPELLING_ILLUSIONS)
|
||||
@@ -1444,7 +1440,7 @@ public:
|
||||
|
||||
if (!player->HasItemCount(ITEM_ARCANE_DISRUPTOR))
|
||||
{
|
||||
me->CastSpell(player, SPELL_SUMMON_ARCANE_DISRUPTOR);
|
||||
creature->CastSpell(player, SPELL_SUMMON_ARCANE_DISRUPTOR);
|
||||
}
|
||||
}
|
||||
// Skip Event
|
||||
@@ -1469,12 +1465,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetCullingOfStratholmeAI<npc_cos_chromie_startAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
class npc_cos_chromie_middle : public CreatureScript
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user