A great purge of obsolete macros.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-02-05 00:31:28 +01:00
parent b0b261585f
commit a5d1bc77ab
552 changed files with 1147 additions and 1223 deletions
@@ -49,7 +49,7 @@ enum eEnums
MOB_VENGEFUL_SURGE = 2776
};
struct TRINITY_DLL_DECL npc_professor_phizzlethorpeAI : public npc_escortAI
struct npc_professor_phizzlethorpeAI : public npc_escortAI
{
npc_professor_phizzlethorpeAI(Creature *c) : npc_escortAI(c) {}
@@ -119,7 +119,7 @@ enum GrimstoneTexts
};
//TODO: implement quest part of event (different end boss)
struct TRINITY_DLL_DECL npc_grimstoneAI : public npc_escortAI
struct npc_grimstoneAI : public npc_escortAI
{
npc_grimstoneAI(Creature *c) : npc_escortAI(c)
{
@@ -352,7 +352,7 @@ enum PhalanxSpells
SPELL_MIGHTYBLOW = 14099
};
struct TRINITY_DLL_DECL mob_phalanxAI : public ScriptedAI
struct mob_phalanxAI : public ScriptedAI
{
mob_phalanxAI(Creature *c) : ScriptedAI(c) {}
@@ -566,7 +566,7 @@ enum DughalQuests
#define GOSSIP_DUGHAL "You're free, Dughal! Get out of here!"
/*
struct TRINITY_DLL_DECL npc_dughal_stormwingAI : public npc_escortAI
struct npc_dughal_stormwingAI : public npc_escortAI
{
npc_dughal_stormwingAI(Creature *c) : npc_escortAI(c) {}
@@ -666,7 +666,7 @@ bool GossipSelect_npc_dughal_stormwing(Player* pPlayer, Creature* pCreature, uin
Player* pPlayerStart;
/*
struct TRINITY_DLL_DECL npc_marshal_windsorAI : public npc_escortAI
struct npc_marshal_windsorAI : public npc_escortAI
{
npc_marshal_windsorAI(Creature *c) : npc_escortAI(c)
{
@@ -831,7 +831,7 @@ bool QuestAccept_npc_marshal_windsor(Player* pPlayer, Creature* pCreature, Quest
int wp = 0;
/*
struct TRINITY_DLL_DECL npc_marshal_reginald_windsorAI : public npc_escortAI
struct npc_marshal_reginald_windsorAI : public npc_escortAI
{
npc_marshal_reginald_windsorAI(Creature *c) : npc_escortAI(c)
{
@@ -1026,7 +1026,7 @@ CreatureAI* GetAI_npc_marshal_reginald_windsor(Creature* pCreature)
#define SAY_TOBIAS_FREE "Thank you! I will run for safety immediately!"
/*
struct TRINITY_DLL_DECL npc_tobias_seecherAI : public npc_escortAI
struct npc_tobias_seecherAI : public npc_escortAI
{
npc_tobias_seecherAI(Creature *c) :npc_escortAI(c) {}
@@ -1134,7 +1134,7 @@ enum RocknotQuests
QUEST_ALE = 4295
};
struct TRINITY_DLL_DECL npc_rocknotAI : public npc_escortAI
struct npc_rocknotAI : public npc_escortAI
{
npc_rocknotAI(Creature *c) : npc_escortAI(c)
{
@@ -28,7 +28,7 @@ enum Spells
SPELL_FIREBLAST = 15573
};
struct TRINITY_DLL_DECL boss_ambassador_flamelashAI : public ScriptedAI
struct boss_ambassador_flamelashAI : public ScriptedAI
{
boss_ambassador_flamelashAI(Creature *c) : ScriptedAI(c) {}
@@ -32,7 +32,7 @@ enum Spells
SPELL_ENVELOPINGWEB = 15471
};
struct TRINITY_DLL_DECL boss_anubshiahAI : public ScriptedAI
struct boss_anubshiahAI : public ScriptedAI
{
boss_anubshiahAI(Creature *c) : ScriptedAI(c) {}
@@ -35,7 +35,7 @@ enum Spells
SPELL_AVATAROFFLAME = 15636
};
struct TRINITY_DLL_DECL boss_draganthaurissanAI : public ScriptedAI
struct boss_draganthaurissanAI : public ScriptedAI
{
boss_draganthaurissanAI(Creature *c) : ScriptedAI(c) {}
@@ -30,7 +30,7 @@ enum Spells
SPELL_CLEAVE = 20691
};
struct TRINITY_DLL_DECL boss_general_angerforgeAI : public ScriptedAI
struct boss_general_angerforgeAI : public ScriptedAI
{
boss_general_angerforgeAI(Creature *c) : ScriptedAI(c) {}
@@ -29,7 +29,7 @@ enum Spells
SPELL_MORTALSTRIKE = 24573
};
struct TRINITY_DLL_DECL boss_gorosh_the_dervishAI : public ScriptedAI
struct boss_gorosh_the_dervishAI : public ScriptedAI
{
boss_gorosh_the_dervishAI(Creature *c) : ScriptedAI(c) {}
@@ -34,7 +34,7 @@ enum Spells
SPELL_FRENZY = 28371
};
struct TRINITY_DLL_DECL boss_grizzleAI : public ScriptedAI
struct boss_grizzleAI : public ScriptedAI
{
boss_grizzleAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ enum Spells
SPELL_SHADOWSHIELD = 22417
};
struct TRINITY_DLL_DECL boss_high_interrogator_gerstahnAI : public ScriptedAI
struct boss_high_interrogator_gerstahnAI : public ScriptedAI
{
boss_high_interrogator_gerstahnAI(Creature *c) : ScriptedAI(c) {}
@@ -29,7 +29,7 @@ enum Spells
SPELL_WARSTOMP = 24375
};
struct TRINITY_DLL_DECL boss_magmusAI : public ScriptedAI
struct boss_magmusAI : public ScriptedAI
{
boss_magmusAI(Creature *c) : ScriptedAI(c) {}
@@ -33,7 +33,7 @@ enum Spells
SPELL_SMITE = 10934
};
struct TRINITY_DLL_DECL boss_moira_bronzebeardAI : public ScriptedAI
struct boss_moira_bronzebeardAI : public ScriptedAI
{
boss_moira_bronzebeardAI(Creature *c) : ScriptedAI(c) {}
@@ -94,7 +94,7 @@ enum DoomrelSpells
SPELL_SUMMON_VOIDWALKERS = 15092
};
struct TRINITY_DLL_DECL boss_doomrelAI : public ScriptedAI
struct boss_doomrelAI : public ScriptedAI
{
boss_doomrelAI(Creature *c) : ScriptedAI(c)
{
@@ -70,7 +70,7 @@ enum eEnums
GO_CHEST_SEVEN = 169243
};
struct TRINITY_DLL_DECL instance_blackrock_depths : public ScriptedInstance
struct instance_blackrock_depths : public ScriptedInstance
{
instance_blackrock_depths(Map* pMap) : ScriptedInstance(pMap) {Initialize();};
@@ -28,7 +28,7 @@ EndScriptData */
#define SPELL_CONFLIGURATION 16805
#define SPELL_THUNDERCLAP 15548 //Not sure if right ID. 23931 would be a harder possibility.
struct TRINITY_DLL_DECL boss_drakkisathAI : public ScriptedAI
struct boss_drakkisathAI : public ScriptedAI
{
boss_drakkisathAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_FREEZE 18763
#define SPELL_FLAMEBREATH 20712
struct TRINITY_DLL_DECL boss_gythAI : public ScriptedAI
struct boss_gythAI : public ScriptedAI
{
boss_gythAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ EndScriptData */
#define ADD_1Z 64.401443
#define ADD_1O 3.124724
struct TRINITY_DLL_DECL boss_halyconAI : public ScriptedAI
struct boss_halyconAI : public ScriptedAI
{
boss_halyconAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ EndScriptData */
#define SPELL_KNOCKAWAY 20686
#define SPELL_SLOW 22356
struct TRINITY_DLL_DECL boss_highlordomokkAI : public ScriptedAI
struct boss_highlordomokkAI : public ScriptedAI
{
boss_highlordomokkAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_MOTHERSMILK 16468
#define SPELL_SUMMON_SPIRE_SPIDERLING 16103
struct TRINITY_DLL_DECL boss_mothersmolderwebAI : public ScriptedAI
struct boss_mothersmolderwebAI : public ScriptedAI
{
boss_mothersmolderwebAI(Creature *c) : ScriptedAI(c) {}
@@ -38,7 +38,7 @@ EndScriptData */
#define ADD_2Z 88.195160
#define ADD_2O 4.613114
struct TRINITY_DLL_DECL boss_overlordwyrmthalakAI : public ScriptedAI
struct boss_overlordwyrmthalakAI : public ScriptedAI
{
boss_overlordwyrmthalakAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_FLAMEBUFFET 23341
#define SPELL_PYROBLAST 17274
struct TRINITY_DLL_DECL boss_pyroguard_emberseerAI : public ScriptedAI
struct boss_pyroguard_emberseerAI : public ScriptedAI
{
boss_pyroguard_emberseerAI(Creature *c) : ScriptedAI(c) {}
@@ -28,7 +28,7 @@ EndScriptData */
#define SPELL_HEALING_POTION 15504
#define SPELL_HOOKEDNET 15609
struct TRINITY_DLL_DECL boss_quatermasterzigrisAI : public ScriptedAI
struct boss_quatermasterzigrisAI : public ScriptedAI
{
boss_quatermasterzigrisAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_CLEAVE 20691
#define SPELL_THUNDERCLAP 23931 //Not sure if he cast this spell
struct TRINITY_DLL_DECL boss_rend_blackhandAI : public ScriptedAI
struct boss_rend_blackhandAI : public ScriptedAI
{
boss_rend_blackhandAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_HEX 16708
#define SPELL_CLEAVE 20691
struct TRINITY_DLL_DECL boss_shadowvoshAI : public ScriptedAI
struct boss_shadowvoshAI : public ScriptedAI
{
boss_shadowvoshAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_IMMOLATE 20294
#define SPELL_TERRIFYINGROAR 14100
struct TRINITY_DLL_DECL boss_thebeastAI : public ScriptedAI
struct boss_thebeastAI : public ScriptedAI
{
boss_thebeastAI(Creature *c) : ScriptedAI(c) {}
@@ -30,7 +30,7 @@ EndScriptData */
#define SPELL_PUMMEL 15615
#define SPELL_THROWAXE 16075
struct TRINITY_DLL_DECL boss_warmastervooneAI : public ScriptedAI
struct boss_warmastervooneAI : public ScriptedAI
{
boss_warmastervooneAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ EndScriptData */
#define SPELL_MORTALSTRIKE 24573
#define SPELL_KNOCKBACK 25778
struct TRINITY_DLL_DECL boss_broodlordAI : public ScriptedAI
struct boss_broodlordAI : public ScriptedAI
{
boss_broodlordAI(Creature *c) : ScriptedAI(c) {}
@@ -57,7 +57,7 @@ enum Spells
SPELL_ENRAGE = 28747
};
struct TRINITY_DLL_DECL boss_chromaggusAI : public ScriptedAI
struct boss_chromaggusAI : public ScriptedAI
{
boss_chromaggusAI(Creature *c) : ScriptedAI(c)
{
@@ -28,7 +28,7 @@ EndScriptData */
#define SPELL_SHADOWOFEBONROC 23340
#define SPELL_HEAL 41386 //Thea Heal spell of his Shadow
struct TRINITY_DLL_DECL boss_ebonrocAI : public ScriptedAI
struct boss_ebonrocAI : public ScriptedAI
{
boss_ebonrocAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_WINGBUFFET 23339
#define SPELL_FLAMEBUFFET 23341
struct TRINITY_DLL_DECL boss_firemawAI : public ScriptedAI
struct boss_firemawAI : public ScriptedAI
{
boss_firemawAI(Creature *c) : ScriptedAI(c) {}
@@ -29,7 +29,7 @@ EndScriptData */
#define SPELL_WINGBUFFET 23339
#define SPELL_FRENZY 23342 //This spell periodically triggers fire nova
struct TRINITY_DLL_DECL boss_flamegorAI : public ScriptedAI
struct boss_flamegorAI : public ScriptedAI
{
boss_flamegorAI(Creature *c) : ScriptedAI(c) {}
@@ -58,7 +58,7 @@ EndScriptData */
#define SPELL_HUNTER 23436 //bow broke
#define SPELL_ROGUE 23414 //Paralise
struct TRINITY_DLL_DECL boss_nefarianAI : public ScriptedAI
struct boss_nefarianAI : public ScriptedAI
{
boss_nefarianAI(Creature *c) : ScriptedAI(c) {}
@@ -35,7 +35,7 @@ EndScriptData */
#define SPELL_FIREBALLVOLLEY 22425
#define SPELL_CONFLAGRATION 23023
struct TRINITY_DLL_DECL boss_razorgoreAI : public ScriptedAI
struct boss_razorgoreAI : public ScriptedAI
{
boss_razorgoreAI(Creature *c) : ScriptedAI(c) {}
@@ -38,7 +38,7 @@ EndScriptData */
#define SPELL_BURNINGADRENALINE 23620
#define SPELL_CLEAVE 20684 //Chain cleave is most likely named something different and contains a dummy effect
struct TRINITY_DLL_DECL boss_vaelAI : public ScriptedAI
struct boss_vaelAI : public ScriptedAI
{
boss_vaelAI(Creature *c) : ScriptedAI(c)
{
@@ -67,7 +67,7 @@ EndScriptData */
//If nefarian dies then he will kill himself then he will kill himself in his hiding place
//To prevent players from doing the event twice
struct TRINITY_DLL_DECL boss_victor_nefariusAI : public ScriptedAI
struct boss_victor_nefariusAI : public ScriptedAI
{
boss_victor_nefariusAI(Creature *c) : ScriptedAI(c)
{
+1 -1
View File
@@ -31,7 +31,7 @@ EndScriptData */
#define SPELL_RAGE 21340
#define SPELL_CAPTURESOUL 21054
struct TRINITY_DLL_DECL boss_kruulAI : public ScriptedAI
struct boss_kruulAI : public ScriptedAI
{
boss_kruulAI(Creature *c) : ScriptedAI(c) {}
@@ -44,7 +44,7 @@ EndContentData */
#define GOSSIP_SELECT10 "Ahh... Ironfoe"
#define GOSSIP_SELECT11 "Thanks, Ragged John. Your story was very uplifting and informative"
struct TRINITY_DLL_DECL npc_ragged_johnAI : public ScriptedAI
struct npc_ragged_johnAI : public ScriptedAI
{
npc_ragged_johnAI(Creature *c) : ScriptedAI(c) {}
@@ -38,7 +38,7 @@ enum eSpels
SAY_AGGRO = -1036001
};
struct TRINITY_DLL_DECL boss_mr_smiteAI : public ScriptedAI
struct boss_mr_smiteAI : public ScriptedAI
{
boss_mr_smiteAI(Creature* pCreature) : ScriptedAI(pCreature)
{
@@ -41,7 +41,7 @@ enum Misc
DATA_PIRATES_DELAY_TIMER = 1000
};
struct TRINITY_DLL_DECL instance_deadmines : public ScriptedInstance
struct instance_deadmines : public ScriptedInstance
{
instance_deadmines(Map* pMap) : ScriptedInstance(pMap) { Initialize(); };
+1 -1
View File
@@ -34,7 +34,7 @@ EndContentData */
// signed for 6172
#define SAY_HEAL -1000280
struct TRINITY_DLL_DECL npc_narm_faulkAI : public ScriptedAI
struct npc_narm_faulkAI : public ScriptedAI
{
uint32 lifeTimer;
bool spellHit;
+1 -1
View File
@@ -54,7 +54,7 @@ bool AreaTrigger_at_twilight_grove(Player* pPlayer, const AreaTriggerEntry *at)
#define SPELL_CREATURE_OF_NIGHTMARE 25806
#define SPELL_LEVEL_UP 24312
struct TRINITY_DLL_DECL boss_twilight_corrupterAI : public ScriptedAI
struct boss_twilight_corrupterAI : public ScriptedAI
{
boss_twilight_corrupterAI(Creature *c) : ScriptedAI(c) {}
@@ -34,7 +34,7 @@ EndContentData */
//id8531 - gibbering ghoul
//id8532 - diseased flayer
struct TRINITY_DLL_DECL mobs_ghoul_flayerAI : public ScriptedAI
struct mobs_ghoul_flayerAI : public ScriptedAI
{
mobs_ghoul_flayerAI(Creature *c) : ScriptedAI(c) {}
@@ -83,7 +83,7 @@ bool GossipSelect_npc_augustus_the_touched(Player* pPlayer, Creature* pCreature,
#define SPELL_SPIRIT_SPAWNIN 17321
struct TRINITY_DLL_DECL npc_darrowshire_spiritAI : public ScriptedAI
struct npc_darrowshire_spiritAI : public ScriptedAI
{
npc_darrowshire_spiritAI(Creature *c) : ScriptedAI(c) {}
@@ -33,7 +33,7 @@ EndContentData */
#define SAY_HEAL -1000280
struct TRINITY_DLL_DECL npc_henze_faulkAI : public ScriptedAI
struct npc_henze_faulkAI : public ScriptedAI
{
uint32 lifeTimer;
bool spellHit;
@@ -44,7 +44,7 @@ EndContentData */
#define QUEST_THE_DWARVEN_SPY 8483
struct TRINITY_DLL_DECL npc_prospector_anvilwardAI : public npc_escortAI
struct npc_prospector_anvilwardAI : public npc_escortAI
{
// CreatureAI functions
npc_prospector_anvilwardAI(Creature *c) : npc_escortAI(c) {}
@@ -164,7 +164,7 @@ static uint32 PaladinEntry[] = {CHAMPION_BLOODWRATH, CHAMPION_LIGHTREND, CHAMPIO
## npc_second_trial_paladin
######*/
struct TRINITY_DLL_DECL npc_secondTrialAI : public ScriptedAI
struct npc_secondTrialAI : public ScriptedAI
{
npc_secondTrialAI(Creature *c) : ScriptedAI(c) {}
@@ -296,7 +296,7 @@ struct TRINITY_DLL_DECL npc_secondTrialAI : public ScriptedAI
## npc_second_trial_controller
######*/
struct TRINITY_DLL_DECL master_kelerun_bloodmournAI : public ScriptedAI
struct master_kelerun_bloodmournAI : public ScriptedAI
{
master_kelerun_bloodmournAI(Creature *c) : ScriptedAI(c) {}
@@ -496,7 +496,7 @@ bool GOHello_go_second_trial(Player* pPlayer, GameObject* pGO)
#define MOB_GHARZUL 15958
#define MOB_ANGERSHADE 15656
struct TRINITY_DLL_DECL npc_apprentice_mirvedaAI : public ScriptedAI
struct npc_apprentice_mirvedaAI : public ScriptedAI
{
npc_apprentice_mirvedaAI(Creature* c) : ScriptedAI(c), Summons(m_creature) {}
@@ -590,7 +590,7 @@ static Location SpawnLocations[] =
{8267.97, -7239.17, 139.517}
};
struct TRINITY_DLL_DECL npc_infused_crystalAI : public Scripted_NoMovementAI
struct npc_infused_crystalAI : public Scripted_NoMovementAI
{
npc_infused_crystalAI(Creature* c) : Scripted_NoMovementAI(c) {}
+1 -1
View File
@@ -151,7 +151,7 @@ enum eEnums
FACTION_SMOON_E = 1603,
};
struct TRINITY_DLL_DECL npc_ranger_lilathaAI : public npc_escortAI
struct npc_ranger_lilathaAI : public npc_escortAI
{
npc_ranger_lilathaAI(Creature *c) : npc_escortAI(c) {}
@@ -86,7 +86,7 @@ const Position SpawnPosition[] =
{-494.195,-89.553,-149.131,3.254}
};
struct TRINITY_DLL_DECL npc_blastmaster_emi_shortfuseAI : public npc_escortAI
struct npc_blastmaster_emi_shortfuseAI : public npc_escortAI
{
npc_blastmaster_emi_shortfuseAI(Creature* pCreature) : npc_escortAI(pCreature)
{
@@ -536,7 +536,7 @@ bool GossipSelect_npc_blastmaster_emi_shortfuse(Player* pPlayer, Creature* pCrea
return true;
}
struct TRINITY_DLL_DECL boss_grubbisAI : public ScriptedAI
struct boss_grubbisAI : public ScriptedAI
{
boss_grubbisAI(Creature* pCreature) : ScriptedAI(pCreature)
{
@@ -21,7 +21,7 @@
#define MAX_ENCOUNTER 1
struct TRINITY_DLL_DECL instance_gnomeregan : public ScriptedInstance
struct instance_gnomeregan : public ScriptedInstance
{
instance_gnomeregan(Map* pMap) : ScriptedInstance(pMap)
{
+2 -2
View File
@@ -50,7 +50,7 @@ enum eOOX
FACTION_ESCORTEE_H = 775
};
struct TRINITY_DLL_DECL npc_00x09hlAI : public npc_escortAI
struct npc_00x09hlAI : public npc_escortAI
{
npc_00x09hlAI(Creature* pCreature) : npc_escortAI(pCreature) { }
@@ -177,7 +177,7 @@ Location m_afAmbushMoveTo[] =
{70.886589, -2874.335449, 116.675}
};
struct TRINITY_DLL_DECL npc_rinjiAI : public npc_escortAI
struct npc_rinjiAI : public npc_escortAI
{
npc_rinjiAI(Creature* pCreature) : npc_escortAI(pCreature)
{
@@ -37,7 +37,7 @@ EndContentData */
#define SPELL_CONVERT_CREDIT 45009
struct TRINITY_DLL_DECL npc_converted_sentryAI : public ScriptedAI
struct npc_converted_sentryAI : public ScriptedAI
{
npc_converted_sentryAI(Creature *c) : ScriptedAI(c) {}
@@ -89,7 +89,7 @@ CreatureAI* GetAI_npc_converted_sentry(Creature* pCreature)
#define QUESTG 11541
#define DM 25060
struct TRINITY_DLL_DECL npc_greengill_slaveAI : public ScriptedAI
struct npc_greengill_slaveAI : public ScriptedAI
{
npc_greengill_slaveAI(Creature* c) : ScriptedAI(c) {}
@@ -41,7 +41,7 @@ EndScriptData */
#define SPELL_ENRAGE 30403 //Arcane Infusion: Transforms Curator and adds damage.
#define SPELL_BERSERK 26662
struct TRINITY_DLL_DECL boss_curatorAI : public ScriptedAI
struct boss_curatorAI : public ScriptedAI
{
boss_curatorAI(Creature *c) : ScriptedAI(c) {}
@@ -37,7 +37,7 @@ EndScriptData */
#define SPELL_HOLYGROUND 29512
#define SPELL_BERSERK 26662
struct TRINITY_DLL_DECL boss_maiden_of_virtueAI : public ScriptedAI
struct boss_maiden_of_virtueAI : public ScriptedAI
{
boss_maiden_of_virtueAI(Creature *c) : ScriptedAI(c) {}
@@ -44,7 +44,7 @@ EndScriptData */
//Attumen (TODO: Use the summoning spell instead of Creature id. It works , but is not convenient for us)
#define SUMMON_ATTUMEN 15550
struct TRINITY_DLL_DECL boss_midnightAI : public ScriptedAI
struct boss_midnightAI : public ScriptedAI
{
boss_midnightAI(Creature *c) : ScriptedAI(c) {}
@@ -155,7 +155,7 @@ CreatureAI* GetAI_boss_midnight(Creature* pCreature)
return new boss_midnightAI(pCreature);
}
struct TRINITY_DLL_DECL boss_attumenAI : public ScriptedAI
struct boss_attumenAI : public ScriptedAI
{
boss_attumenAI(Creature *c) : ScriptedAI(c)
{
@@ -58,7 +58,7 @@ const uint32 Adds[6]=
19876,
};
struct TRINITY_DLL_DECL boss_moroesAI : public ScriptedAI
struct boss_moroesAI : public ScriptedAI
{
boss_moroesAI(Creature *c) : ScriptedAI(c)
{
@@ -302,7 +302,7 @@ struct TRINITY_DLL_DECL boss_moroesAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_moroes_guestAI : public ScriptedAI
struct boss_moroes_guestAI : public ScriptedAI
{
ScriptedInstance* pInstance;
@@ -367,7 +367,7 @@ struct TRINITY_DLL_DECL boss_moroes_guestAI : public ScriptedAI
#define SPELL_SWPAIN 34441
#define SPELL_SHADOWFORM 29406
struct TRINITY_DLL_DECL boss_baroness_dorothea_millstipeAI : public boss_moroes_guestAI
struct boss_baroness_dorothea_millstipeAI : public boss_moroes_guestAI
{
//Shadow Priest
boss_baroness_dorothea_millstipeAI(Creature *c) : boss_moroes_guestAI(c) {}
@@ -423,7 +423,7 @@ struct TRINITY_DLL_DECL boss_baroness_dorothea_millstipeAI : public boss_moroes_
#define SPELL_JUDGEMENTOFCOMMAND 29386
#define SPELL_SEALOFCOMMAND 29385
struct TRINITY_DLL_DECL boss_baron_rafe_dreugerAI : public boss_moroes_guestAI
struct boss_baron_rafe_dreugerAI : public boss_moroes_guestAI
{
//Retr Pally
boss_baron_rafe_dreugerAI(Creature *c) : boss_moroes_guestAI(c){}
@@ -474,7 +474,7 @@ struct TRINITY_DLL_DECL boss_baron_rafe_dreugerAI : public boss_moroes_guestAI
#define SPELL_HOLYFIRE 29563
#define SPELL_PWSHIELD 29408
struct TRINITY_DLL_DECL boss_lady_catriona_von_indiAI : public boss_moroes_guestAI
struct boss_lady_catriona_von_indiAI : public boss_moroes_guestAI
{
//Holy Priest
boss_lady_catriona_von_indiAI(Creature *c) : boss_moroes_guestAI(c) {}
@@ -538,7 +538,7 @@ struct TRINITY_DLL_DECL boss_lady_catriona_von_indiAI : public boss_moroes_guest
#define SPELL_HOLYLIGHT 29562 //Self or other guest+Moroes
#define SPELL_DIVINESHIELD 41367
struct TRINITY_DLL_DECL boss_lady_keira_berrybuckAI : public boss_moroes_guestAI
struct boss_lady_keira_berrybuckAI : public boss_moroes_guestAI
{
//Holy Pally
boss_lady_keira_berrybuckAI(Creature *c) : boss_moroes_guestAI(c) {}
@@ -605,7 +605,7 @@ struct TRINITY_DLL_DECL boss_lady_keira_berrybuckAI : public boss_moroes_guestAI
#define SPELL_MORTALSTRIKE 29572
#define SPELL_WHIRLWIND 29573
struct TRINITY_DLL_DECL boss_lord_robin_darisAI : public boss_moroes_guestAI
struct boss_lord_robin_darisAI : public boss_moroes_guestAI
{
//Arms Warr
boss_lord_robin_darisAI(Creature *c) : boss_moroes_guestAI(c) {}
@@ -655,7 +655,7 @@ struct TRINITY_DLL_DECL boss_lord_robin_darisAI : public boss_moroes_guestAI
#define SPELL_SHIELDBASH 11972
#define SPELL_SHIELDWALL 29390
struct TRINITY_DLL_DECL boss_lord_crispin_ferenceAI : public boss_moroes_guestAI
struct boss_lord_crispin_ferenceAI : public boss_moroes_guestAI
{
//Arms Warr
boss_lord_crispin_ferenceAI(Creature *c) : boss_moroes_guestAI(c) {}
@@ -56,7 +56,7 @@ const uint32 PlayerBuff[3] = {30421,30422,30423};
const uint32 NetherBuff[3] = {30466,30467,30468};
const uint32 PlayerDebuff[3] = {38637,38638,38639};
struct TRINITY_DLL_DECL boss_netherspiteAI : public ScriptedAI
struct boss_netherspiteAI : public ScriptedAI
{
boss_netherspiteAI(Creature* c) : ScriptedAI(c)
{
@@ -56,7 +56,7 @@ float IntroWay[8][3] =
{-11163 , -1903 ,91.473}
};
struct TRINITY_DLL_DECL boss_nightbaneAI : public ScriptedAI
struct boss_nightbaneAI : public ScriptedAI
{
boss_nightbaneAI(Creature* c) : ScriptedAI(c)
{
@@ -94,7 +94,7 @@ static InfernalPoint InfernalPoints[] =
#define EQUIP_ID_AXE 33542 //Axes info
//---------Infernal code first
struct TRINITY_DLL_DECL netherspite_infernalAI : public ScriptedAI
struct netherspite_infernalAI : public ScriptedAI
{
netherspite_infernalAI(Creature *c) : ScriptedAI(c) ,
malchezaar(0), HellfireTimer(0), CleanupTimer(0), point(NULL) {}
@@ -153,7 +153,7 @@ struct TRINITY_DLL_DECL netherspite_infernalAI : public ScriptedAI
void Cleanup(); //below ...
};
struct TRINITY_DLL_DECL boss_malchezaarAI : public ScriptedAI
struct boss_malchezaarAI : public ScriptedAI
{
boss_malchezaarAI(Creature *c) : ScriptedAI(c)
{
@@ -79,7 +79,7 @@ enum SuperSpell
SUPER_AE,
};
struct TRINITY_DLL_DECL boss_aranAI : public ScriptedAI
struct boss_aranAI : public ScriptedAI
{
boss_aranAI(Creature *c) : ScriptedAI(c)
{
@@ -495,7 +495,7 @@ struct TRINITY_DLL_DECL boss_aranAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL water_elementalAI : public ScriptedAI
struct water_elementalAI : public ScriptedAI
{
water_elementalAI(Creature *c) : ScriptedAI(c) {}
@@ -54,7 +54,7 @@ EndScriptData */
#define CREATURE_PORTAL 17265
#define CREATURE_KILREK 17229
struct TRINITY_DLL_DECL mob_kilrekAI : public ScriptedAI
struct mob_kilrekAI : public ScriptedAI
{
mob_kilrekAI(Creature *c) : ScriptedAI(c)
{
@@ -114,7 +114,7 @@ struct TRINITY_DLL_DECL mob_kilrekAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_demon_chainAI : public ScriptedAI
struct mob_demon_chainAI : public ScriptedAI
{
mob_demon_chainAI(Creature *c) : ScriptedAI(c) {}
@@ -140,7 +140,7 @@ struct TRINITY_DLL_DECL mob_demon_chainAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_fiendish_portalAI : public PassiveAI
struct mob_fiendish_portalAI : public PassiveAI
{
mob_fiendish_portalAI(Creature *c) : PassiveAI(c),summons(m_creature){}
@@ -163,7 +163,7 @@ struct TRINITY_DLL_DECL mob_fiendish_portalAI : public PassiveAI
}
};
struct TRINITY_DLL_DECL boss_terestianAI : public ScriptedAI
struct boss_terestianAI : public ScriptedAI
{
boss_terestianAI(Creature *c) : ScriptedAI(c)
{
@@ -330,7 +330,7 @@ struct TRINITY_DLL_DECL boss_terestianAI : public ScriptedAI
#define SPELL_FIREBOLT 30050 // Blasts a target for 181-209 Fire damage.
struct TRINITY_DLL_DECL mob_fiendish_impAI : public ScriptedAI
struct mob_fiendish_impAI : public ScriptedAI
{
mob_fiendish_impAI(Creature *c) : ScriptedAI(c) {}
@@ -100,7 +100,7 @@ void SummonCroneIfReady(ScriptedInstance* pInstance, Creature* pCreature)
}
};
struct TRINITY_DLL_DECL boss_dorotheeAI : public ScriptedAI
struct boss_dorotheeAI : public ScriptedAI
{
boss_dorotheeAI(Creature* c) : ScriptedAI(c)
{
@@ -203,7 +203,7 @@ struct TRINITY_DLL_DECL boss_dorotheeAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_titoAI : public ScriptedAI
struct mob_titoAI : public ScriptedAI
{
mob_titoAI(Creature* c) : ScriptedAI(c) {}
@@ -258,7 +258,7 @@ void boss_dorotheeAI::SummonTito()
}
}
struct TRINITY_DLL_DECL boss_strawmanAI : public ScriptedAI
struct boss_strawmanAI : public ScriptedAI
{
boss_strawmanAI(Creature* c) : ScriptedAI(c)
{
@@ -361,7 +361,7 @@ struct TRINITY_DLL_DECL boss_strawmanAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_tinheadAI : public ScriptedAI
struct boss_tinheadAI : public ScriptedAI
{
boss_tinheadAI(Creature* c) : ScriptedAI(c)
{
@@ -459,7 +459,7 @@ struct TRINITY_DLL_DECL boss_tinheadAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_roarAI : public ScriptedAI
struct boss_roarAI : public ScriptedAI
{
boss_roarAI(Creature* c) : ScriptedAI(c)
{
@@ -556,7 +556,7 @@ struct TRINITY_DLL_DECL boss_roarAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_croneAI : public ScriptedAI
struct boss_croneAI : public ScriptedAI
{
boss_croneAI(Creature* c) : ScriptedAI(c)
{
@@ -626,7 +626,7 @@ struct TRINITY_DLL_DECL boss_croneAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_cycloneAI : public ScriptedAI
struct mob_cycloneAI : public ScriptedAI
{
mob_cycloneAI(Creature* c) : ScriptedAI(c) {}
@@ -734,7 +734,7 @@ bool GossipSelect_npc_grandmother(Player* pPlayer, Creature* pCreature, uint32 u
return true;
}
struct TRINITY_DLL_DECL boss_bigbadwolfAI : public ScriptedAI
struct boss_bigbadwolfAI : public ScriptedAI
{
boss_bigbadwolfAI(Creature* c) : ScriptedAI(c)
{
@@ -926,7 +926,7 @@ void Resurrect(Creature *pTarget)
pTarget->GetMotionMaster()->Initialize();
};
struct TRINITY_DLL_DECL boss_julianneAI : public ScriptedAI
struct boss_julianneAI : public ScriptedAI
{
boss_julianneAI(Creature* c) : ScriptedAI(c)
{
@@ -1037,7 +1037,7 @@ struct TRINITY_DLL_DECL boss_julianneAI : public ScriptedAI
void UpdateAI(const uint32 diff);
};
struct TRINITY_DLL_DECL boss_romuloAI : public ScriptedAI
struct boss_romuloAI : public ScriptedAI
{
boss_romuloAI(Creature* c) : ScriptedAI(c)
{
@@ -41,7 +41,7 @@ EndScriptData */
11 - Nightbane
*/
struct TRINITY_DLL_DECL instance_karazhan : public ScriptedInstance
struct instance_karazhan : public ScriptedInstance
{
instance_karazhan(Map* pMap) : ScriptedInstance(pMap) {Initialize();}
@@ -100,7 +100,7 @@ float Spawns[6][2]=
#define SPAWN_Y -1758
#define SPAWN_O 4.738
struct TRINITY_DLL_DECL npc_barnesAI : public npc_escortAI
struct npc_barnesAI : public npc_escortAI
{
npc_barnesAI(Creature* c) : npc_escortAI(c)
{
@@ -444,7 +444,7 @@ bool GossipSelect_npc_berthold(Player* pPlayer, Creature* pCreature, uint32 uiSe
static float MedivPos[4] = {-11161.49,-1902.24,91.48,1.94};
static float ArcanagosPos[4] = {-11169.75,-1881.48,95.39,4.83};
struct TRINITY_DLL_DECL npc_image_of_medivhAI : public ScriptedAI
struct npc_image_of_medivhAI : public ScriptedAI
{
npc_image_of_medivhAI(Creature* c) : ScriptedAI(c)
{
@@ -75,7 +75,7 @@ float KaelLocations[3][2]=
#define LOCATION_Z -16.727455
struct TRINITY_DLL_DECL boss_felblood_kaelthasAI : public ScriptedAI
struct boss_felblood_kaelthasAI : public ScriptedAI
{
boss_felblood_kaelthasAI(Creature* c) : ScriptedAI(c)
{
@@ -415,7 +415,7 @@ struct TRINITY_DLL_DECL boss_felblood_kaelthasAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_felkael_flamestrikeAI : public ScriptedAI
struct mob_felkael_flamestrikeAI : public ScriptedAI
{
mob_felkael_flamestrikeAI(Creature *c) : ScriptedAI(c)
{
@@ -445,7 +445,7 @@ struct TRINITY_DLL_DECL mob_felkael_flamestrikeAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_felkael_phoenixAI : public ScriptedAI
struct mob_felkael_phoenixAI : public ScriptedAI
{
mob_felkael_phoenixAI(Creature* c) : ScriptedAI(c)
{
@@ -553,7 +553,7 @@ struct TRINITY_DLL_DECL mob_felkael_phoenixAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_felkael_phoenix_eggAI : public ScriptedAI
struct mob_felkael_phoenix_eggAI : public ScriptedAI
{
mob_felkael_phoenix_eggAI(Creature *c) : ScriptedAI(c) {}
@@ -578,7 +578,7 @@ struct TRINITY_DLL_DECL mob_felkael_phoenix_eggAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_arcane_sphereAI : public ScriptedAI
struct mob_arcane_sphereAI : public ScriptedAI
{
mob_arcane_sphereAI(Creature *c) : ScriptedAI(c) { Reset(); }
@@ -85,7 +85,7 @@ const uint32 m_auiAddEntries[] =
24556, //Zelfan
};
struct TRINITY_DLL_DECL boss_priestess_delrissaAI : public ScriptedAI
struct boss_priestess_delrissaAI : public ScriptedAI
{
boss_priestess_delrissaAI(Creature* c) : ScriptedAI(c)
{
@@ -332,7 +332,7 @@ enum eHealingPotion
};
//all 8 possible lackey use this common
struct TRINITY_DLL_DECL boss_priestess_lackey_commonAI : public ScriptedAI
struct boss_priestess_lackey_commonAI : public ScriptedAI
{
boss_priestess_lackey_commonAI(Creature* c) : ScriptedAI(c)
{
@@ -475,7 +475,7 @@ enum eRogueSpells
SPELL_EVISCERATE = 27611
};
struct TRINITY_DLL_DECL boss_kagani_nightstrikeAI : public boss_priestess_lackey_commonAI
struct boss_kagani_nightstrikeAI : public boss_priestess_lackey_commonAI
{
//Rogue
boss_kagani_nightstrikeAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -573,7 +573,7 @@ enum eWarlockSpells
SPELL_SUMMON_IMP = 44163
};
struct TRINITY_DLL_DECL boss_ellris_duskhallowAI : public boss_priestess_lackey_commonAI
struct boss_ellris_duskhallowAI : public boss_priestess_lackey_commonAI
{
//Warlock
boss_ellris_duskhallowAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -658,7 +658,7 @@ enum eKickDown
SPELL_SNAP_KICK = 46182
};
struct TRINITY_DLL_DECL boss_eramas_brightblazeAI : public boss_priestess_lackey_commonAI
struct boss_eramas_brightblazeAI : public boss_priestess_lackey_commonAI
{
//Monk
boss_eramas_brightblazeAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -713,7 +713,7 @@ enum eMageSpells
SPELL_BLINK = 14514
};
struct TRINITY_DLL_DECL boss_yazzaiAI : public boss_priestess_lackey_commonAI
struct boss_yazzaiAI : public boss_priestess_lackey_commonAI
{
//Mage
boss_yazzaiAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -837,7 +837,7 @@ enum eWarriorSpells
SPELL_MORTAL_STRIKE = 44268
};
struct TRINITY_DLL_DECL boss_warlord_salarisAI : public boss_priestess_lackey_commonAI
struct boss_warlord_salarisAI : public boss_priestess_lackey_commonAI
{
//Warrior
boss_warlord_salarisAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -951,7 +951,7 @@ enum eHunterSpells
NPC_SLIVER = 24552
};
struct TRINITY_DLL_DECL boss_garaxxasAI : public boss_priestess_lackey_commonAI
struct boss_garaxxasAI : public boss_priestess_lackey_commonAI
{
//Hunter
boss_garaxxasAI(Creature *c) : boss_priestess_lackey_commonAI(c) { m_uiPetGUID = 0; }
@@ -1064,7 +1064,7 @@ enum Spells
SPELL_EARTHBIND_TOTEM = 15786
};
struct TRINITY_DLL_DECL boss_apokoAI : public boss_priestess_lackey_commonAI
struct boss_apokoAI : public boss_priestess_lackey_commonAI
{
//Shaman
boss_apokoAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -1156,7 +1156,7 @@ enum eEngineerSpells
SPELL_SHEEP_EXPLOSION = 44279
};
struct TRINITY_DLL_DECL boss_zelfanAI : public boss_priestess_lackey_commonAI
struct boss_zelfanAI : public boss_priestess_lackey_commonAI
{
//Engineer
boss_zelfanAI(Creature *c) : boss_priestess_lackey_commonAI(c) {}
@@ -1234,7 +1234,7 @@ CreatureAI* GetAI_zelfan(Creature* pCreature)
return new boss_zelfanAI(pCreature);
}
//struct TRINITY_DLL_DECL mob_high_explosive_sheepAI : public ScriptedAI
//struct mob_high_explosive_sheepAI : public ScriptedAI
//{
// mob_high_explosive_sheepAI(Creature *c) : ScriptedAI(c) {}
//
@@ -49,7 +49,7 @@ EndScriptData */
#define CREATURE_FEL_CRYSTAL 24722
struct TRINITY_DLL_DECL boss_selin_fireheartAI : public ScriptedAI
struct boss_selin_fireheartAI : public ScriptedAI
{
boss_selin_fireheartAI(Creature* c) : ScriptedAI(c)
{
@@ -96,7 +96,7 @@ struct TRINITY_DLL_DECL boss_selin_fireheartAI : public ScriptedAI
if (pUnit)
{
if (!pUnit->isAlive())
CAST_CRE(pUnit)->Respawn(); // Let MaNGOS handle setting death state, etc.
CAST_CRE(pUnit)->Respawn(); // Let the core handle setting death state, etc.
// Only need to set unselectable flag. You can't attack unselectable units so non_attackable flag is not necessary here.
pUnit->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
@@ -310,7 +310,7 @@ CreatureAI* GetAI_boss_selin_fireheart(Creature* pCreature)
return new boss_selin_fireheartAI (pCreature);
};
struct TRINITY_DLL_DECL mob_fel_crystalAI : public ScriptedAI
struct mob_fel_crystalAI : public ScriptedAI
{
mob_fel_crystalAI(Creature *c) : ScriptedAI(c) {}
@@ -57,7 +57,7 @@ enum eEnums
INTERVAL_SWITCH = 6
};
struct TRINITY_DLL_DECL boss_vexallusAI : public ScriptedAI
struct boss_vexallusAI : public ScriptedAI
{
boss_vexallusAI(Creature *c) : ScriptedAI(c)
{
@@ -142,7 +142,7 @@ struct TRINITY_DLL_DECL boss_vexallusAI : public ScriptedAI
else
DoCast(m_creature, SPELL_SUMMON_PURE_ENERGY, false);
//below are workaround summons, remove when summoning spells w/implicitTarget 73 implemented in Mangos
//below are workaround summons, remove when summoning spells w/implicitTarget 73 implemented in the core
m_creature->SummonCreature(NPC_PURE_ENERGY, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
if (IsHeroic())
@@ -185,7 +185,7 @@ CreatureAI* GetAI_boss_vexallus(Creature* pCreature)
return new boss_vexallusAI (pCreature);
};
struct TRINITY_DLL_DECL mob_pure_energyAI : public ScriptedAI
struct mob_pure_energyAI : public ScriptedAI
{
mob_pure_energyAI(Creature *c) : ScriptedAI(c) {}
@@ -33,7 +33,7 @@ EndScriptData */
3 - Kael'thas Sunstrider
*/
struct TRINITY_DLL_DECL instance_magisters_terrace : public ScriptedInstance
struct instance_magisters_terrace : public ScriptedInstance
{
instance_magisters_terrace(Map* pMap) : ScriptedInstance(pMap) {Initialize();}
@@ -49,7 +49,7 @@ const float afKaelLandPoint[] = {225.045, -276.236, -5.434};
// This is friendly keal that appear after used Orb.
// If we assume DB handle summon, summon appear somewhere outside the platform where Orb is
struct TRINITY_DLL_DECL npc_kalecgosAI : public ScriptedAI
struct npc_kalecgosAI : public ScriptedAI
{
npc_kalecgosAI(Creature* pCreature) : ScriptedAI(pCreature) {}
@@ -30,7 +30,7 @@ EndScriptData */
#define SPELL_LIVINGBOMB 20475
#define SPELL_ARMAGEDDOM 20479
struct TRINITY_DLL_DECL boss_baron_geddonAI : public ScriptedAI
struct boss_baron_geddonAI : public ScriptedAI
{
boss_baron_geddonAI(Creature *c) : ScriptedAI(c) {}
@@ -32,7 +32,7 @@ EndScriptData */
#define SPELL_ERUPTION 19497
#define SPELL_IMMOLATE 20294
struct TRINITY_DLL_DECL boss_garrAI : public ScriptedAI
struct boss_garrAI : public ScriptedAI
{
boss_garrAI(Creature *c) : ScriptedAI(c) {}
@@ -76,7 +76,7 @@ struct TRINITY_DLL_DECL boss_garrAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_fireswornAI : public ScriptedAI
struct mob_fireswornAI : public ScriptedAI
{
mob_fireswornAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_RAINOFFIRE 19717
#define SPELL_GEHENNASCURSE 19716
struct TRINITY_DLL_DECL boss_gehennasAI : public ScriptedAI
struct boss_gehennasAI : public ScriptedAI
{
boss_gehennasAI(Creature *c) : ScriptedAI(c) {}
@@ -37,7 +37,7 @@ enum eEnums
SPELL_MANGLE = 19820
};
struct TRINITY_DLL_DECL boss_golemaggAI : public ScriptedAI
struct boss_golemaggAI : public ScriptedAI
{
boss_golemaggAI(Creature* pCreature) : ScriptedAI(pCreature)
{
@@ -117,7 +117,7 @@ struct TRINITY_DLL_DECL boss_golemaggAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_core_ragerAI : public ScriptedAI
struct mob_core_ragerAI : public ScriptedAI
{
mob_core_ragerAI(Creature *c) : ScriptedAI(c)
{
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_LUCIFRONCURSE 19703
#define SPELL_SHADOWSHOCK 20603
struct TRINITY_DLL_DECL boss_lucifronAI : public ScriptedAI
struct boss_lucifronAI : public ScriptedAI
{
boss_lucifronAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ EndScriptData */
#define SPELL_LAVABOMB 19411 //This calls a dummy server side effect that isn't implemented yet
#define SPELL_LAVABOMB_ALT 19428 //This is the spell that the lava bomb casts
struct TRINITY_DLL_DECL boss_magmadarAI : public ScriptedAI
struct boss_magmadarAI : public ScriptedAI
{
boss_magmadarAI(Creature *c) : ScriptedAI(c) {}
@@ -51,7 +51,7 @@ EndScriptData */
#define ENTRY_FLAMEWALKER_HEALER 11663
#define ENTRY_FLAMEWALKER_ELITE 11664
struct TRINITY_DLL_DECL boss_majordomoAI : public ScriptedAI
struct boss_majordomoAI : public ScriptedAI
{
boss_majordomoAI(Creature *c) : ScriptedAI(c) {}
@@ -83,7 +83,7 @@ EndScriptData */
#define ADD_8Z -229.683182
#define ADD_8O 4.693108
struct TRINITY_DLL_DECL boss_ragnarosAI : public ScriptedAI
struct boss_ragnarosAI : public ScriptedAI
{
boss_ragnarosAI(Creature *c) : ScriptedAI(c)
{
@@ -28,7 +28,7 @@ EndScriptData */
#define SPELL_DEADENMAGIC 19714
#define SPELL_COUNTERSPELL 19715
struct TRINITY_DLL_DECL boss_shazzrahAI : public ScriptedAI
struct boss_shazzrahAI : public ScriptedAI
{
boss_shazzrahAI(Creature *c) : ScriptedAI(c) {}
@@ -35,7 +35,7 @@ EndScriptData */
#define SPELL_SHADOWWORDPAIN 19776
#define SPELL_IMMOLATE 20294
struct TRINITY_DLL_DECL boss_sulfuronAI : public ScriptedAI
struct boss_sulfuronAI : public ScriptedAI
{
boss_sulfuronAI(Creature *c) : ScriptedAI(c) {}
@@ -118,7 +118,7 @@ struct TRINITY_DLL_DECL boss_sulfuronAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_flamewaker_priestAI : public ScriptedAI
struct mob_flamewaker_priestAI : public ScriptedAI
{
mob_flamewaker_priestAI(Creature *c) : ScriptedAI(c) {}
@@ -38,7 +38,7 @@ EndScriptData */
#define ID_RAGNAROS 11502
#define ID_FLAMEWAKERPRIEST 11662
struct TRINITY_DLL_DECL instance_molten_core : public ScriptedInstance
struct instance_molten_core : public ScriptedInstance
{
instance_molten_core(Map* pMap) : ScriptedInstance(pMap) {Initialize();};
@@ -38,7 +38,7 @@ enum eCorporalKeeshan
SPELL_SHIELD_BASH = 11972,
};
struct TRINITY_DLL_DECL npc_corporal_keeshanAI : public npc_escortAI
struct npc_corporal_keeshanAI : public npc_escortAI
{
npc_corporal_keeshanAI(Creature* pCreature) : npc_escortAI(pCreature) {}
@@ -91,7 +91,7 @@ enum UnworthyInitiatePhase
PHASE_ATTACKING,
};
struct TRINITY_DLL_DECL npc_unworthy_initiateAI : public ScriptedAI
struct npc_unworthy_initiateAI : public ScriptedAI
{
npc_unworthy_initiateAI(Creature *c) : ScriptedAI(c)
{
@@ -170,7 +170,7 @@ CreatureAI* GetAI_npc_unworthy_initiate(Creature* pCreature)
return new npc_unworthy_initiateAI(pCreature);
}
struct TRINITY_DLL_DECL npc_unworthy_initiate_anchorAI : public PassiveAI
struct npc_unworthy_initiate_anchorAI : public PassiveAI
{
npc_unworthy_initiate_anchorAI(Creature *c) : PassiveAI(c), prisonerGUID(0) {}
@@ -337,7 +337,7 @@ int32 m_auiRandomSay[] =
SAY_DUEL_A, SAY_DUEL_B, SAY_DUEL_C, SAY_DUEL_D, SAY_DUEL_E, SAY_DUEL_F, SAY_DUEL_G, SAY_DUEL_H, SAY_DUEL_I
};
struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public CombatAI
struct npc_death_knight_initiateAI : public CombatAI
{
npc_death_knight_initiateAI(Creature* pCreature) : CombatAI(pCreature)
{
@@ -492,7 +492,7 @@ bool GossipSelect_npc_death_knight_initiate(Player* pPlayer, Creature* pCreature
#define DESPAWN_HORSE 52267
#define SAY_DARK_RIDER "The realm of shadows awaits..."
struct TRINITY_DLL_DECL npc_dark_rider_of_acherusAI : public ScriptedAI
struct npc_dark_rider_of_acherusAI : public ScriptedAI
{
npc_dark_rider_of_acherusAI(Creature *c) : ScriptedAI(c) {}
@@ -576,7 +576,7 @@ enum eSalanar
SPELL_EFFECT_OVERTAKE = 52349
};
struct TRINITY_DLL_DECL npc_salanar_the_horsemanAI : public ScriptedAI
struct npc_salanar_the_horsemanAI : public ScriptedAI
{
npc_salanar_the_horsemanAI(Creature *c) : ScriptedAI(c) {}
@@ -635,7 +635,7 @@ CreatureAI* GetAI_npc_salanar_the_horseman(Creature* pCreature)
## npc_ros_dark_rider
######*/
struct TRINITY_DLL_DECL npc_ros_dark_riderAI : public ScriptedAI
struct npc_ros_dark_riderAI : public ScriptedAI
{
npc_ros_dark_riderAI(Creature *c) : ScriptedAI(c) {}
@@ -679,7 +679,7 @@ enum SG
GHOULS = 28845,
GHOSTS = 28846,
};
struct TRINITY_DLL_DECL npc_dkc1_gothikAI : public ScriptedAI
struct npc_dkc1_gothikAI : public ScriptedAI
{
npc_dkc1_gothikAI(Creature *c) : ScriptedAI(c) {}
@@ -716,7 +716,7 @@ CreatureAI* GetAI_npc_dkc1_gothik(Creature* pCreature)
return new npc_dkc1_gothikAI(pCreature);
}
struct TRINITY_DLL_DECL npc_scarlet_ghoulAI : public ScriptedAI
struct npc_scarlet_ghoulAI : public ScriptedAI
{
npc_scarlet_ghoulAI(Creature *c) : ScriptedAI(c)
{
@@ -799,7 +799,7 @@ CreatureAI* GetAI_npc_scarlet_ghoul(Creature* pCreature)
#define SPELL_CART_CHECK 54173
#define SPELL_CART_DRAG 52465
struct TRINITY_DLL_DECL npc_scarlet_miner_cartAI : public PassiveAI
struct npc_scarlet_miner_cartAI : public PassiveAI
{
npc_scarlet_miner_cartAI(Creature *c) : PassiveAI(c), minerGUID(0)
{
@@ -846,7 +846,7 @@ CreatureAI* GetAI_npc_scarlet_miner_cart(Creature *_Creature)
#define SAY_SCARLET_MINER1 "Where'd this come from? I better get this down to the ships before the foreman sees it!"
#define SAY_SCARLET_MINER2 "Now I can have a rest!"
struct TRINITY_DLL_DECL npc_scarlet_minerAI : public npc_escortAI
struct npc_scarlet_minerAI : public npc_escortAI
{
npc_scarlet_minerAI(Creature *c) : npc_escortAI(c)
{
@@ -45,7 +45,7 @@ enum win_friends
SPELL_PERSUASIVE_STRIKE = 52781
};
struct TRINITY_DLL_DECL npc_crusade_persuadedAI : public ScriptedAI
struct npc_crusade_persuadedAI : public ScriptedAI
{
npc_crusade_persuadedAI(Creature *pCreature) : ScriptedAI(pCreature) {}
@@ -166,7 +166,7 @@ enum eKoltira
MODEL_DEATH_KNIGHT_MOUNT = 25278
};
struct TRINITY_DLL_DECL npc_koltira_deathweaverAI : public npc_escortAI
struct npc_koltira_deathweaverAI : public npc_escortAI
{
npc_koltira_deathweaverAI(Creature *pCreature) : npc_escortAI(pCreature)
{
@@ -338,7 +338,7 @@ enum ScarletCourierEnum
NPC_SCARLET_COURIER = 29076
};
struct TRINITY_DLL_DECL mob_scarlet_courierAI : public ScriptedAI
struct mob_scarlet_courierAI : public ScriptedAI
{
mob_scarlet_courierAI(Creature *pCreature) : ScriptedAI(pCreature) {}
@@ -425,7 +425,7 @@ enum valroth
SPELL_SUMMON_VALROTH_REMAINS = 52929
};
struct TRINITY_DLL_DECL mob_high_inquisitor_valrothAI : public ScriptedAI
struct mob_high_inquisitor_valrothAI : public ScriptedAI
{
mob_high_inquisitor_valrothAI(Creature *pCreature) : ScriptedAI(pCreature) {}
@@ -554,7 +554,7 @@ enum SpecialSurprise
NPC_PLAGUEFIST = 29053
};
struct TRINITY_DLL_DECL npc_a_special_surpriseAI : public ScriptedAI
struct npc_a_special_surpriseAI : public ScriptedAI
{
npc_a_special_surpriseAI(Creature *pCreature) : ScriptedAI(pCreature) {}
@@ -284,7 +284,7 @@ static Locations LightofDawnLoc[]=
{2273.972, -5257.676, 78.862, 0} // 29 Lich king moves forward
};
struct TRINITY_DLL_DECL npc_highlord_darion_mograineAI : public npc_escortAI
struct npc_highlord_darion_mograineAI : public npc_escortAI
{
npc_highlord_darion_mograineAI(Creature *pCreature) : npc_escortAI(pCreature)
{
@@ -1635,7 +1635,7 @@ bool GossipSelect_npc_highlord_darion_mograine(Player* pPlayer, Creature* pCreat
/*######
## npc the lich king in dawn of light
######*/
struct TRINITY_DLL_DECL npc_the_lich_king_tirion_dawnAI : public ScriptedAI
struct npc_the_lich_king_tirion_dawnAI : public ScriptedAI
{
npc_the_lich_king_tirion_dawnAI(Creature* pCreature) : ScriptedAI(pCreature) { Reset(); }
void Reset() {}
@@ -24,7 +24,7 @@
#define SPELL_REVIVE 51918
#define VALK_WHISPER "It is not yet your time, champion. Rise! Rise and fight once more!"
struct TRINITY_DLL_DECL npc_valkyr_battle_maidenAI : public PassiveAI
struct npc_valkyr_battle_maidenAI : public PassiveAI
{
npc_valkyr_battle_maidenAI(Creature *c) : PassiveAI(c) {}
@@ -35,7 +35,7 @@ enum eEnums
SPELL_ARCANEBUBBLE = 9438,
};
struct TRINITY_DLL_DECL boss_arcanist_doanAI : public ScriptedAI
struct boss_arcanist_doanAI : public ScriptedAI
{
boss_arcanist_doanAI(Creature *c) : ScriptedAI(c) {}
@@ -27,7 +27,7 @@ EndScriptData */
#define SPELL_TERRIFY 7399
#define SPELL_SOULSIPHON 7290
struct TRINITY_DLL_DECL boss_azshir_the_sleeplessAI : public ScriptedAI
struct boss_azshir_the_sleeplessAI : public ScriptedAI
{
boss_azshir_the_sleeplessAI(Creature *c) : ScriptedAI(c) {}
@@ -35,7 +35,7 @@ enum eEnums
SPELL_FIRENOVA = 16079,
};
struct TRINITY_DLL_DECL boss_bloodmage_thalnosAI : public ScriptedAI
struct boss_bloodmage_thalnosAI : public ScriptedAI
{
boss_bloodmage_thalnosAI(Creature *c) : ScriptedAI(c) {}
@@ -131,7 +131,7 @@ static Summon Text[]=
#define EMOTE_LAUGHS "Headless Horseman laughs"
struct TRINITY_DLL_DECL mob_wisp_invisAI : public ScriptedAI
struct mob_wisp_invisAI : public ScriptedAI
{
mob_wisp_invisAI(Creature *c) : ScriptedAI(c)
{
@@ -206,7 +206,7 @@ struct TRINITY_DLL_DECL mob_wisp_invisAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_headAI : public ScriptedAI
struct mob_headAI : public ScriptedAI
{
mob_headAI(Creature *c) : ScriptedAI(c) {}
@@ -332,7 +332,7 @@ struct TRINITY_DLL_DECL mob_headAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_headless_horsemanAI : public ScriptedAI
struct boss_headless_horsemanAI : public ScriptedAI
{
boss_headless_horsemanAI(Creature *c) : ScriptedAI(c)
{
@@ -749,7 +749,7 @@ void mob_headAI::Disappear()
}
}
struct TRINITY_DLL_DECL mob_pulsing_pumpkinAI : public ScriptedAI
struct mob_pulsing_pumpkinAI : public ScriptedAI
{
mob_pulsing_pumpkinAI(Creature *c) : ScriptedAI(c) {}
@@ -38,7 +38,7 @@ EndScriptData */
#define ENTRY_SCARLET_TRAINEE 6575
#define ENTRY_SCARLET_MYRMIDON 4295
struct TRINITY_DLL_DECL boss_herodAI : public ScriptedAI
struct boss_herodAI : public ScriptedAI
{
boss_herodAI(Creature *c) : ScriptedAI(c) {}
@@ -109,7 +109,7 @@ CreatureAI* GetAI_boss_herod(Creature* pCreature)
return new boss_herodAI(pCreature);
}
struct TRINITY_DLL_DECL mob_scarlet_traineeAI : public npc_escortAI
struct mob_scarlet_traineeAI : public npc_escortAI
{
mob_scarlet_traineeAI(Creature *c) : npc_escortAI(c)
{
@@ -33,7 +33,7 @@ enum eSpells
SPELL_SLEEP = 8399
};
struct TRINITY_DLL_DECL boss_high_inquisitor_fairbanksAI : public ScriptedAI
struct boss_high_inquisitor_fairbanksAI : public ScriptedAI
{
boss_high_inquisitor_fairbanksAI(Creature *c) : ScriptedAI(c) {}
@@ -30,7 +30,7 @@ enum eEnums
SPELL_BLOODLUST = 6742
};
struct TRINITY_DLL_DECL boss_houndmaster_lokseyAI : public ScriptedAI
struct boss_houndmaster_lokseyAI : public ScriptedAI
{
boss_houndmaster_lokseyAI(Creature *c) : ScriptedAI(c) {}
@@ -35,7 +35,7 @@ enum eEnums
SPELL_SHADOWWORDPAIN = 2767,
};
struct TRINITY_DLL_DECL boss_interrogator_vishasAI : public ScriptedAI
struct boss_interrogator_vishasAI : public ScriptedAI
{
boss_interrogator_vishasAI(Creature *c) : ScriptedAI(c)
{
@@ -51,7 +51,7 @@ enum eEnums
SPELL_POWERWORDSHIELD = 22187
};
struct TRINITY_DLL_DECL boss_scarlet_commander_mograineAI : public ScriptedAI
struct boss_scarlet_commander_mograineAI : public ScriptedAI
{
boss_scarlet_commander_mograineAI(Creature* pCreature) : ScriptedAI(pCreature)
{
@@ -204,7 +204,7 @@ struct TRINITY_DLL_DECL boss_scarlet_commander_mograineAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL boss_high_inquisitor_whitemaneAI : public ScriptedAI
struct boss_high_inquisitor_whitemaneAI : public ScriptedAI
{
boss_high_inquisitor_whitemaneAI(Creature* pCreature) : ScriptedAI(pCreature)
{
@@ -28,7 +28,7 @@ EndScriptData */
#define SPELL_MINDFLAY 17313
#define SPELL_FROSTNOVA 15531
struct TRINITY_DLL_DECL boss_scornAI : public ScriptedAI
struct boss_scornAI : public ScriptedAI
{
boss_scornAI(Creature *c) : ScriptedAI(c) {}
@@ -31,7 +31,7 @@ EndScriptData */
#define MAX_ENCOUNTER 2
struct TRINITY_DLL_DECL instance_scarlet_monastery : public ScriptedInstance
struct instance_scarlet_monastery : public ScriptedInstance
{
instance_scarlet_monastery(Map* pMap) : ScriptedInstance(pMap) {Initialize();};
@@ -48,7 +48,7 @@ EndScriptData */
#define ADD_4Z 104.732
#define ADD_4O 3.16
struct TRINITY_DLL_DECL boss_darkmaster_gandlingAI : public ScriptedAI
struct boss_darkmaster_gandlingAI : public ScriptedAI
{
boss_darkmaster_gandlingAI(Creature *c) : ScriptedAI(c)
{
@@ -23,7 +23,7 @@ EndScriptData */
#include "ScriptedPch.h"
struct TRINITY_DLL_DECL boss_death_knight_darkreaverAI : public ScriptedAI
struct boss_death_knight_darkreaverAI : public ScriptedAI
{
boss_death_knight_darkreaverAI(Creature *c) : ScriptedAI(c) {}
@@ -33,7 +33,7 @@ enum eEnums
SPELL_FRENZY = 8269
};
struct TRINITY_DLL_DECL boss_theolenkrastinovAI : public ScriptedAI
struct boss_theolenkrastinovAI : public ScriptedAI
{
boss_theolenkrastinovAI(Creature *c) : ScriptedAI(c) {}
@@ -29,7 +29,7 @@ EndScriptData */
#define SPELL_SILENCE 15487
#define SPELL_FEAR 6215
struct TRINITY_DLL_DECL boss_illuciabarovAI : public ScriptedAI
struct boss_illuciabarovAI : public ScriptedAI
{
boss_illuciabarovAI(Creature *c) : ScriptedAI(c) {}
@@ -30,7 +30,7 @@ EndScriptData */
#define SPELL_RENEW 10929
#define SPELL_HEALINGTOUCH 9889
struct TRINITY_DLL_DECL boss_instructormaliciaAI : public ScriptedAI
struct boss_instructormaliciaAI : public ScriptedAI
{
boss_instructormaliciaAI(Creature *c) : ScriptedAI(c) {}
@@ -29,7 +29,7 @@ EndScriptData */
//Spells of Illusion of Jandice Barov
#define SPELL_CLEAVE 15584
struct TRINITY_DLL_DECL boss_jandicebarovAI : public ScriptedAI
struct boss_jandicebarovAI : public ScriptedAI
{
boss_jandicebarovAI(Creature *c) : ScriptedAI(c) {}
@@ -139,7 +139,7 @@ struct TRINITY_DLL_DECL boss_jandicebarovAI : public ScriptedAI
// Illusion of Jandice Barov Script
struct TRINITY_DLL_DECL mob_illusionofjandicebarovAI : public ScriptedAI
struct mob_illusionofjandicebarovAI : public ScriptedAI
{
mob_illusionofjandicebarovAI(Creature *c) : ScriptedAI(c) {}
@@ -26,7 +26,7 @@ EndScriptData */
#define SPELL_SHADOWBOLTVOLLEY 20741
#define SPELL_BONESHIELD 27688
struct TRINITY_DLL_DECL boss_kormokAI : public ScriptedAI
struct boss_kormokAI : public ScriptedAI
{
boss_kormokAI(Creature *c) : ScriptedAI(c) {}

Some files were not shown because too many files have changed in this diff Show More