Kitzunu
2021-01-10 14:27:55 +01:00
committed by GitHub
parent 7cf097eab2
commit da4edd547d
315 changed files with 3 additions and 729 deletions

View File

@@ -161,7 +161,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_towering_infernal : public CreatureScript
@@ -245,7 +244,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_anetheron()

View File

@@ -168,7 +168,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_lesser_doomguard : public CreatureScript
@@ -265,7 +264,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_azgalor()

View File

@@ -152,7 +152,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class spell_mark_of_kazrogal : public SpellScriptLoader

View File

@@ -148,7 +148,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_rage_winterchill()

View File

@@ -112,7 +112,6 @@ public:
return ai;
}
};
class npc_thrall : public CreatureScript
@@ -193,7 +192,6 @@ public:
return ai;
}
};
class npc_tyrande_whisperwind : public CreatureScript
@@ -239,7 +237,6 @@ public:
SendGossipMenuFor(player, 907, creature->GetGUID());
return true;
}
};
void AddSC_hyjal()

View File

@@ -476,7 +476,6 @@ void hyjalAI::SummonCreature(uint32 entry, float Base[4][3])
default:
creature = me->SummonCreature(entry, SpawnLoc[0], SpawnLoc[1], SpawnLoc[2], 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 120000);
break;
}
if (creature)
@@ -706,7 +705,6 @@ void hyjalAI::UpdateAI(uint32 diff)
HideNearPos(5037.76f, -1889.71f);
for (uint8 i = 0; i < 92; ++i)//summon fires
me->SummonGameObject(GO_ROARING_FLAME, AllianceFirePos[i][0], AllianceFirePos[i][1], AllianceFirePos[i][2], AllianceFirePos[i][3], AllianceFirePos[i][4], AllianceFirePos[i][5], AllianceFirePos[i][6], AllianceFirePos[i][7], 0);
}
else me->SetVisible(true);
break;
@@ -719,7 +717,6 @@ void hyjalAI::UpdateAI(uint32 diff)
HideNearPos(5542.2f, -2629.36f);
for (uint8 i = 0; i < 65; ++i)//summon fires
me->SummonGameObject(GO_ROARING_FLAME, HordeFirePos[i][0], HordeFirePos[i][1], HordeFirePos[i][2], HordeFirePos[i][3], HordeFirePos[i][4], HordeFirePos[i][5], HordeFirePos[i][6], HordeFirePos[i][7], 0);
}
else me->SetVisible(true);
break;

View File

@@ -135,7 +135,6 @@ float AllianceOverrunWP[55][3] = //waypoints in the alliance base used in the en
{5180.41f, -2121.87f, 1292.62f}, //52 garg target3
{5088.68f, -2432.04f, 1441.73f}, //53 garg target4
{5111.26f, -2454.73f, 1449.63f}//54 garg target5
};
float HordeOverrunWP[21][3] = //waypoints in the horde base used in the end in the cleaning wave
@@ -622,7 +621,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_ghoul : public CreatureScript
@@ -723,7 +721,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_necromancer : public CreatureScript
@@ -849,7 +846,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_banshee : public CreatureScript
@@ -953,7 +949,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_crypt_fiend : public CreatureScript
@@ -1041,7 +1036,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_fel_stalker : public CreatureScript
@@ -1129,7 +1123,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_frost_wyrm : public CreatureScript
@@ -1459,7 +1452,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_hyjal_trash()

View File

@@ -275,7 +275,6 @@ public:
SaveToDB();
OUT_SAVE_INST_DATA_COMPLETE;
}
}
uint32 GetData(uint32 type) const override

View File

@@ -139,7 +139,6 @@ public:
Talk(SAY_SLAY);
}
};
};
void AddSC_boss_epoch()

View File

@@ -145,7 +145,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_infinite_corruptor()

View File

@@ -155,7 +155,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_mal_ganis()

View File

@@ -101,7 +101,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_meathook()

View File

@@ -145,7 +145,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class spell_boss_salramm_steal_flesh : public SpellScriptLoader

View File

@@ -647,7 +647,6 @@ public:
SetEscortPaused(true);
eventInRun = true;
break;
}
}
@@ -1427,7 +1426,6 @@ public:
arthas->AI()->Reset();
}
player->NearTeleportTo(LeaderIntroPos2.GetPositionX(), LeaderIntroPos2.GetPositionY(), LeaderIntroPos2.GetPositionZ(), LeaderIntroPos2.GetOrientation());
}
}

View File

