chore(scripts/RuinsOfAhnQiraj): cleanup ruins_of_ahnqiraj.h (#12622)
This commit is contained in:
@@ -85,20 +85,13 @@ struct boss_ayamiss : public BossAI
|
||||
{
|
||||
switch (who->GetEntry())
|
||||
{
|
||||
case NPC_SWARMER:
|
||||
case NPC_HIVEZARA_SWARMER:
|
||||
_swarmers.push_back(who->GetGUID());
|
||||
break;
|
||||
case NPC_LARVA:
|
||||
case NPC_HIVEZARA_LARVA:
|
||||
who->GetMotionMaster()->MovePoint(POINT_PARALYZE, AltarPos);
|
||||
break;
|
||||
case NPC_HORNET:
|
||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random))
|
||||
{
|
||||
who->AI()->AttackStart(target);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
summons.Summon(who);
|
||||
}
|
||||
|
||||
@@ -210,7 +203,7 @@ struct boss_ayamiss : public BossAI
|
||||
Position const offset = { 0.0f, 0.0f, 20.0f, 0.0f };
|
||||
Position spawnpos = me->GetRandomPoint(SwarmerPos, 80.0f);
|
||||
spawnpos.RelocateOffset(offset);
|
||||
if (Creature* wasp = me->SummonCreature(NPC_SWARMER, spawnpos, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 5000))
|
||||
if (Creature* wasp = me->SummonCreature(NPC_HIVEZARA_SWARMER, spawnpos, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 5000))
|
||||
{
|
||||
wasp->GetMotionMaster()->MoveRandom(10.0f);
|
||||
}
|
||||
|
||||
@@ -60,9 +60,6 @@ enum Creatures
|
||||
NPC_OSSIRIAN_TRIGGER = 15590,
|
||||
NPC_HATCHLING = 15521,
|
||||
NPC_BURU_EGG = 15514,
|
||||
NPC_LARVA = 15555,
|
||||
NPC_SWARMER = 15546,
|
||||
NPC_HORNET = 15934,
|
||||
|
||||
// Rajaxx
|
||||
NPC_QUUEZ = 15391,
|
||||
|
||||
Reference in New Issue
Block a user