@@ -166,7 +166,6 @@ public:
else if (Creature* arthas = instance->GetCreature(_arthasGUID))
Reposition(arthas);
return;
}
if (type == DATA_ARTHAS_EVENT)
@@ -256,7 +255,6 @@ public:
if (instance->IsHeroic() && _infiniteGUID)
if (Creature* cr = instance->GetCreature(_infiniteGUID))
cr->AI()->DoAction(ACTION_RUN_OUT_OF_TIME);
}
else if (div > divAfter)
{

View File

@@ -198,13 +198,11 @@ public:
me->CastSpell(me, SPELL_CONSECRATION, false);
events.ScheduleEvent(EVENT_SPELL_CONSECRATION, 20000);
break;
}
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_captain_skarloc()

View File

@@ -104,7 +104,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_epoch_hunter()

View File

@@ -150,7 +150,6 @@ public:
EventMap events;
Movement::PointsArray pathPoints;
};
};
void AddSC_boss_lieutenant_drake()

View File

@@ -22,7 +22,6 @@ const Position thrallPositions[THRALL_POSITIONS_COUNT] =
{2062.9f, 229.93f, 64.454f, 2.45f}, // After Captain Skarloc death
{2486.91f, 626.356f, 58.0761f, 0.0f}, // Arrived at Tarren Mill
{2660.47f, 659.223f, 62.0f, 5.78f} // Taretha Met
};
class instance_old_hillsbrad : public InstanceMapScript
@@ -339,7 +338,6 @@ public:
EventMap _events;
};
};
void AddSC_instance_old_hillsbrad()

View File

@@ -174,7 +174,6 @@ enum Events
EVENT_THRALL_TALK_6 = 90,
EVENT_THRALL_RUN_AWAY = 91,
EVENT_TARETHA_TALK_2 = 92
};
class npc_thrall_old_hillsbrad : public CreatureScript
@@ -898,7 +897,6 @@ public:
void AttackStart(Unit*) override { }
void MoveInLineOfSight(Unit*) override { }
};
};
void AddSC_old_hillsbrad()

View File

@@ -72,7 +72,6 @@ enum MiscIds
INSTANCE_POSITIONS_COUNT = 3,
THRALL_POSITIONS_COUNT = 5
};
#endif

View File

@@ -339,7 +339,6 @@ public:
protected:
EventMap Events;
};
};
void AddSC_instance_the_black_morass()

View File

@@ -246,7 +246,6 @@ public:
cr->AI()->Talk(SAY_ORCS_ANSWER);
}
break;
}
}

View File

@@ -91,7 +91,6 @@ public:
}
}
break;
}
SaveToDB();

View File

@@ -122,7 +122,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class boss_vem : public CreatureScript
@@ -214,7 +213,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class boss_yauj : public CreatureScript
@@ -326,7 +324,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_bug_trio()

View File

@@ -438,7 +438,6 @@ public:
}
}
};
};
class boss_cthun : public CreatureScript
@@ -891,7 +890,6 @@ public:
}
}
};
};
class npc_eye_tentacle : public CreatureScript
@@ -969,7 +967,6 @@ public:
else MindflayTimer -= diff;
}
};
};
class npc_claw_tentacle : public CreatureScript
@@ -1083,7 +1080,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_giant_claw_tentacle : public CreatureScript
@@ -1207,7 +1203,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_giant_eye_tentacle : public CreatureScript
@@ -1273,7 +1268,6 @@ public:
else BeamTimer -= diff;
}
};
};
class npc_giant_flesh_tentacle : public CreatureScript
@@ -1301,7 +1295,6 @@ public:
summoner->GetAI()->DoAction(ACTION_FLESH_TENTACLE_KILLED);
}
};
};
//GetAIs

View File

@@ -202,7 +202,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_fankriss()

View File

@@ -141,7 +141,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_huhuran()

View File

@@ -131,7 +131,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_ouro()

View File

@@ -68,7 +68,6 @@ public:
AggroReset = false;
Enraged = false;
EnragedHard = false;
}
void EnterCombat(Unit* /*who*/) override
@@ -175,7 +174,6 @@ public:
}
}
};
};
class npc_sartura_royal_guard : public CreatureScript
@@ -296,7 +294,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_sartura()

View File

@@ -452,7 +452,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class boss_veklor : public CreatureScript
@@ -580,7 +579,6 @@ public:
}
}
};
};
void AddSC_boss_twinemperors()

View File

@@ -167,7 +167,6 @@ public:
}
}
};
};
void AddSC_instance_temple_of_ahnqiraj()

View File

@@ -293,7 +293,6 @@ public:
uint8 waveId;
public:
bool _isBrazierExtinguished;
};
CreatureAI* GetAI(Creature* creature) const override

View File

@@ -54,7 +54,6 @@ enum Caravan
NPC_LESSER_INFERNAL = 4676,
NPC_DOOMWARDER = 4677,
NPC_NETHER = 4684,
};
class npc_cork_gizelton : public CreatureScript
@@ -376,7 +375,6 @@ public:
case 282:
events.ScheduleEvent(EVENT_RESTART_ESCORT, 1000);
break;
}
}
@@ -429,7 +427,6 @@ enum DyingKodo
SPELL_KODO_KOMBO_PLAYER_BUFF = 18172,
SPELL_KODO_KOMBO_DESPAWN_BUFF = 18377,
SPELL_KODO_KOMBO_GOSSIP = 18362
};
class npc_aged_dying_ancient_kodo : public CreatureScript
@@ -498,7 +495,6 @@ public:
{
return new npc_aged_dying_ancient_kodoAI(creature);
}
};
/*######

View File

@@ -66,7 +66,6 @@ public:
return true;
}
};
/*######
@@ -107,7 +106,6 @@ public:
return true;
}
};
/*######
@@ -184,7 +182,6 @@ public:
}
}
};
};
/*######
@@ -298,7 +295,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
enum SpellScripts

View File

@@ -54,7 +54,6 @@ public:
SendGossipMenuFor(player, 2433, creature->GetGUID());
return true;
}
};
/*######
@@ -101,7 +100,6 @@ public:
if (npc_escortAI* pEscortAI = CAST_AI(npc_oox22fe::npc_oox22feAI, creature->AI()))
pEscortAI->Start(true, false, player->GetGUID());
}
return true;
}
@@ -168,7 +166,6 @@ public:
summoned->AI()->AttackStart(me);
}
};
};
enum GordunniTrap

View File

@@ -92,7 +92,6 @@ public:
}
return true;
}
};
/*######
@@ -150,7 +149,6 @@ public:
return true;
}
};
/*######
@@ -207,7 +205,6 @@ public:
}
return true;
}
};
/*######
@@ -531,7 +528,6 @@ public:
EventOnWait = false;
break;
}
}
else if (EventOnWait) EventTimer -= diff;
}
@@ -544,7 +540,6 @@ public:
EventOnWait = true;
}
};
};
/*####

View File

@@ -116,7 +116,6 @@ public:
}
}
};
};
/*######

View File

@@ -140,7 +140,6 @@ public:
return true;
}
};
/*####
@@ -384,7 +383,6 @@ static WaveData WavesInfo[5] =
{12, 38, 15414, 0, 0, 24000, 0}, // Qiraji Wasps
{ 6, 50, 15422, 0, 0, 24000, 0}, // Qiraji Tanks
{15, 15, 15423, 0, 0, 24000, 0} // Kaldorei Soldier
};
struct SpawnSpells
@@ -723,7 +721,6 @@ public:
EnterEvadeMode();
}
};
};
/*######
@@ -840,7 +837,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
/*#####
@@ -989,7 +985,6 @@ public:
EnterEvadeMode();
};
};
};
void npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/)
@@ -1002,7 +997,6 @@ void npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/)
if (Creature* mob = ObjectAccessor::GetCreature(*me, MobGUID))
if (npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI* triggerAI = CAST_AI(npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI, mob->AI()))
triggerAI->LiveCounter();
};
/*#####
@@ -1067,7 +1061,6 @@ public:
}
return true;
}
};
/*###

View File

@@ -44,7 +44,6 @@ public:
{
CloseGossipMenuFor(player);
creature->CastSpell(player, 6766, false);
}
if (action == GOSSIP_ACTION_INFO_DEF + 2)
{
@@ -74,7 +73,6 @@ public:
return true;
}
};
/*######
@@ -153,7 +151,6 @@ public:
{
return new npc_kaya_flathoofAI(creature);
}
};
/*######

View File

@@ -136,7 +136,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
/*######
@@ -269,7 +268,6 @@ public:
npc_escortAI::UpdateAI(diff);
}
};
};
/*######
@@ -315,7 +313,6 @@ public:
return true;
}
};
/*######
@@ -379,7 +376,6 @@ public:
return true;
}
};
/*######
@@ -632,7 +628,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_tanaris()

View File

@@ -62,7 +62,6 @@ public:
SendGossipMenuFor(player, 3557, creature->GetGUID());
return true;
}
};
/*######
@@ -160,7 +159,6 @@ public:
}
}
};
};
/*######
@@ -262,7 +260,6 @@ public:
}
}
};
};
/*#####
@@ -485,7 +482,6 @@ public:
}
}
};
};
/*#####
@@ -649,7 +645,6 @@ public:
{
return new npc_wizzlecrank_shredderAI(creature);
}
};
void AddSC_the_barrens()

View File

@@ -114,7 +114,6 @@ public:
me->SummonCreature(NPC_GRIM_BANDIT, BanditLoc[i + AmbushId], TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 60000);
}
};
};
/*######
@@ -310,7 +309,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
enum PantherCage
@@ -368,7 +366,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_thousand_needles()

View File

@@ -735,7 +735,6 @@ public:
default:
return nullptr;
}
}
void UpdateEscortAI(uint32 diff) override