aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Scripting/ScriptLoader.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp30
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp52
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp26
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp48
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp8
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp24
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp52
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp48
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp44
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp88
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h24
-rw-r--r--src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp32
-rw-r--r--src/server/scripts/EasternKingdoms/Uldaman/uldaman.cpp18
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp16
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp4
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp76
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp28
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp24
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp26
-rw-r--r--src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp6
-rw-r--r--src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp14
-rw-r--r--src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp18
-rw-r--r--src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp16
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp12
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp36
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp12
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp108
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp88
-rw-r--r--src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp7
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp60
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp12
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp10
-rw-r--r--src/server/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h18
-rw-r--r--src/server/scripts/Kalimdor/zone_azshara.cpp54
-rw-r--r--src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp6
-rw-r--r--src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp16
-rw-r--r--src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp16
-rw-r--r--src/server/scripts/Kalimdor/zone_silithus.cpp20
-rw-r--r--src/server/scripts/Kalimdor/zone_tanaris.cpp16
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp12
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp24
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp4
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp12
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp12
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp38
-rw-r--r--src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp90
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp48
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp192
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp60
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp24
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp52
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp12
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp50
-rw-r--r--src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp24
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp12
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp12
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp4
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp10
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp128
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp4
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp20
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_noth.cpp20
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp24
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp22
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp24
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp14
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp14
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp14
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp24
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp20
-rw-r--r--src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp60
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp38
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp16
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp94
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp22
-rw-r--r--src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h24
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp12
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp18
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp12
-rw-r--r--src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp38
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_erekem.cpp12
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp12
-rw-r--r--src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp12
-rw-r--r--src/server/scripts/Northrend/VioletHold/violet_hold.cpp108
-rw-r--r--src/server/scripts/Northrend/zone_borean_tundra.cpp16
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp30
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp12
-rw-r--r--src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp26
-rw-r--r--src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp48
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_illidan.cpp40
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp32
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp28
-rw-r--r--src/server/scripts/Outland/BlackTemple/illidari_council.cpp30
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp48
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp28
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp18
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp12
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp8
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp14
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp14
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp14
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp12
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp16
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp14
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp44
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp32
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp18
-rw-r--r--src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp30
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp28
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp14
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp42
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp16
-rw-r--r--src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp12
-rw-r--r--src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp12
-rw-r--r--src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp16
-rw-r--r--src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp18
-rw-r--r--src/server/scripts/Outland/zone_blades_edge_mountains.cpp32
-rw-r--r--src/server/scripts/Outland/zone_netherstorm.cpp14
-rw-r--r--src/server/scripts/Outland/zone_shadowmoon_valley.cpp88
-rw-r--r--src/server/scripts/Outland/zone_terokkar_forest.cpp66
-rw-r--r--src/server/scripts/World/npcs_special.cpp12
140 files changed, 1936 insertions, 1935 deletions
diff --git a/src/server/game/Scripting/ScriptLoader.cpp b/src/server/game/Scripting/ScriptLoader.cpp
index 6681d7c3b18..ea23d439eb2 100644
--- a/src/server/game/Scripting/ScriptLoader.cpp
+++ b/src/server/game/Scripting/ScriptLoader.cpp
@@ -335,7 +335,7 @@ void AddSC_boss_sartura();
void AddSC_boss_skeram();
void AddSC_boss_twinemperors();
void AddSC_boss_ouro();
-void AddSC_mob_anubisath_sentinel();
+void AddSC_npc_anubisath_sentinel();
void AddSC_instance_temple_of_ahnqiraj();
void AddSC_wailing_caverns(); //Wailing caverns
void AddSC_instance_wailing_caverns();
@@ -983,7 +983,7 @@ void AddKalimdorScripts()
AddSC_boss_skeram();
AddSC_boss_twinemperors();
AddSC_boss_ouro();
- AddSC_mob_anubisath_sentinel();
+ AddSC_npc_anubisath_sentinel();
AddSC_instance_temple_of_ahnqiraj();
AddSC_wailing_caverns(); //Wailing caverns
AddSC_instance_wailing_caverns();
diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp
index 5f05f21b1de..081e717254d 100644
--- a/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp
+++ b/src/server/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp
@@ -77,14 +77,14 @@ SpellPair const _auraPairs[MAX_SPELL_PAIRS] =
{ NPC_ICEBLOOD_WARMASTER, SPELL_ICEBLOOD_WARMASTER }
};
-class mob_av_marshal_or_warmaster : public CreatureScript
+class npc_av_marshal_or_warmaster : public CreatureScript
{
public:
- mob_av_marshal_or_warmaster() : CreatureScript("mob_av_marshal_or_warmaster") { }
+ npc_av_marshal_or_warmaster() : CreatureScript("npc_av_marshal_or_warmaster") { }
- struct mob_av_marshal_or_warmasterAI : public ScriptedAI
+ struct npc_av_marshal_or_warmasterAI : public ScriptedAI
{
- mob_av_marshal_or_warmasterAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_av_marshal_or_warmasterAI(Creature* creature) : ScriptedAI(creature) { }
void Reset()
{
@@ -172,11 +172,11 @@ class mob_av_marshal_or_warmaster : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_av_marshal_or_warmasterAI(creature);
+ return new npc_av_marshal_or_warmasterAI(creature);
}
};
void AddSC_alterac_valley()
{
- new mob_av_marshal_or_warmaster();
+ new npc_av_marshal_or_warmaster();
}
diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp
index d5eafbb17a6..c8de8e163d8 100644
--- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp
+++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp
@@ -43,14 +43,14 @@ enum WaterElementalSpells
SPELL_WATERBOLT = 46983
};
-class mob_water_elemental : public CreatureScript
+class npc_water_elemental : public CreatureScript
{
public:
- mob_water_elemental() : CreatureScript("mob_water_elemental") { }
+ npc_water_elemental() : CreatureScript("npc_water_elemental") { }
- struct mob_water_elementalAI : public ScriptedAI
+ struct npc_water_elementalAI : public ScriptedAI
{
- mob_water_elementalAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_water_elementalAI(Creature* creature) : ScriptedAI(creature) {}
uint32 waterBoltTimer;
uint64 balindaGUID;
@@ -88,7 +88,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_water_elementalAI(creature);
+ return new npc_water_elementalAI(creature);
}
};
@@ -134,7 +134,7 @@ public:
void JustSummoned(Creature* summoned)
{
- CAST_AI(mob_water_elemental::mob_water_elementalAI, summoned->AI())->balindaGUID = me->GetGUID();
+ CAST_AI(npc_water_elemental::npc_water_elementalAI, summoned->AI())->balindaGUID = me->GetGUID();
summoned->AI()->AttackStart(SelectTarget(SELECT_TARGET_RANDOM, 0, 50, true));
summoned->setFaction(me->getFaction());
summons.Summon(summoned);
@@ -205,5 +205,5 @@ public:
void AddSC_boss_balinda()
{
new boss_balinda;
- new mob_water_elemental;
+ new npc_water_elemental;
};
diff --git a/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
index cded76874c7..8fe2778451b 100644
--- a/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
+++ b/src/server/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
@@ -54,7 +54,7 @@ enum eGrimstone
NPC_THELDREN = 16059,
//4 or 6 in total? 1+2+1 / 2+2+2 / 3+3. Depending on this, code should be changed.
- MAX_MOB_AMOUNT = 4
+ MAX_NPC_AMOUNT = 4
};
uint32 RingMob[]=
@@ -152,7 +152,7 @@ public:
MobCount = 0;
MobDeath_Timer = 0;
- for (uint8 i = 0; i < MAX_MOB_AMOUNT; ++i)
+ for (uint8 i = 0; i < MAX_NPC_AMOUNT; ++i)
RingMobGUID[i] = 0;
RingBossGUID = 0;
@@ -168,7 +168,7 @@ public:
++MobCount;
- if (MobCount == MAX_MOB_AMOUNT)
+ if (MobCount == MAX_NPC_AMOUNT)
MobDeath_Timer = 2500;
}
@@ -246,7 +246,7 @@ public:
return;
}
- for (uint8 i = 0; i < MAX_MOB_AMOUNT; ++i)
+ for (uint8 i = 0; i < MAX_NPC_AMOUNT; ++i)
{
Creature* mob = Unit::GetCreature(*me, RingMobGUID[i]);
if (mob && !mob->IsAlive() && mob->isDead())
@@ -339,7 +339,7 @@ public:
};
};
-// mob_phalanx
+// npc_phalanx
enum PhalanxSpells
{
SPELL_THUNDERCLAP = 8732,
@@ -347,19 +347,19 @@ enum PhalanxSpells
SPELL_MIGHTYBLOW = 14099
};
-class mob_phalanx : public CreatureScript
+class npc_phalanx : public CreatureScript
{
public:
- mob_phalanx() : CreatureScript("mob_phalanx") { }
+ npc_phalanx() : CreatureScript("npc_phalanx") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_phalanxAI (creature);
+ return new npc_phalanxAI (creature);
}
- struct mob_phalanxAI : public ScriptedAI
+ struct npc_phalanxAI : public ScriptedAI
{
- mob_phalanxAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_phalanxAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ThunderClap_Timer;
uint32 FireballVolley_Timer;
@@ -680,7 +680,7 @@ public:
#define SAY_WINDSOR_4_3 "Good work! We're almost there, $N. This way."
#define SAY_WINDSOR_6 "This is it, $N. My stuff should be in that room. Cover me, I'm going in!"
#define SAY_WINDSOR_9 "Ah, there it is!"
-#define MOB_ENTRY_REGINALD_WINDSOR 9682
+#define NPC_REGINALD_WINDSOR 9682
/*
Player* playerStart;
@@ -778,7 +778,7 @@ public:
me->SetVisible(false);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
- me->SummonCreature(MOB_ENTRY_REGINALD_WINDSOR, 403.61f, -51.71f, -63.92f, 3.600434f, TEMPSUMMON_DEAD_DESPAWN, 0);
+ me->SummonCreature(NPC_REGINALD_WINDSOR, 403.61f, -51.71f, -63.92f, 3.600434f, TEMPSUMMON_DEAD_DESPAWN, 0);
instance->SetData(DATA_SUPPLY_ROOM, ENCOUNTER_STATE_ENDED);
break;
}
@@ -859,8 +859,8 @@ public:
#define SAY_REGINALD_WINDSOR_14_2 "Excellent work, $N. Let's find the exit. I think I know the way. Follow me!"
#define SAY_REGINALD_WINDSOR_20_1 "We made it!"
#define SAY_REGINALD_WINDSOR_20_2 "Meet me at Maxwell's encampment. We'll go over the next stages of the plan there and figure out a way to decode my tablets without the decryption ring."
-#define MOB_ENTRY_SHILL_DINGER 9678
-#define MOB_ENTRY_CREST_KILLER 9680
+#define NPC_SHILL_DINGER 9678
+#define NPC_CREST_KILLER 9680
/*
int wp = 0;
@@ -1328,7 +1328,7 @@ void AddSC_blackrock_depths()
new go_shadowforge_brazier();
new at_ring_of_law();
new npc_grimstone();
- new mob_phalanx();
+ new npc_phalanx();
new npc_kharan_mighthammer();
new npc_lokhtos_darkbargainer();
new npc_rocknot();
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
index 998406e6d8c..c4cded87665 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
@@ -508,10 +508,10 @@ public:
};
};
-class mob_aran_elemental : public CreatureScript
+class npc_aran_elemental : public CreatureScript
{
public:
- mob_aran_elemental() : CreatureScript("mob_aran_elemental") { }
+ npc_aran_elemental() : CreatureScript("npc_aran_elemental") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -548,5 +548,5 @@ public:
void AddSC_boss_shade_of_aran()
{
new boss_shade_of_aran();
- new mob_aran_elemental();
+ new npc_aran_elemental();
}
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
index ea2793a1463..df291c161b2 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
@@ -59,19 +59,19 @@ enum TerestianIllhoof
};
-class mob_kilrek : public CreatureScript
+class npc_kilrek : public CreatureScript
{
public:
- mob_kilrek() : CreatureScript("mob_kilrek") { }
+ npc_kilrek() : CreatureScript("npc_kilrek") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_kilrekAI (creature);
+ return new npc_kilrekAI (creature);
}
- struct mob_kilrekAI : public ScriptedAI
+ struct npc_kilrekAI : public ScriptedAI
{
- mob_kilrekAI(Creature* creature) : ScriptedAI(creature)
+ npc_kilrekAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -130,19 +130,19 @@ public:
};
};
-class mob_demon_chain : public CreatureScript
+class npc_demon_chain : public CreatureScript
{
public:
- mob_demon_chain() : CreatureScript("mob_demon_chain") { }
+ npc_demon_chain() : CreatureScript("npc_demon_chain") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_demon_chainAI(creature);
+ return new npc_demon_chainAI(creature);
}
- struct mob_demon_chainAI : public ScriptedAI
+ struct npc_demon_chainAI : public ScriptedAI
{
- mob_demon_chainAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_demon_chainAI(Creature* creature) : ScriptedAI(creature) {}
uint64 SacrificeGUID;
@@ -167,19 +167,19 @@ public:
};
};
-class mob_fiendish_portal : public CreatureScript
+class npc_fiendish_portal : public CreatureScript
{
public:
- mob_fiendish_portal() : CreatureScript("mob_fiendish_portal") { }
+ npc_fiendish_portal() : CreatureScript("npc_fiendish_portal") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fiendish_portalAI (creature);
+ return new npc_fiendish_portalAI (creature);
}
- struct mob_fiendish_portalAI : public PassiveAI
+ struct npc_fiendish_portalAI : public PassiveAI
{
- mob_fiendish_portalAI(Creature* creature) : PassiveAI(creature), summons(me){}
+ npc_fiendish_portalAI(Creature* creature) : PassiveAI(creature), summons(me){}
SummonList summons;
@@ -203,19 +203,19 @@ public:
#define SPELL_FIREBOLT 30050 // Blasts a target for 181-209 Fire damage.
-class mob_fiendish_imp : public CreatureScript
+class npc_fiendish_imp : public CreatureScript
{
public:
- mob_fiendish_imp() : CreatureScript("mob_fiendish_imp") { }
+ npc_fiendish_imp() : CreatureScript("npc_fiendish_imp") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fiendish_impAI (creature);
+ return new npc_fiendish_impAI (creature);
}
- struct mob_fiendish_impAI : public ScriptedAI
+ struct npc_fiendish_impAI : public ScriptedAI
{
- mob_fiendish_impAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_fiendish_impAI(Creature* creature) : ScriptedAI(creature) {}
uint32 FireboltTimer;
@@ -285,7 +285,7 @@ public:
{
if (Creature* pPortal = Unit::GetCreature(*me, PortalGUID[i]))
{
- CAST_AI(mob_fiendish_portal::mob_fiendish_portalAI, pPortal->AI())->DespawnAllImp();
+ CAST_AI(npc_fiendish_portal::npc_fiendish_portalAI, pPortal->AI())->DespawnAllImp();
pPortal->DespawnOrUnsummon();
}
@@ -377,7 +377,7 @@ public:
if (Creature* Chains = me->FindNearestCreature(CREATURE_DEMONCHAINS, 5000))
{
- CAST_AI(mob_demon_chain::mob_demon_chainAI, Chains->AI())->SacrificeGUID = target->GetGUID();
+ CAST_AI(npc_demon_chain::npc_demon_chainAI, Chains->AI())->SacrificeGUID = target->GetGUID();
Chains->CastSpell(Chains, SPELL_DEMON_CHAINS, true);
Talk(SAY_SACRIFICE);
SacrificeTimer = 30000;
@@ -424,8 +424,8 @@ public:
void AddSC_boss_terestian_illhoof()
{
new boss_terestian_illhoof();
- new mob_fiendish_imp();
- new mob_fiendish_portal();
- new mob_kilrek();
- new mob_demon_chain();
+ new npc_fiendish_imp();
+ new npc_fiendish_portal();
+ new npc_kilrek();
+ new npc_demon_chain();
}
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
index c23c282f7e6..17546c66e26 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
@@ -225,19 +225,19 @@ public:
};
};
-class mob_tito : public CreatureScript
+class npc_tito : public CreatureScript
{
public:
- mob_tito() : CreatureScript("mob_tito") { }
+ npc_tito() : CreatureScript("npc_tito") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_titoAI(creature);
+ return new npc_titoAI(creature);
}
- struct mob_titoAI : public ScriptedAI
+ struct npc_titoAI : public ScriptedAI
{
- mob_titoAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_titoAI(Creature* creature) : ScriptedAI(creature) {}
uint64 DorotheeGUID;
uint32 YipTimer;
@@ -284,7 +284,7 @@ void boss_dorothee::boss_dorotheeAI::SummonTito()
if (Creature* pTito = me->SummonCreature(CREATURE_TITO, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000))
{
Talk(SAY_DOROTHEE_SUMMON);
- CAST_AI(mob_tito::mob_titoAI, pTito->AI())->DorotheeGUID = me->GetGUID();
+ CAST_AI(npc_tito::npc_titoAI, pTito->AI())->DorotheeGUID = me->GetGUID();
pTito->AI()->AttackStart(me->GetVictim());
SummonedTito = true;
TitoDied = false;
@@ -708,19 +708,19 @@ public:
};
};
-class mob_cyclone : public CreatureScript
+class npc_cyclone : public CreatureScript
{
public:
- mob_cyclone() : CreatureScript("mob_cyclone") { }
+ npc_cyclone() : CreatureScript("npc_cyclone") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_cycloneAI(creature);
+ return new npc_cycloneAI(creature);
}
- struct mob_cycloneAI : public ScriptedAI
+ struct npc_cycloneAI : public ScriptedAI
{
- mob_cycloneAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_cycloneAI(Creature* creature) : ScriptedAI(creature) {}
uint32 MoveTimer;
@@ -1520,8 +1520,8 @@ void AddSC_bosses_opera()
new boss_tinhead();
new boss_roar();
new boss_crone();
- new mob_tito();
- new mob_cyclone();
+ new npc_tito();
+ new npc_cyclone();
new npc_grandmother();
new boss_bigbadwolf();
new boss_julianne();
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
index 796eb22ae67..3c78c2daa7c 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp
@@ -453,7 +453,7 @@ public:
#define SAY_DIALOG_ARCANAGOS_8 "What have you done, wizard? This cannot be! I'm burning from... within!"
#define SAY_DIALOG_MEDIVH_9 "He should not have angered me. I must go... recover my strength now..."
-#define MOB_ARCANAGOS 17652
+#define NPC_ARCANAGOS 17652
#define SPELL_FIRE_BALL 30967
#define SPELL_UBER_FIREBALL 30971
#define SPELL_CONFLAGRATION_BLAST 30977
@@ -523,7 +523,7 @@ public:
{
Step = 1;
EventStarted = true;
- Creature* Arcanagos = me->SummonCreature(MOB_ARCANAGOS, ArcanagosPos[0], ArcanagosPos[1], ArcanagosPos[2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 20000);
+ Creature* Arcanagos = me->SummonCreature(NPC_ARCANAGOS, ArcanagosPos[0], ArcanagosPos[1], ArcanagosPos[2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 20000);
if (!Arcanagos)
return;
ArcanagosGUID = Arcanagos->GetGUID();
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
index dcb7acac7d6..619bc4e921c 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
@@ -432,19 +432,19 @@ public:
};
};
-class mob_felkael_flamestrike : public CreatureScript
+class npc_felkael_flamestrike : public CreatureScript
{
public:
- mob_felkael_flamestrike() : CreatureScript("mob_felkael_flamestrike") { }
+ npc_felkael_flamestrike() : CreatureScript("npc_felkael_flamestrike") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_felkael_flamestrikeAI(c);
+ return new npc_felkael_flamestrikeAI(c);
}
- struct mob_felkael_flamestrikeAI : public ScriptedAI
+ struct npc_felkael_flamestrikeAI : public ScriptedAI
{
- mob_felkael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
+ npc_felkael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -473,19 +473,19 @@ public:
};
};
-class mob_felkael_phoenix : public CreatureScript
+class npc_felkael_phoenix : public CreatureScript
{
public:
- mob_felkael_phoenix() : CreatureScript("mob_felkael_phoenix") { }
+ npc_felkael_phoenix() : CreatureScript("npc_felkael_phoenix") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_felkael_phoenixAI(c);
+ return new npc_felkael_phoenixAI(c);
}
- struct mob_felkael_phoenixAI : public ScriptedAI
+ struct npc_felkael_phoenixAI : public ScriptedAI
{
- mob_felkael_phoenixAI(Creature* creature) : ScriptedAI(creature)
+ npc_felkael_phoenixAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -586,19 +586,19 @@ public:
};
};
-class mob_felkael_phoenix_egg : public CreatureScript
+class npc_felkael_phoenix_egg : public CreatureScript
{
public:
- mob_felkael_phoenix_egg() : CreatureScript("mob_felkael_phoenix_egg") { }
+ npc_felkael_phoenix_egg() : CreatureScript("npc_felkael_phoenix_egg") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_felkael_phoenix_eggAI(c);
+ return new npc_felkael_phoenix_eggAI(c);
}
- struct mob_felkael_phoenix_eggAI : public ScriptedAI
+ struct npc_felkael_phoenix_eggAI : public ScriptedAI
{
- mob_felkael_phoenix_eggAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_felkael_phoenix_eggAI(Creature* creature) : ScriptedAI(creature) {}
uint32 HatchTimer;
@@ -621,19 +621,19 @@ public:
};
};
-class mob_arcane_sphere : public CreatureScript
+class npc_arcane_sphere : public CreatureScript
{
public:
- mob_arcane_sphere() : CreatureScript("mob_arcane_sphere") { }
+ npc_arcane_sphere() : CreatureScript("npc_arcane_sphere") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_arcane_sphereAI(c);
+ return new npc_arcane_sphereAI(c);
}
- struct mob_arcane_sphereAI : public ScriptedAI
+ struct npc_arcane_sphereAI : public ScriptedAI
{
- mob_arcane_sphereAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
+ npc_arcane_sphereAI(Creature* creature) : ScriptedAI(creature) { Reset(); }
uint32 DespawnTimer;
uint32 ChangeTargetTimer;
@@ -680,8 +680,8 @@ public:
void AddSC_boss_felblood_kaelthas()
{
new boss_felblood_kaelthas();
- new mob_arcane_sphere();
- new mob_felkael_phoenix();
- new mob_felkael_phoenix_egg();
- new mob_felkael_flamestrike();
+ new npc_arcane_sphere();
+ new npc_felkael_phoenix();
+ new npc_felkael_phoenix_egg();
+ new npc_felkael_flamestrike();
}
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
index 56361e2fd54..687cc9d393c 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
@@ -1293,14 +1293,14 @@ public:
};
/*
-class mob_high_explosive_sheep : public CreatureScript
+class npc_high_explosive_sheep : public CreatureScript
{
public:
- mob_high_explosive_sheep() : CreatureScript("mob_high_explosive_sheep") { }
+ npc_high_explosive_sheep() : CreatureScript("npc_high_explosive_sheep") { }
//CreatureAI* GetAI(Creature* creature) const
//{
- // return new mob_high_explosive_sheepAI (creature);
+ // return new npc_high_explosive_sheepAI (creature);
//};
};
*/
@@ -1316,5 +1316,5 @@ void AddSC_boss_priestess_delrissa()
new boss_garaxxas();
new boss_apoko();
new boss_zelfan();
- // new mob_high_explosive_sheep();
+ // new npc_high_explosive_sheep();
}
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
index e42582814fd..969a9abcbbf 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
@@ -320,19 +320,19 @@ public:
};
};
-class mob_fel_crystal : public CreatureScript
+class npc_fel_crystal : public CreatureScript
{
public:
- mob_fel_crystal() : CreatureScript("mob_fel_crystal") { }
+ npc_fel_crystal() : CreatureScript("npc_fel_crystal") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fel_crystalAI (creature);
+ return new npc_fel_crystalAI (creature);
};
- struct mob_fel_crystalAI : public ScriptedAI
+ struct npc_fel_crystalAI : public ScriptedAI
{
- mob_fel_crystalAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_fel_crystalAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
@@ -368,5 +368,5 @@ public:
void AddSC_boss_selin_fireheart()
{
new boss_selin_fireheart();
- new mob_fel_crystal();
+ new npc_fel_crystal();
}
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
index 0872e5b9935..d9de112992b 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
@@ -196,19 +196,19 @@ public:
};
};
-class mob_pure_energy : public CreatureScript
+class npc_pure_energy : public CreatureScript
{
public:
- mob_pure_energy() : CreatureScript("mob_pure_energy") { }
+ npc_pure_energy() : CreatureScript("npc_pure_energy") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_pure_energyAI (creature);
+ return new npc_pure_energyAI (creature);
};
- struct mob_pure_energyAI : public ScriptedAI
+ struct npc_pure_energyAI : public ScriptedAI
{
- mob_pure_energyAI(Creature* creature) : ScriptedAI(creature)
+ npc_pure_energyAI(Creature* creature) : ScriptedAI(creature)
{
me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
}
@@ -233,5 +233,5 @@ public:
void AddSC_boss_vexallus()
{
new boss_vexallus();
- new mob_pure_energy();
+ new npc_pure_energy();
}
diff --git a/src/server/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp b/src/server/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp
index aa563bf3180..562af075b98 100644
--- a/src/server/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp
+++ b/src/server/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp
@@ -101,14 +101,14 @@ class boss_garr : public CreatureScript
}
};
-class mob_firesworn : public CreatureScript
+class npc_firesworn : public CreatureScript
{
public:
- mob_firesworn() : CreatureScript("mob_firesworn") { }
+ npc_firesworn() : CreatureScript("npc_firesworn") { }
- struct mob_fireswornAI : public ScriptedAI
+ struct npc_fireswornAI : public ScriptedAI
{
- mob_fireswornAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_fireswornAI(Creature* creature) : ScriptedAI(creature) {}
uint32 immolateTimer;
@@ -149,12 +149,12 @@ class mob_firesworn : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fireswornAI(creature);
+ return new npc_fireswornAI(creature);
}
};
void AddSC_boss_garr()
{
new boss_garr();
- new mob_firesworn();
+ new npc_firesworn();
}
diff --git a/src/server/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp b/src/server/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp
index 8ddc7dc01bd..7e798aa815e 100644
--- a/src/server/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp
+++ b/src/server/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp
@@ -122,14 +122,14 @@ class boss_golemagg : public CreatureScript
}
};
-class mob_core_rager : public CreatureScript
+class npc_core_rager : public CreatureScript
{
public:
- mob_core_rager() : CreatureScript("mob_core_rager") { }
+ npc_core_rager() : CreatureScript("npc_core_rager") { }
- struct mob_core_ragerAI : public ScriptedAI
+ struct npc_core_ragerAI : public ScriptedAI
{
- mob_core_ragerAI(Creature* creature) : ScriptedAI(creature)
+ npc_core_ragerAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -179,12 +179,12 @@ class mob_core_rager : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_core_ragerAI(creature);
+ return new npc_core_ragerAI(creature);
}
};
void AddSC_boss_golemagg()
{
new boss_golemagg();
- new mob_core_rager();
+ new npc_core_rager();
}
diff --git a/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp b/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
index 5e3ff1d4921..c67272ac068 100644
--- a/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
+++ b/src/server/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
@@ -310,14 +310,14 @@ class boss_ragnaros : public CreatureScript
}
};
-class mob_son_of_flame : public CreatureScript
+class npc_son_of_flame : public CreatureScript
{
public:
- mob_son_of_flame() : CreatureScript("mob_SonOfFlame") { }
+ npc_son_of_flame() : CreatureScript("npc_SonOfFlame") { }
- struct mob_son_of_flameAI : public ScriptedAI //didnt work correctly in EAI for me...
+ struct npc_son_of_flameAI : public ScriptedAI //didnt work correctly in EAI for me...
{
- mob_son_of_flameAI(Creature* creature) : ScriptedAI(creature)
+ npc_son_of_flameAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
@@ -342,12 +342,12 @@ class mob_son_of_flame : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_son_of_flameAI(creature);
+ return new npc_son_of_flameAI(creature);
}
};
void AddSC_boss_ragnaros()
{
new boss_ragnaros();
- new mob_son_of_flame();
+ new npc_son_of_flame();
}
diff --git a/src/server/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp b/src/server/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp
index b4c2372a015..0a2ddb9c43d 100644
--- a/src/server/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp
+++ b/src/server/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp
@@ -133,14 +133,14 @@ class boss_sulfuron : public CreatureScript
}
};
-class mob_flamewaker_priest : public CreatureScript
+class npc_flamewaker_priest : public CreatureScript
{
public:
- mob_flamewaker_priest() : CreatureScript("mob_flamewaker_priest") { }
+ npc_flamewaker_priest() : CreatureScript("npc_flamewaker_priest") { }
- struct mob_flamewaker_priestAI : public ScriptedAI
+ struct npc_flamewaker_priestAI : public ScriptedAI
{
- mob_flamewaker_priestAI(Creature* creature) : ScriptedAI(creature)
+ npc_flamewaker_priestAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -205,12 +205,12 @@ class mob_flamewaker_priest : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_flamewaker_priestAI(creature);
+ return new npc_flamewaker_priestAI(creature);
}
};
void AddSC_boss_sulfuron()
{
new boss_sulfuron();
- new mob_flamewaker_priest();
+ new npc_flamewaker_priest();
}
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp
index a9374481b77..024ef01ce6d 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp
@@ -363,19 +363,19 @@ enum ScarletCourierEnum
NPC_SCARLET_COURIER = 29076
};
-class mob_scarlet_courier : public CreatureScript
+class npc_scarlet_courier : public CreatureScript
{
public:
- mob_scarlet_courier() : CreatureScript("mob_scarlet_courier") { }
+ npc_scarlet_courier() : CreatureScript("npc_scarlet_courier") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_scarlet_courierAI (creature);
+ return new npc_scarlet_courierAI (creature);
}
- struct mob_scarlet_courierAI : public ScriptedAI
+ struct npc_scarlet_courierAI : public ScriptedAI
{
- mob_scarlet_courierAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_scarlet_courierAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiStage;
uint32 uiStage_timer;
@@ -455,19 +455,19 @@ enum valroth
SPELL_SUMMON_VALROTH_REMAINS = 52929
};
-class mob_high_inquisitor_valroth : public CreatureScript
+class npc_high_inquisitor_valroth : public CreatureScript
{
public:
- mob_high_inquisitor_valroth() : CreatureScript("mob_high_inquisitor_valroth") { }
+ npc_high_inquisitor_valroth() : CreatureScript("npc_high_inquisitor_valroth") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_high_inquisitor_valrothAI (creature);
+ return new npc_high_inquisitor_valrothAI (creature);
}
- struct mob_high_inquisitor_valrothAI : public ScriptedAI
+ struct npc_high_inquisitor_valrothAI : public ScriptedAI
{
- mob_high_inquisitor_valrothAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_high_inquisitor_valrothAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiRenew_timer;
uint32 uiInquisitor_Penance_timer;
@@ -1013,8 +1013,8 @@ public:
void AddSC_the_scarlet_enclave_c2()
{
new npc_crusade_persuaded();
- new mob_scarlet_courier();
+ new npc_scarlet_courier();
new npc_koltira_deathweaver();
- new mob_high_inquisitor_valroth();
+ new npc_high_inquisitor_valroth();
new npc_a_special_surprise();
}
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
index fd382e1933f..4334242641c 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
@@ -141,19 +141,19 @@ static char const* Text[]=
#define EMOTE_LAUGHS "Headless Horseman laughs" // needs assigned to db.
-class mob_wisp_invis : public CreatureScript
+class npc_wisp_invis : public CreatureScript
{
public:
- mob_wisp_invis() : CreatureScript("mob_wisp_invis") { }
+ npc_wisp_invis() : CreatureScript("npc_wisp_invis") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_wisp_invisAI (creature);
+ return new npc_wisp_invisAI (creature);
}
- struct mob_wisp_invisAI : public ScriptedAI
+ struct npc_wisp_invisAI : public ScriptedAI
{
- mob_wisp_invisAI(Creature* creature) : ScriptedAI(creature)
+ npc_wisp_invisAI(Creature* creature) : ScriptedAI(creature)
{
Creaturetype = delay = spell = spell2 = 0;
}
@@ -220,19 +220,19 @@ public:
};
};
-class mob_head : public CreatureScript
+class npc_head : public CreatureScript
{
public:
- mob_head() : CreatureScript("mob_head") { }
+ npc_head() : CreatureScript("npc_head") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_headAI (creature);
+ return new npc_headAI (creature);
}
- struct mob_headAI : public ScriptedAI
+ struct npc_headAI : public ScriptedAI
{
- mob_headAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_headAI(Creature* creature) : ScriptedAI(creature) {}
uint64 bodyGUID;
@@ -468,7 +468,7 @@ public:
case 1:
{
if (Creature* smoke = me->SummonCreature(HELPER, Spawn[1].x, Spawn[1].y, Spawn[1].z, 0, TEMPSUMMON_TIMED_DESPAWN, 20000))
- CAST_AI(mob_wisp_invis::mob_wisp_invisAI, smoke->AI())->SetType(3);
+ CAST_AI(npc_wisp_invis::npc_wisp_invisAI, smoke->AI())->SetType(3);
DoCast(me, SPELL_RHYME_BIG);
break;
}
@@ -520,7 +520,7 @@ public:
SaySound(SAY_PLAYER_DEATH);
//maybe possible when player dies from conflagration
else if (Creature* Head = Unit::GetCreature((*me), headGUID))
- CAST_AI(mob_head::mob_headAI, Head->AI())->SaySound(SAY_PLAYER_DEATH);
+ CAST_AI(npc_head::npc_headAI, Head->AI())->SaySound(SAY_PLAYER_DEATH);
}
}
@@ -572,7 +572,7 @@ public:
if (Creature* flame = DoSpawnCreature(HELPER, 0, 0, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 60000))
flame->CastSpell(flame, SPELL_BODY_FLAME, false);
if (Creature* wisp = DoSpawnCreature(WISP_INVIS, 0, 0, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 60000))
- CAST_AI(mob_wisp_invis::mob_wisp_invisAI, wisp->AI())->SetType(4);
+ CAST_AI(npc_wisp_invis::npc_wisp_invisAI, wisp->AI())->SetType(4);
if (instance)
instance->SetData(DATA_HORSEMAN_EVENT, DONE);
@@ -693,7 +693,7 @@ public:
if (burn <= diff)
{
if (Creature* flame = me->SummonCreature(HELPER, Spawn[0].x, Spawn[0].y, Spawn[0].z, 0, TEMPSUMMON_TIMED_DESPAWN, 17000))
- CAST_AI(mob_wisp_invis::mob_wisp_invisAI, flame->AI())->SetType(2);
+ CAST_AI(npc_wisp_invis::npc_wisp_invisAI, flame->AI())->SetType(2);
burned = true;
}
else burn -= diff;
@@ -752,8 +752,8 @@ public:
Creature* Head = Unit::GetCreature((*me), headGUID);
if (Head && Head->IsAlive())
{
- CAST_AI(mob_head::mob_headAI, Head->AI())->Phase = Phase;
- CAST_AI(mob_head::mob_headAI, Head->AI())->Disappear();
+ CAST_AI(npc_head::npc_headAI, Head->AI())->Phase = Phase;
+ CAST_AI(npc_head::npc_headAI, Head->AI())->Disappear();
}
return;
}
@@ -778,19 +778,19 @@ public:
};
};
-class mob_pulsing_pumpkin : public CreatureScript
+class npc_pulsing_pumpkin : public CreatureScript
{
public:
- mob_pulsing_pumpkin() : CreatureScript("mob_pulsing_pumpkin") { }
+ npc_pulsing_pumpkin() : CreatureScript("npc_pulsing_pumpkin") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_pulsing_pumpkinAI (creature);
+ return new npc_pulsing_pumpkinAI (creature);
}
- struct mob_pulsing_pumpkinAI : public ScriptedAI
+ struct npc_pulsing_pumpkinAI : public ScriptedAI
{
- mob_pulsing_pumpkinAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_pulsing_pumpkinAI(Creature* creature) : ScriptedAI(creature) {}
bool sprouted;
uint64 debuffGUID;
@@ -806,7 +806,7 @@ public:
{
debuff->SetDisplayId(me->GetDisplayId());
debuff->CastSpell(debuff, SPELL_PUMPKIN_AURA_GREEN, false);
- CAST_AI(mob_wisp_invis::mob_wisp_invisAI, debuff->AI())->SetType(1);
+ CAST_AI(npc_wisp_invis::npc_wisp_invisAI, debuff->AI())->SetType(1);
debuffGUID = debuff->GetGUID();
}
sprouted = false;
@@ -899,7 +899,7 @@ public:
}
};
-void mob_head::mob_headAI::Disappear()
+void npc_head::npc_headAI::Disappear()
{
if (withbody)
return;
@@ -925,8 +925,8 @@ void mob_head::mob_headAI::Disappear()
void AddSC_boss_headless_horseman()
{
new boss_headless_horseman();
- new mob_head();
- new mob_pulsing_pumpkin();
- new mob_wisp_invis();
+ new npc_head();
+ new npc_pulsing_pumpkin();
+ new npc_wisp_invis();
new go_loosely_turned_soil();
}
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
index 491cbf6ea11..ff0bc877686 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
@@ -129,19 +129,19 @@ public:
};
};
-class mob_scarlet_trainee : public CreatureScript
+class npc_scarlet_trainee : public CreatureScript
{
public:
- mob_scarlet_trainee() : CreatureScript("mob_scarlet_trainee") { }
+ npc_scarlet_trainee() : CreatureScript("npc_scarlet_trainee") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_scarlet_traineeAI(creature);
+ return new npc_scarlet_traineeAI(creature);
}
- struct mob_scarlet_traineeAI : public npc_escortAI
+ struct npc_scarlet_traineeAI : public npc_escortAI
{
- mob_scarlet_traineeAI(Creature* creature) : npc_escortAI(creature)
+ npc_scarlet_traineeAI(Creature* creature) : npc_escortAI(creature)
{
Start_Timer = urand(1000, 6000);
}
@@ -171,5 +171,5 @@ public:
void AddSC_boss_herod()
{
new boss_herod();
- new mob_scarlet_trainee();
+ new npc_scarlet_trainee();
}
diff --git a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
index 7a46483a897..d233b09bed2 100644
--- a/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
+++ b/src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
@@ -154,19 +154,19 @@ public:
// Illusion of Jandice Barov Script
-class mob_illusionofjandicebarov : public CreatureScript
+class npc_illusionofjandicebarov : public CreatureScript
{
public:
- mob_illusionofjandicebarov() : CreatureScript("mob_illusionofjandicebarov") { }
+ npc_illusionofjandicebarov() : CreatureScript("npc_illusionofjandicebarov") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_illusionofjandicebarovAI (creature);
+ return new npc_illusionofjandicebarovAI (creature);
}
- struct mob_illusionofjandicebarovAI : public ScriptedAI
+ struct npc_illusionofjandicebarovAI : public ScriptedAI
{
- mob_illusionofjandicebarovAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_illusionofjandicebarovAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Cleave_Timer;
@@ -205,5 +205,5 @@ public:
void AddSC_boss_jandicebarov()
{
new boss_jandice_barov();
- new mob_illusionofjandicebarov();
+ new npc_illusionofjandicebarov();
}
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
index 396efc4bc7e..a8b981dc44f 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.cpp
@@ -25,9 +25,9 @@ EndScriptData */
/* ContentData
go_gauntlet_gate
-mob_freed_soul
-mob_restless_soul
-mobs_spectral_ghostly_citizen
+npc_freed_soul
+npc_restless_soul
+npc_spectral_ghostly_citizen
EndContentData */
#include "ScriptMgr.h"
@@ -81,26 +81,26 @@ public:
};
/*######
-## mob_freed_soul
+## npc_freed_soul
######*/
enum FreedSoul
{
SAY_ZAPPED = 0
};
-class mob_freed_soul : public CreatureScript
+class npc_freed_soul : public CreatureScript
{
public:
- mob_freed_soul() : CreatureScript("mob_freed_soul") { }
+ npc_freed_soul() : CreatureScript("npc_freed_soul") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_freed_soulAI (creature);
+ return new npc_freed_soulAI (creature);
}
- struct mob_freed_soulAI : public ScriptedAI
+ struct npc_freed_soulAI : public ScriptedAI
{
- mob_freed_soulAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_freed_soulAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -113,7 +113,7 @@ public:
};
/*######
-## mob_restless_soul
+## npc_restless_soul
######*/
#define SPELL_EGAN_BLASTER 17368
@@ -122,19 +122,19 @@ public:
#define ENTRY_RESTLESS 11122
#define ENTRY_FREED 11136
-class mob_restless_soul : public CreatureScript
+class npc_restless_soul : public CreatureScript
{
public:
- mob_restless_soul() : CreatureScript("mob_restless_soul") { }
+ npc_restless_soul() : CreatureScript("npc_restless_soul") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_restless_soulAI (creature);
+ return new npc_restless_soulAI (creature);
}
- struct mob_restless_soulAI : public ScriptedAI
+ struct npc_restless_soulAI : public ScriptedAI
{
- mob_restless_soulAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_restless_soulAI(Creature* creature) : ScriptedAI(creature) {}
uint64 Tagger;
uint32 Die_Timer;
@@ -195,7 +195,7 @@ public:
};
/*######
-## mobs_spectral_ghostly_citizen
+## npc_spectral_ghostly_citizen
######*/
enum eGhostlyCitizenSpells
@@ -204,19 +204,19 @@ enum eGhostlyCitizenSpells
SPELL_SLAP = 6754
};
-class mobs_spectral_ghostly_citizen : public CreatureScript
+class npc_spectral_ghostly_citizen : public CreatureScript
{
public:
- mobs_spectral_ghostly_citizen() : CreatureScript("mobs_spectral_ghostly_citizen") { }
+ npc_spectral_ghostly_citizen() : CreatureScript("npc_spectral_ghostly_citizen") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_spectral_ghostly_citizenAI (creature);
+ return new npc_spectral_ghostly_citizenAI (creature);
}
- struct mobs_spectral_ghostly_citizenAI : public ScriptedAI
+ struct npc_spectral_ghostly_citizenAI : public ScriptedAI
{
- mobs_spectral_ghostly_citizenAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_spectral_ghostly_citizenAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Die_Timer;
bool Tagged;
@@ -294,7 +294,7 @@ public:
void AddSC_stratholme()
{
new go_gauntlet_gate();
- new mob_freed_soul();
- new mob_restless_soul();
- new mobs_spectral_ghostly_citizen();
+ new npc_freed_soul();
+ new npc_restless_soul();
+ new npc_spectral_ghostly_citizen();
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
index b9aef826738..31f93d70e00 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
@@ -294,7 +294,7 @@ public:
for (uint8 i = 0; i<3; ++i)
{
target = SelectTarget(SELECT_TARGET_RANDOM, 0);
- temp = DoSpawnCreature(MOB_SHADOW_IMAGE, 0, 0, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 10000);
+ temp = DoSpawnCreature(NPC_SHADOW_IMAGE, 0, 0, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 10000);
if (temp && target)
{
temp->AddThreat(target, 1000000);//don't change target(healers)
@@ -661,19 +661,19 @@ public:
};
};
-class mob_shadow_image : public CreatureScript
+class npc_shadow_image : public CreatureScript
{
public:
- mob_shadow_image() : CreatureScript("mob_shadow_image") { }
+ npc_shadow_image() : CreatureScript("npc_shadow_image") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shadow_imageAI (creature);
+ return new npc_shadow_imageAI (creature);
};
- struct mob_shadow_imageAI : public ScriptedAI
+ struct npc_shadow_imageAI : public ScriptedAI
{
- mob_shadow_imageAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_shadow_imageAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowfuryTimer;
uint32 KillTimer;
@@ -745,5 +745,5 @@ void AddSC_boss_eredar_twins()
{
new boss_sacrolash();
new boss_alythess();
- new mob_shadow_image();
+ new npc_shadow_image();
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
index 7db85b79d20..e7bc4d18a95 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
@@ -145,7 +145,7 @@ public:
me->SetFloatValue(UNIT_FIELD_BOUNDINGRADIUS, 10);
me->SetFloatValue(UNIT_FIELD_COMBATREACH, 10);
- DespawnSummons(MOB_VAPOR_TRAIL);
+ DespawnSummons(NPC_VAPOR_TRAIL);
me->setActive(false);
if (instance)
@@ -208,7 +208,7 @@ public:
{
float x, y, z;
caster->GetPosition(x, y, z);
- if (Unit* summon = me->SummonCreature(MOB_DEAD, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000))
+ if (Unit* summon = me->SummonCreature(NPC_DEAD, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000))
{
summon->SetMaxHealth(caster->GetMaxHealth());
summon->SetHealth(caster->GetMaxHealth());
@@ -221,7 +221,7 @@ public:
void JustSummoned(Creature* summon)
{
- if (summon->GetEntry() == MOB_DEAD)
+ if (summon->GetEntry() == NPC_DEAD)
{
summon->AI()->AttackStart(SelectTarget(SELECT_TARGET_RANDOM));
DoZoneInCombat(summon);
@@ -296,7 +296,7 @@ public:
return;
}
- Creature* Vapor = me->SummonCreature(MOB_VAPOR, target->GetPositionX()-5+rand()%10, target->GetPositionY()-5+rand()%10, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 9000);
+ Creature* Vapor = me->SummonCreature(NPC_VAPOR, target->GetPositionX()-5+rand()%10, target->GetPositionY()-5+rand()%10, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 9000);
if (Vapor)
{
Vapor->AI()->AttackStart(target);
@@ -310,7 +310,7 @@ public:
}
case 3:
{
- DespawnSummons(MOB_VAPOR_TRAIL);
+ DespawnSummons(NPC_VAPOR_TRAIL);
//DoCast(me, SPELL_VAPOR_SELECT); need core support
Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 150, true);
@@ -324,7 +324,7 @@ public:
}
//target->CastSpell(target, SPELL_VAPOR_SUMMON, true); need core support
- Creature* pVapor = me->SummonCreature(MOB_VAPOR, target->GetPositionX()-5+rand()%10, target->GetPositionY()-5+rand()%10, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 9000);
+ Creature* pVapor = me->SummonCreature(NPC_VAPOR, target->GetPositionX()-5+rand()%10, target->GetPositionY()-5+rand()%10, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 9000);
if (pVapor)
{
if (pVapor->AI())
@@ -338,7 +338,7 @@ public:
break;
}
case 4:
- DespawnSummons(MOB_VAPOR_TRAIL);
+ DespawnSummons(NPC_VAPOR_TRAIL);
events.ScheduleEvent(EVENT_FLIGHT_SEQUENCE, 1);
break;
case 5:
@@ -469,7 +469,7 @@ public:
float x, y, z;
me->GetPosition(x, y, z);
me->UpdateGroundPositionZ(x, y, z);
- if (Creature* Fog = me->SummonCreature(MOB_VAPOR_TRAIL, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN, 10000))
+ if (Creature* Fog = me->SummonCreature(NPC_VAPOR_TRAIL, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN, 10000))
{
Fog->RemoveAurasDueToSpell(SPELL_TRAIL_TRIGGER);
Fog->CastSpell(Fog, SPELL_FOG_TRIGGER, true);
@@ -499,10 +499,10 @@ public:
for (std::list<Creature*>::const_iterator i = templist.begin(); i != templist.end(); ++i)
{
- if (entry == MOB_VAPOR_TRAIL && phase == PHASE_FLIGHT)
+ if (entry == NPC_VAPOR_TRAIL && phase == PHASE_FLIGHT)
{
(*i)->GetPosition(x, y, z);
- me->SummonCreature(MOB_DEAD, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_DEAD, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
}
(*i)->SetVisible(false);
(*i)->setDeathState(JUST_DIED);
@@ -513,19 +513,19 @@ public:
};
};
-class mob_felmyst_vapor : public CreatureScript
+class npc_felmyst_vapor : public CreatureScript
{
public:
- mob_felmyst_vapor() : CreatureScript("mob_felmyst_vapor") { }
+ npc_felmyst_vapor() : CreatureScript("npc_felmyst_vapor") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_felmyst_vaporAI(creature);
+ return new npc_felmyst_vaporAI(creature);
}
- struct mob_felmyst_vaporAI : public ScriptedAI
+ struct npc_felmyst_vaporAI : public ScriptedAI
{
- mob_felmyst_vaporAI(Creature* creature) : ScriptedAI(creature)
+ npc_felmyst_vaporAI(Creature* creature) : ScriptedAI(creature)
{
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
me->SetSpeed(MOVE_RUN, 0.8f);
@@ -545,19 +545,19 @@ public:
};
};
-class mob_felmyst_trail : public CreatureScript
+class npc_felmyst_trail : public CreatureScript
{
public:
- mob_felmyst_trail() : CreatureScript("mob_felmyst_trail") { }
+ npc_felmyst_trail() : CreatureScript("npc_felmyst_trail") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_felmyst_trailAI(creature);
+ return new npc_felmyst_trailAI(creature);
}
- struct mob_felmyst_trailAI : public ScriptedAI
+ struct npc_felmyst_trailAI : public ScriptedAI
{
- mob_felmyst_trailAI(Creature* creature) : ScriptedAI(creature)
+ npc_felmyst_trailAI(Creature* creature) : ScriptedAI(creature)
{
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
DoCast(me, SPELL_TRAIL_TRIGGER, true);
@@ -575,6 +575,6 @@ public:
void AddSC_boss_felmyst()
{
new boss_felmyst();
- new mob_felmyst_vapor();
- new mob_felmyst_trail();
+ new npc_felmyst_vapor();
+ new npc_felmyst_trail();
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
index c24e5864fae..cce84e3714a 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
@@ -627,7 +627,7 @@ public:
void EnterCombat(Unit* /*who*/)
{
- if (Creature* Kalec = me->SummonCreature(MOB_KALEC, me->GetPositionX() + 10, me->GetPositionY() + 5, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 0))
+ if (Creature* Kalec = me->SummonCreature(NPC_KALEC, me->GetPositionX() + 10, me->GetPositionY() + 5, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 0))
{
KalecGUID = Kalec->GetGUID();
me->CombatStart(Kalec);
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
index c0d7bb19b9d..9f4e8edc8cc 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
@@ -382,19 +382,19 @@ public:
};
//AI for Kil'jaeden Event Controller
-class mob_kiljaeden_controller : public CreatureScript
+class npc_kiljaeden_controller : public CreatureScript
{
public:
- mob_kiljaeden_controller() : CreatureScript("mob_kiljaeden_controller") { }
+ npc_kiljaeden_controller() : CreatureScript("npc_kiljaeden_controller") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_kiljaeden_controllerAI (creature);
+ return new npc_kiljaeden_controllerAI (creature);
}
- struct mob_kiljaeden_controllerAI : public ScriptedAI
+ struct npc_kiljaeden_controllerAI : public ScriptedAI
{
- mob_kiljaeden_controllerAI(Creature* creature) : ScriptedAI(creature), summons(me)
+ npc_kiljaeden_controllerAI(Creature* creature) : ScriptedAI(creature), summons(me)
{
instance = creature->GetInstanceScript();
@@ -627,7 +627,7 @@ public:
if (instance)
{
if (Creature* pControl = Unit::GetCreature(*me, instance->GetData64(DATA_KILJAEDEN_CONTROLLER)))
- CAST_AI(mob_kiljaeden_controller::mob_kiljaeden_controllerAI, pControl->AI())->Reset();
+ CAST_AI(npc_kiljaeden_controller::npc_kiljaeden_controllerAI, pControl->AI())->Reset();
}
}
@@ -894,19 +894,19 @@ public:
};
//AI for Hand of the Deceiver
-class mob_hand_of_the_deceiver : public CreatureScript
+class npc_hand_of_the_deceiver : public CreatureScript
{
public:
- mob_hand_of_the_deceiver() : CreatureScript("mob_hand_of_the_deceiver") { }
+ npc_hand_of_the_deceiver() : CreatureScript("npc_hand_of_the_deceiver") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_hand_of_the_deceiverAI (creature);
+ return new npc_hand_of_the_deceiverAI (creature);
}
- struct mob_hand_of_the_deceiverAI : public ScriptedAI
+ struct npc_hand_of_the_deceiverAI : public ScriptedAI
{
- mob_hand_of_the_deceiverAI(Creature* creature) : ScriptedAI(creature)
+ npc_hand_of_the_deceiverAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -948,7 +948,7 @@ public:
return;
if (Creature* pControl = Unit::GetCreature(*me, instance->GetData64(DATA_KILJAEDEN_CONTROLLER)))
- ++(CAST_AI(mob_kiljaeden_controller::mob_kiljaeden_controllerAI, pControl->AI())->deceiverDeathCount);
+ ++(CAST_AI(npc_kiljaeden_controller::npc_kiljaeden_controllerAI, pControl->AI())->deceiverDeathCount);
}
void UpdateAI(uint32 diff)
@@ -994,19 +994,19 @@ public:
};
//AI for Felfire Portal
-class mob_felfire_portal : public CreatureScript
+class npc_felfire_portal : public CreatureScript
{
public:
- mob_felfire_portal() : CreatureScript("mob_felfire_portal") { }
+ npc_felfire_portal() : CreatureScript("npc_felfire_portal") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_felfire_portalAI (creature);
+ return new npc_felfire_portalAI (creature);
}
- struct mob_felfire_portalAI : public ScriptedAI
+ struct npc_felfire_portalAI : public ScriptedAI
{
- mob_felfire_portalAI(Creature* creature) : ScriptedAI(creature)
+ npc_felfire_portalAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -1041,19 +1041,19 @@ public:
};
//AI for Felfire Fiend
-class mob_volatile_felfire_fiend : public CreatureScript
+class npc_volatile_felfire_fiend : public CreatureScript
{
public:
- mob_volatile_felfire_fiend() : CreatureScript("mob_volatile_felfire_fiend") { }
+ npc_volatile_felfire_fiend() : CreatureScript("npc_volatile_felfire_fiend") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_volatile_felfire_fiendAI (creature);
+ return new npc_volatile_felfire_fiendAI (creature);
}
- struct mob_volatile_felfire_fiendAI : public ScriptedAI
+ struct npc_volatile_felfire_fiendAI : public ScriptedAI
{
- mob_volatile_felfire_fiendAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_volatile_felfire_fiendAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiExplodeTimer;
@@ -1098,19 +1098,19 @@ public:
};
//AI for Armageddon target
-class mob_armageddon : public CreatureScript
+class npc_armageddon : public CreatureScript
{
public:
- mob_armageddon() : CreatureScript("mob_armageddon") { }
+ npc_armageddon() : CreatureScript("npc_armageddon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_armageddonAI (creature);
+ return new npc_armageddonAI (creature);
}
- struct mob_armageddonAI : public ScriptedAI
+ struct npc_armageddonAI : public ScriptedAI
{
- mob_armageddonAI(Creature* creature) : ScriptedAI(creature)
+ npc_armageddonAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -1155,19 +1155,19 @@ public:
};
//AI for Shield Orbs
-class mob_shield_orb : public CreatureScript
+class npc_shield_orb : public CreatureScript
{
public:
- mob_shield_orb() : CreatureScript("mob_shield_orb") { }
+ npc_shield_orb() : CreatureScript("npc_shield_orb") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shield_orbAI (creature);
+ return new npc_shield_orbAI (creature);
}
- struct mob_shield_orbAI : public ScriptedAI
+ struct npc_shield_orbAI : public ScriptedAI
{
- mob_shield_orbAI(Creature* creature) : ScriptedAI(creature)
+ npc_shield_orbAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1242,19 +1242,19 @@ public:
};
//AI for Sinister Reflection
-class mob_sinster_reflection : public CreatureScript
+class npc_sinster_reflection : public CreatureScript
{
public:
- mob_sinster_reflection() : CreatureScript("mob_sinster_reflection") { }
+ npc_sinster_reflection() : CreatureScript("npc_sinster_reflection") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_sinster_reflectionAI (creature);
+ return new npc_sinster_reflectionAI (creature);
}
- struct mob_sinster_reflectionAI : public ScriptedAI
+ struct npc_sinster_reflectionAI : public ScriptedAI
{
- mob_sinster_reflectionAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_sinster_reflectionAI(Creature* creature) : ScriptedAI(creature) {}
uint8 victimClass;
uint32 uiTimer[3];
@@ -1416,11 +1416,11 @@ void AddSC_boss_kiljaeden()
new go_orb_of_the_blue_flight();
new boss_kalecgos_kj();
new boss_kiljaeden();
- new mob_kiljaeden_controller();
- new mob_hand_of_the_deceiver();
- new mob_felfire_portal();
- new mob_volatile_felfire_fiend();
- new mob_armageddon();
- new mob_shield_orb();
- new mob_sinster_reflection();
+ new npc_kiljaeden_controller();
+ new npc_hand_of_the_deceiver();
+ new npc_felfire_portal();
+ new npc_volatile_felfire_fiend();
+ new npc_armageddon();
+ new npc_shield_orb();
+ new npc_sinster_reflection();
}
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h b/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h
index 2efffc816c0..343720dbdb1 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h
@@ -62,20 +62,20 @@ enum Creatures
{
BOSS_MURU = 25741,
BOSS_ENTROPIUS = 25840,
- MOB_KALECGOS = 24850,
- MOB_KALEC = 24891,
- MOB_SATHROVARR = 24892,
+ NPC_KALECGOS = 24850,
+ NPC_KALEC = 24891,
+ NPC_SATHROVARR = 24892,
- MOB_DEAD = 25268,
- MOB_FLIGHT_LEFT = 25357,
- MOB_FLIGHT_RIGHT = 25358,
- MOB_DEATH_CLOUD = 25703,
- MOB_VAPOR = 25265,
- MOB_VAPOR_TRAIL = 25267,
+ NPC_DEAD = 25268,
+ NPC_FLIGHT_LEFT = 25357,
+ NPC_FLIGHT_RIGHT = 25358,
+ NPC_DEATH_CLOUD = 25703,
+ NPC_VAPOR = 25265,
+ NPC_VAPOR_TRAIL = 25267,
- MOB_GRAND_WARLOCK_ALYTHESS = 25166,
- MOB_SHADOW_IMAGE = 25214,
- MOB_LADY_SACROLASH = 25165,
+ NPC_GRAND_WARLOCK_ALYTHESS = 25166,
+ NPC_SHADOW_IMAGE = 25214,
+ NPC_LADY_SACROLASH = 25165,
CREATURE_ANVEENA = 26046, // Embodiment of the Sunwell
CREATURE_KALECGOS = 25319, // Helps the raid throughout the fight
diff --git a/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp b/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
index f7f2dbfa6f7..ed7332510fc 100644
--- a/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
+++ b/src/server/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
@@ -211,24 +211,24 @@ class boss_archaedas : public CreatureScript
};
/* ScriptData
-SDName: mob_archaedas_minions
+SDName: npc_archaedas_minions
SD%Complete: 100
SDComment: These mobs are initially frozen until Archaedas awakens them
one at a time.
EndScriptData */
-class mob_archaedas_minions : public CreatureScript
+class npc_archaedas_minions : public CreatureScript
{
public:
- mob_archaedas_minions()
- : CreatureScript("mob_archaedas_minions")
+ npc_archaedas_minions()
+ : CreatureScript("npc_archaedas_minions")
{
}
- struct mob_archaedas_minionsAI : public ScriptedAI
+ struct npc_archaedas_minionsAI : public ScriptedAI
{
- mob_archaedas_minionsAI(Creature* creature) : ScriptedAI(creature)
+ npc_archaedas_minionsAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
@@ -303,29 +303,29 @@ class mob_archaedas_minions : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_archaedas_minionsAI(creature);
+ return new npc_archaedas_minionsAI(creature);
}
};
/* ScriptData
-SDName: mob_stonekeepers
+SDName: npc_stonekeepers
SD%Complete: 100
SDComment: After activating the altar of the keepers, the stone keepers will
wake up one by one.
EndScriptData */
-class mob_stonekeepers : public CreatureScript
+class npc_stonekeepers : public CreatureScript
{
public:
- mob_stonekeepers()
- : CreatureScript("mob_stonekeepers")
+ npc_stonekeepers()
+ : CreatureScript("npc_stonekeepers")
{
}
- struct mob_stonekeepersAI : public ScriptedAI
+ struct npc_stonekeepersAI : public ScriptedAI
{
- mob_stonekeepersAI(Creature* creature) : ScriptedAI(creature)
+ npc_stonekeepersAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
@@ -366,7 +366,7 @@ class mob_stonekeepers : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_stonekeepersAI(creature);
+ return new npc_stonekeepersAI(creature);
}
};
@@ -404,8 +404,8 @@ class go_altar_of_archaedas : public GameObjectScript
void AddSC_boss_archaedas()
{
new boss_archaedas();
- new mob_archaedas_minions();
- new mob_stonekeepers();
+ new npc_archaedas_minions();
+ new npc_stonekeepers();
new go_altar_of_archaedas();
}
diff --git a/src/server/scripts/EasternKingdoms/Uldaman/uldaman.cpp b/src/server/scripts/EasternKingdoms/Uldaman/uldaman.cpp
index 3a84c79afdc..5f9577e12fa 100644
--- a/src/server/scripts/EasternKingdoms/Uldaman/uldaman.cpp
+++ b/src/server/scripts/EasternKingdoms/Uldaman/uldaman.cpp
@@ -24,7 +24,7 @@ SDCategory: Uldaman
EndScriptData */
/* ContentData
-mob_jadespine_basilisk
+npc_jadespine_basilisk
go_keystone_chamber
at_map_chamber
EndContentData */
@@ -35,7 +35,7 @@ EndContentData */
#include "Player.h"
/*######
-## mob_jadespine_basilisk
+## npc_jadespine_basilisk
######*/
enum eSpells
@@ -43,18 +43,18 @@ enum eSpells
SPELL_CRYSTALLINE_SLUMBER = 3636,
};
-class mob_jadespine_basilisk : public CreatureScript
+class npc_jadespine_basilisk : public CreatureScript
{
public:
- mob_jadespine_basilisk()
- : CreatureScript("mob_jadespine_basilisk")
+ npc_jadespine_basilisk()
+ : CreatureScript("npc_jadespine_basilisk")
{
}
- struct mob_jadespine_basiliskAI : public ScriptedAI
+ struct npc_jadespine_basiliskAI : public ScriptedAI
{
- mob_jadespine_basiliskAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_jadespine_basiliskAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiCslumberTimer;
@@ -98,7 +98,7 @@ class mob_jadespine_basilisk : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_jadespine_basiliskAI(creature);
+ return new npc_jadespine_basiliskAI(creature);
}
};
@@ -146,7 +146,7 @@ class AreaTrigger_at_map_chamber : public AreaTriggerScript
void AddSC_uldaman()
{
- new mob_jadespine_basilisk();
+ new npc_jadespine_basilisk();
new go_keystone_chamber();
new AreaTrigger_at_map_chamber();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
index 1edc669e548..d4769d48efe 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
@@ -60,7 +60,7 @@ enum Says
enum Misc
{
- MOB_SOARING_EAGLE = 24858,
+ NPC_SOARING_EAGLE = 24858,
SE_LOC_X_MAX = 400,
SE_LOC_X_MIN = 335,
SE_LOC_Y_MAX = 1435,
@@ -325,7 +325,7 @@ class boss_akilzon : public CreatureScript
if (z > 95)
z = 95.0f - urand(0, 5);
}
- Creature* creature = me->SummonCreature(MOB_SOARING_EAGLE, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ Creature* creature = me->SummonCreature(NPC_SOARING_EAGLE, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
if (creature)
{
creature->AddThreat(me->GetVictim(), 1.0f);
@@ -363,14 +363,14 @@ class boss_akilzon : public CreatureScript
}
};
-class mob_akilzon_eagle : public CreatureScript
+class npc_akilzon_eagle : public CreatureScript
{
public:
- mob_akilzon_eagle() : CreatureScript("mob_akilzon_eagle") { }
+ npc_akilzon_eagle() : CreatureScript("npc_akilzon_eagle") { }
- struct mob_akilzon_eagleAI : public ScriptedAI
+ struct npc_akilzon_eagleAI : public ScriptedAI
{
- mob_akilzon_eagleAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_akilzon_eagleAI(Creature* creature) : ScriptedAI(creature) { }
uint32 EagleSwoop_Timer;
bool arrived;
@@ -440,13 +440,13 @@ class mob_akilzon_eagle : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_akilzon_eagleAI(creature);
+ return new npc_akilzon_eagleAI(creature);
}
};
void AddSC_boss_akilzon()
{
new boss_akilzon();
- new mob_akilzon_eagle();
+ new npc_akilzon_eagle();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
index 142bc46a1f1..dd75b80488b 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
@@ -348,18 +348,18 @@ class boss_halazzi : public CreatureScript
};
// Spirits Lynx AI
-class mob_halazzi_lynx : public CreatureScript
+class npc_halazzi_lynx : public CreatureScript
{
public:
- mob_halazzi_lynx()
- : CreatureScript("mob_halazzi_lynx")
+ npc_halazzi_lynx()
+ : CreatureScript("npc_halazzi_lynx")
{
}
- struct mob_halazzi_lynxAI : public ScriptedAI
+ struct npc_halazzi_lynxAI : public ScriptedAI
{
- mob_halazzi_lynxAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_halazzi_lynxAI(Creature* creature) : ScriptedAI(creature) {}
uint32 FrenzyTimer;
uint32 shredder_timer;
@@ -408,14 +408,14 @@ class mob_halazzi_lynx : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_halazzi_lynxAI(creature);
+ return new npc_halazzi_lynxAI(creature);
}
};
void AddSC_boss_halazzi()
{
new boss_halazzi();
- new mob_halazzi_lynx();
+ new npc_halazzi_lynx();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
index 5b5d1ce4bb1..5965cadf814 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
@@ -46,7 +46,7 @@ EndScriptData */
#define SPELL_DRAIN_POWER 44131
#define SPELL_SIPHON_SOUL 43501
-#define MOB_TEMP_TRIGGER 23920
+#define NPC_TEMP_TRIGGER 23920
//Defines for various powers he uses after using soul drain
@@ -402,7 +402,7 @@ class boss_hexlord_malacrass : public CreatureScript
if (SiphonSoul_Timer <= diff)
{
Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 70, true);
- Unit* trigger = DoSpawnCreature(MOB_TEMP_TRIGGER, 0, 0, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 30000);
+ Unit* trigger = DoSpawnCreature(NPC_TEMP_TRIGGER, 0, 0, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 30000);
if (!target || !trigger)
{
EnterEvadeMode();
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
index 267e58e9d4c..3b8e3d5fdb2 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
@@ -57,10 +57,10 @@ enum eEnums
SPELL_FIRE_BOMB_DAMAGE = 42630,
// --Summons
- MOB_AMANI_HATCHER = 23818,
- MOB_HATCHLING = 23598, // 42493
- MOB_EGG = 23817,
- MOB_FIRE_BOMB = 23920,
+ NPC_AMANI_HATCHER = 23818,
+ NPC_HATCHLING = 23598, // 42493
+ NPC_EGG = 23817,
+ NPC_FIRE_BOMB = 23920,
// -- Hatcher Spells
SPELL_HATCH_EGG = 42471, // 43734
@@ -205,9 +205,9 @@ class boss_janalai : public CreatureScript
for (uint8 j = 0; j < WallNum; j++)
{
if (WallNum == 3)
- wall = me->SummonCreature(MOB_FIRE_BOMB, FireWallCoords[i][0], FireWallCoords[i][1]+5*(j-1), FireWallCoords[i][2], FireWallCoords[i][3], TEMPSUMMON_TIMED_DESPAWN, 15000);
+ wall = me->SummonCreature(NPC_FIRE_BOMB, FireWallCoords[i][0], FireWallCoords[i][1]+5*(j-1), FireWallCoords[i][2], FireWallCoords[i][3], TEMPSUMMON_TIMED_DESPAWN, 15000);
else
- wall = me->SummonCreature(MOB_FIRE_BOMB, FireWallCoords[i][0]-2+4*j, FireWallCoords[i][1], FireWallCoords[i][2], FireWallCoords[i][3], TEMPSUMMON_TIMED_DESPAWN, 15000);
+ wall = me->SummonCreature(NPC_FIRE_BOMB, FireWallCoords[i][0]-2+4*j, FireWallCoords[i][1], FireWallCoords[i][2], FireWallCoords[i][3], TEMPSUMMON_TIMED_DESPAWN, 15000);
if (wall) wall->CastSpell(wall, SPELL_FIRE_WALL, true);
}
}
@@ -221,7 +221,7 @@ class boss_janalai : public CreatureScript
dx = float(irand(-area_dx/2, area_dx/2));
dy = float(irand(-area_dy/2, area_dy/2));
- Creature* bomb = DoSpawnCreature(MOB_FIRE_BOMB, dx, dy, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 15000);
+ Creature* bomb = DoSpawnCreature(NPC_FIRE_BOMB, dx, dy, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 15000);
if (bomb)
FireBombGUIDs[i] = bomb->GetGUID();
}
@@ -239,7 +239,7 @@ class boss_janalai : public CreatureScript
Cell cell(pair);
cell.SetNoCreate();
- Trinity::AllCreaturesOfEntryInRange check(me, MOB_EGG, 100);
+ Trinity::AllCreaturesOfEntryInRange check(me, NPC_EGG, 100);
Trinity::CreatureListSearcher<Trinity::AllCreaturesOfEntryInRange> searcher(me, templist, check);
TypeContainerVisitor<Trinity::CreatureListSearcher<Trinity::AllCreaturesOfEntryInRange>, GridTypeMapContainer> cSearcher(searcher);
@@ -272,7 +272,7 @@ class boss_janalai : public CreatureScript
Cell cell(pair);
cell.SetNoCreate();
- Trinity::AllCreaturesOfEntryInRange check(me, MOB_FIRE_BOMB, 100);
+ Trinity::AllCreaturesOfEntryInRange check(me, NPC_FIRE_BOMB, 100);
Trinity::CreatureListSearcher<Trinity::AllCreaturesOfEntryInRange> searcher(me, templist, check);
TypeContainerVisitor<Trinity::CreatureListSearcher<Trinity::AllCreaturesOfEntryInRange>, GridTypeMapContainer> cSearcher(searcher);
@@ -407,8 +407,8 @@ class boss_janalai : public CreatureScript
if (HatchAllEggs(0))
{
Talk(SAY_SUMMON_HATCHER);
- me->SummonCreature(MOB_AMANI_HATCHER, hatcherway[0][0][0], hatcherway[0][0][1], hatcherway[0][0][2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
- me->SummonCreature(MOB_AMANI_HATCHER, hatcherway[1][0][0], hatcherway[1][0][1], hatcherway[1][0][2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
+ me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[0][0][0], hatcherway[0][0][1], hatcherway[0][0][2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
+ me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[1][0][0], hatcherway[1][0][1], hatcherway[1][0][2], 0, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
HatcherTimer = 90000;
}
else
@@ -441,18 +441,18 @@ class boss_janalai : public CreatureScript
}
};
-class mob_janalai_firebomb : public CreatureScript
+class npc_janalai_firebomb : public CreatureScript
{
public:
- mob_janalai_firebomb()
- : CreatureScript("mob_janalai_firebomb")
+ npc_janalai_firebomb()
+ : CreatureScript("npc_janalai_firebomb")
{
}
- struct mob_janalai_firebombAI : public ScriptedAI
+ struct npc_janalai_firebombAI : public ScriptedAI
{
- mob_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){}
+ npc_janalai_firebombAI(Creature* creature) : ScriptedAI(creature){}
void Reset() {}
@@ -473,22 +473,22 @@ class mob_janalai_firebomb : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_janalai_firebombAI(creature);
+ return new npc_janalai_firebombAI(creature);
}
};
-class mob_janalai_hatcher : public CreatureScript
+class npc_janalai_hatcher : public CreatureScript
{
public:
- mob_janalai_hatcher()
- : CreatureScript("mob_janalai_hatcher")
+ npc_janalai_hatcher()
+ : CreatureScript("npc_janalai_hatcher")
{
}
- struct mob_janalai_hatcherAI : public ScriptedAI
+ struct npc_janalai_hatcherAI : public ScriptedAI
{
- mob_janalai_hatcherAI(Creature* creature) : ScriptedAI(creature)
+ npc_janalai_hatcherAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -605,22 +605,22 @@ class mob_janalai_hatcher : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_janalai_hatcherAI(creature);
+ return new npc_janalai_hatcherAI(creature);
}
};
-class mob_janalai_hatchling : public CreatureScript
+class npc_janalai_hatchling : public CreatureScript
{
public:
- mob_janalai_hatchling()
- : CreatureScript("mob_janalai_hatchling")
+ npc_janalai_hatchling()
+ : CreatureScript("npc_janalai_hatchling")
{
}
- struct mob_janalai_hatchlingAI : public ScriptedAI
+ struct npc_janalai_hatchlingAI : public ScriptedAI
{
- mob_janalai_hatchlingAI(Creature* creature) : ScriptedAI(creature)
+ npc_janalai_hatchlingAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -664,23 +664,23 @@ class mob_janalai_hatchling : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_janalai_hatchlingAI(creature);
+ return new npc_janalai_hatchlingAI(creature);
}
};
-class mob_janalai_egg : public CreatureScript
+class npc_janalai_egg : public CreatureScript
{
public:
- mob_janalai_egg(): CreatureScript("mob_janalai_egg") {}
+ npc_janalai_egg(): CreatureScript("npc_janalai_egg") {}
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_janalai_eggAI(creature);
+ return new npc_janalai_eggAI(creature);
}
- struct mob_janalai_eggAI : public ScriptedAI
+ struct npc_janalai_eggAI : public ScriptedAI
{
- mob_janalai_eggAI(Creature* creature) : ScriptedAI(creature){}
+ npc_janalai_eggAI(Creature* creature) : ScriptedAI(creature){}
void Reset() {}
@@ -700,9 +700,9 @@ public:
void AddSC_boss_janalai()
{
new boss_janalai();
- new mob_janalai_firebomb();
- new mob_janalai_hatcher();
- new mob_janalai_hatchling();
- new mob_janalai_egg();
+ new npc_janalai_firebomb();
+ new npc_janalai_hatcher();
+ new npc_janalai_hatchling();
+ new npc_janalai_egg();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
index 77f45754745..49df46df95c 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
@@ -559,18 +559,18 @@ class boss_zuljin : public CreatureScript
}
};
-class mob_zuljin_vortex : public CreatureScript
+class npc_zuljin_vortex : public CreatureScript
{
public:
- mob_zuljin_vortex()
- : CreatureScript("mob_zuljin_vortex")
+ npc_zuljin_vortex()
+ : CreatureScript("npc_zuljin_vortex")
{
}
- struct mob_zuljin_vortexAI : public ScriptedAI
+ struct npc_zuljin_vortexAI : public ScriptedAI
{
- mob_zuljin_vortexAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_zuljin_vortexAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
@@ -592,13 +592,13 @@ class mob_zuljin_vortex : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_zuljin_vortexAI(creature);
+ return new npc_zuljin_vortexAI(creature);
}
};
void AddSC_boss_zuljin()
{
new boss_zuljin();
- new mob_zuljin_vortex();
+ new npc_zuljin_vortex();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
index c52157b5303..2fb4e9eb4b3 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
@@ -218,18 +218,18 @@ class boss_jeklik : public CreatureScript //jeklik
};
//Flying Bat
-class mob_batrider : public CreatureScript
+class npc_batrider : public CreatureScript
{
public:
- mob_batrider()
- : CreatureScript("mob_batrider")
+ npc_batrider()
+ : CreatureScript("npc_batrider")
{
}
- struct mob_batriderAI : public ScriptedAI
+ struct npc_batriderAI : public ScriptedAI
{
- mob_batriderAI(Creature* creature) : ScriptedAI(creature)
+ npc_batriderAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -286,13 +286,13 @@ class mob_batrider : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_batriderAI(creature);
+ return new npc_batriderAI(creature);
}
};
void AddSC_boss_jeklik()
{
new boss_jeklik();
- new mob_batrider();
+ new npc_batrider();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
index 0a61d20577f..9f22bfdcbd8 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
@@ -183,18 +183,18 @@ class boss_jindo : public CreatureScript
};
//Healing Ward
-class mob_healing_ward : public CreatureScript
+class npc_healing_ward : public CreatureScript
{
public:
- mob_healing_ward()
- : CreatureScript("mob_healing_ward")
+ npc_healing_ward()
+ : CreatureScript("npc_healing_ward")
{
}
- struct mob_healing_wardAI : public ScriptedAI
+ struct npc_healing_wardAI : public ScriptedAI
{
- mob_healing_wardAI(Creature* creature) : ScriptedAI(creature)
+ npc_healing_wardAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -232,23 +232,23 @@ class mob_healing_ward : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_healing_wardAI(creature);
+ return new npc_healing_wardAI(creature);
}
};
//Shade of Jindo
-class mob_shade_of_jindo : public CreatureScript
+class npc_shade_of_jindo : public CreatureScript
{
public:
- mob_shade_of_jindo()
- : CreatureScript("mob_shade_of_jindo")
+ npc_shade_of_jindo()
+ : CreatureScript("npc_shade_of_jindo")
{
}
- struct mob_shade_of_jindoAI : public ScriptedAI
+ struct npc_shade_of_jindoAI : public ScriptedAI
{
- mob_shade_of_jindoAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_shade_of_jindoAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ShadowShock_Timer;
@@ -276,13 +276,13 @@ class mob_shade_of_jindo : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shade_of_jindoAI(creature);
+ return new npc_shade_of_jindoAI(creature);
}
};
void AddSC_boss_jindo()
{
new boss_jindo();
- new mob_healing_ward();
- new mob_shade_of_jindo();
+ new npc_healing_ward();
+ new npc_shade_of_jindo();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
index 0d96787166c..bb27c6f7630 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
@@ -291,13 +291,13 @@ enum OhganSpells
SPELL_SUNDERARMOR = 24317
};
-class mob_ohgan : public CreatureScript
+class npc_ohgan : public CreatureScript
{
- public: mob_ohgan() : CreatureScript("mob_ohgan") {}
+ public: npc_ohgan() : CreatureScript("npc_ohgan") {}
- struct mob_ohganAI : public ScriptedAI
+ struct npc_ohganAI : public ScriptedAI
{
- mob_ohganAI(Creature* creature) : ScriptedAI(creature), instance(creature->GetInstanceScript()) { }
+ npc_ohganAI(Creature* creature) : ScriptedAI(creature), instance(creature->GetInstanceScript()) { }
void Reset()
{
@@ -333,7 +333,7 @@ class mob_ohgan : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return GetZulGurubAI<mob_ohganAI>(creature);
+ return GetZulGurubAI<npc_ohganAI>(creature);
}
};
@@ -343,13 +343,13 @@ enum VilebranchSpells
SPELL_CLEAVE = 15284
};
-class mob_vilebranch_speaker : public CreatureScript
+class npc_vilebranch_speaker : public CreatureScript
{
- public: mob_vilebranch_speaker() : CreatureScript("mob_vilebranch_speaker") {}
+ public: npc_vilebranch_speaker() : CreatureScript("npc_vilebranch_speaker") {}
- struct mob_vilebranch_speakerAI : public ScriptedAI
+ struct npc_vilebranch_speakerAI : public ScriptedAI
{
- mob_vilebranch_speakerAI(Creature* creature) : ScriptedAI(creature), instance(creature->GetInstanceScript()) { }
+ npc_vilebranch_speakerAI(Creature* creature) : ScriptedAI(creature), instance(creature->GetInstanceScript()) { }
void Reset()
{
@@ -393,7 +393,7 @@ class mob_vilebranch_speaker : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_vilebranch_speakerAI(creature);
+ return new npc_vilebranch_speakerAI(creature);
}
};
@@ -429,7 +429,7 @@ class spell_threatening_gaze : public SpellScriptLoader
void AddSC_boss_mandokir()
{
new boss_mandokir();
- new mob_ohgan();
- new mob_vilebranch_speaker();
+ new npc_ohgan();
+ new npc_vilebranch_speaker();
new spell_threatening_gaze();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
index 7f9f681eea3..3fd46bd644e 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
@@ -217,13 +217,13 @@ class boss_marli : public CreatureScript
};
// Spawn of Marli
-class mob_spawn_of_marli : public CreatureScript
+class npc_spawn_of_marli : public CreatureScript
{
- public: mob_spawn_of_marli() : CreatureScript("mob_spawn_of_marli") {}
+ public: npc_spawn_of_marli() : CreatureScript("npc_spawn_of_marli") {}
- struct mob_spawn_of_marliAI : public ScriptedAI
+ struct npc_spawn_of_marliAI : public ScriptedAI
{
- mob_spawn_of_marliAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_spawn_of_marliAI(Creature* creature) : ScriptedAI(creature) {}
uint32 LevelUp_Timer;
@@ -255,12 +255,12 @@ class mob_spawn_of_marli : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_spawn_of_marliAI(creature);
+ return new npc_spawn_of_marliAI(creature);
}
};
void AddSC_boss_marli()
{
new boss_marli();
- new mob_spawn_of_marli();
+ new npc_spawn_of_marli();
}
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
index 592c53d7025..60d553d4a8e 100644
--- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
@@ -256,13 +256,13 @@ class boss_thekal : public CreatureScript
};
//Zealot Lor'Khan
-class mob_zealot_lorkhan : public CreatureScript
+class npc_zealot_lorkhan : public CreatureScript
{
- public: mob_zealot_lorkhan() : CreatureScript("mob_zealot_lorkhan") {}
+ public: npc_zealot_lorkhan() : CreatureScript("npc_zealot_lorkhan") {}
- struct mob_zealot_lorkhanAI : public ScriptedAI
+ struct npc_zealot_lorkhanAI : public ScriptedAI
{
- mob_zealot_lorkhanAI(Creature* creature) : ScriptedAI(creature)
+ npc_zealot_lorkhanAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -406,23 +406,23 @@ class mob_zealot_lorkhan : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_zealot_lorkhanAI(creature);
+ return new npc_zealot_lorkhanAI(creature);
}
};
//Zealot Zath
-class mob_zealot_zath : public CreatureScript
+class npc_zealot_zath : public CreatureScript
{
public:
- mob_zealot_zath()
- : CreatureScript("mob_zealot_zath")
+ npc_zealot_zath()
+ : CreatureScript("npc_zealot_zath")
{
}
- struct mob_zealot_zathAI : public ScriptedAI
+ struct npc_zealot_zathAI : public ScriptedAI
{
- mob_zealot_zathAI(Creature* creature) : ScriptedAI(creature)
+ npc_zealot_zathAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -559,13 +559,13 @@ class mob_zealot_zath : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_zealot_zathAI(creature);
+ return new npc_zealot_zathAI(creature);
}
};
void AddSC_boss_thekal()
{
new boss_thekal();
- new mob_zealot_lorkhan();
- new mob_zealot_zath();
+ new npc_zealot_lorkhan();
+ new npc_zealot_zath();
}
diff --git a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp b/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp
index 74344f28a9b..872ea60ddf0 100644
--- a/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp
+++ b/src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp
@@ -50,7 +50,7 @@ enum eEnums
SAY_PROGRESS_9 = 9,
QUEST_SUNKEN_TREASURE = 665,
- MOB_VENGEFUL_SURGE = 2776
+ NPC_VENGEFUL_SURGE = 2776
};
class npc_professor_phizzlethorpe : public CreatureScript
@@ -84,8 +84,8 @@ class npc_professor_phizzlethorpe : public CreatureScript
Talk(EMOTE_PROGRESS_4);
break;
case 9:
- me->SummonCreature(MOB_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
- me->SummonCreature(MOB_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ me->SummonCreature(NPC_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ me->SummonCreature(NPC_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
break;
case 10:
Talk(SAY_PROGRESS_5, player->GetGUID());
diff --git a/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp b/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp
index 4e04307d154..0a68ade7e6b 100644
--- a/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp
+++ b/src/server/scripts/EasternKingdoms/zone_eastern_plaguelands.cpp
@@ -24,7 +24,7 @@ SDCategory: Eastern Plaguelands
EndScriptData */
/* ContentData
-mobs_ghoul_flayer
+npc_ghoul_flayer
npc_augustus_the_touched
npc_darrowshire_spirit
npc_tirion_fordring
@@ -36,14 +36,14 @@ EndContentData */
#include "Player.h"
#include "WorldSession.h"
-class mobs_ghoul_flayer : public CreatureScript
+class npc_ghoul_flayer : public CreatureScript
{
public:
- mobs_ghoul_flayer() : CreatureScript("mobs_ghoul_flayer") { }
+ npc_ghoul_flayer() : CreatureScript("npc_ghoul_flayer") { }
- struct mobs_ghoul_flayerAI : public ScriptedAI
+ struct npc_ghoul_flayerAI : public ScriptedAI
{
- mobs_ghoul_flayerAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_ghoul_flayerAI(Creature* creature) : ScriptedAI(creature) { }
void Reset() {}
@@ -58,7 +58,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_ghoul_flayerAI (creature);
+ return new npc_ghoul_flayerAI (creature);
}
};
@@ -185,7 +185,7 @@ public:
void AddSC_eastern_plaguelands()
{
- new mobs_ghoul_flayer();
+ new npc_ghoul_flayer();
new npc_augustus_the_touched();
new npc_darrowshire_spirit();
new npc_tirion_fordring();
diff --git a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp
index c148d485e1a..be0f4b47fed 100644
--- a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp
+++ b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp
@@ -435,8 +435,8 @@ public:
######*/
#define QUEST_UNEXPECTED_RESULT 8488
-#define MOB_GHARZUL 15958
-#define MOB_ANGERSHADE 15656
+#define NPC_GHARZUL 15958
+#define NPC_ANGERSHADE 15656
class npc_apprentice_mirveda : public CreatureScript
{
@@ -504,9 +504,9 @@ public:
if (Summon)
{
- me->SummonCreature(MOB_GHARZUL, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
- me->SummonCreature(MOB_ANGERSHADE, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
- me->SummonCreature(MOB_ANGERSHADE, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
+ me->SummonCreature(NPC_GHARZUL, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
+ me->SummonCreature(NPC_ANGERSHADE, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
+ me->SummonCreature(NPC_ANGERSHADE, 8745, -7134.32f, 35.22f, 0, TEMPSUMMON_CORPSE_DESPAWN, 4000);
Summon = false;
}
}
@@ -519,7 +519,7 @@ public:
enum InfusedCrystal
{
- MOB_ENRAGED_WRAITH = 17086,
+ NPC_ENRAGED_WRAITH = 17086,
EMOTE = 0,
QUEST_POWERING_OUR_DEFENSES = 8490
};
@@ -618,9 +618,9 @@ public:
uint32 ran1 = rand()%8;
uint32 ran2 = rand()%8;
uint32 ran3 = rand()%8;
- me->SummonCreature(MOB_ENRAGED_WRAITH, SpawnLocations[ran1].x, SpawnLocations[ran1].y, SpawnLocations[ran1].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
- me->SummonCreature(MOB_ENRAGED_WRAITH, SpawnLocations[ran2].x, SpawnLocations[ran2].y, SpawnLocations[ran2].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
- me->SummonCreature(MOB_ENRAGED_WRAITH, SpawnLocations[ran3].x, SpawnLocations[ran3].y, SpawnLocations[ran3].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
+ me->SummonCreature(NPC_ENRAGED_WRAITH, SpawnLocations[ran1].x, SpawnLocations[ran1].y, SpawnLocations[ran1].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
+ me->SummonCreature(NPC_ENRAGED_WRAITH, SpawnLocations[ran2].x, SpawnLocations[ran2].y, SpawnLocations[ran2].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
+ me->SummonCreature(NPC_ENRAGED_WRAITH, SpawnLocations[ran3].x, SpawnLocations[ran3].y, SpawnLocations[ran3].z, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 10000);
WaveTimer = 30000;
} else WaveTimer -= diff;
}
diff --git a/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp b/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp
index 5a67f0d053a..45b651872ac 100644
--- a/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp
+++ b/src/server/scripts/EasternKingdoms/zone_stranglethorn_vale.cpp
@@ -24,7 +24,7 @@ SDCategory: Stranglethorn Vale
EndScriptData */
/* ContentData
-mob_yenniku
+npc_yenniku
EndContentData */
#include "ScriptMgr.h"
@@ -33,22 +33,22 @@ EndContentData */
#include "SpellInfo.h"
/*######
-## mob_yenniku
+## npc_yenniku
######*/
-class mob_yenniku : public CreatureScript
+class npc_yenniku : public CreatureScript
{
public:
- mob_yenniku() : CreatureScript("mob_yenniku") { }
+ npc_yenniku() : CreatureScript("npc_yenniku") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_yennikuAI (creature);
+ return new npc_yennikuAI (creature);
}
- struct mob_yennikuAI : public ScriptedAI
+ struct npc_yennikuAI : public ScriptedAI
{
- mob_yennikuAI(Creature* creature) : ScriptedAI(creature)
+ npc_yennikuAI(Creature* creature) : ScriptedAI(creature)
{
bReset = false;
}
@@ -126,5 +126,5 @@ public:
void AddSC_stranglethorn_vale()
{
- new mob_yenniku();
+ new npc_yenniku();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
index f3bfe0b8fbe..7f6f779c60e 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
@@ -172,19 +172,19 @@ public:
};
-class mob_towering_infernal : public CreatureScript
+class npc_towering_infernal : public CreatureScript
{
public:
- mob_towering_infernal() : CreatureScript("mob_towering_infernal") { }
+ npc_towering_infernal() : CreatureScript("npc_towering_infernal") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_towering_infernalAI (creature);
+ return new npc_towering_infernalAI (creature);
}
- struct mob_towering_infernalAI : public ScriptedAI
+ struct npc_towering_infernalAI : public ScriptedAI
{
- mob_towering_infernalAI(Creature* creature) : ScriptedAI(creature)
+ npc_towering_infernalAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
if (instance)
@@ -257,5 +257,5 @@ public:
void AddSC_boss_anetheron()
{
new boss_anetheron();
- new mob_towering_infernal();
+ new npc_towering_infernal();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
index 9b1f2475c1b..757206f7fe3 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
@@ -76,19 +76,19 @@ enum Summons
Position const NordrassilLoc = {5503.713f, -3523.436f, 1608.781f, 0.0f};
-class mob_ancient_wisp : public CreatureScript
+class npc_ancient_wisp : public CreatureScript
{
public:
- mob_ancient_wisp() : CreatureScript("mob_ancient_wisp") { }
+ npc_ancient_wisp() : CreatureScript("npc_ancient_wisp") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ancient_wispAI(creature);
+ return new npc_ancient_wispAI(creature);
}
- struct mob_ancient_wispAI : public ScriptedAI
+ struct npc_ancient_wispAI : public ScriptedAI
{
- mob_ancient_wispAI(Creature* creature) : ScriptedAI(creature)
+ npc_ancient_wispAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
ArchimondeGUID = 0;
@@ -134,19 +134,19 @@ public:
/* This script is merely a placeholder for the Doomfire that triggers Doomfire spell. It will
MoveChase the Doomfire Spirit always, until despawn (AttackStart is called upon it's spawn) */
-class mob_doomfire : public CreatureScript
+class npc_doomfire : public CreatureScript
{
public:
- mob_doomfire() : CreatureScript("mob_doomfire") { }
+ npc_doomfire() : CreatureScript("npc_doomfire") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_doomfireAI(creature);
+ return new npc_doomfireAI(creature);
}
- struct mob_doomfireAI : public ScriptedAI
+ struct npc_doomfireAI : public ScriptedAI
{
- mob_doomfireAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_doomfireAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
@@ -162,19 +162,19 @@ public:
/* This is the script for the Doomfire Spirit Mob. This mob simply follow players or
travels in random directions if target cannot be found. */
-class mob_doomfire_targetting : public CreatureScript
+class npc_doomfire_targetting : public CreatureScript
{
public:
- mob_doomfire_targetting() : CreatureScript("mob_doomfire_targetting") { }
+ npc_doomfire_targetting() : CreatureScript("npc_doomfire_targetting") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_doomfire_targettingAI(creature);
+ return new npc_doomfire_targettingAI(creature);
}
- struct mob_doomfire_targettingAI : public ScriptedAI
+ struct npc_doomfire_targettingAI : public ScriptedAI
{
- mob_doomfire_targettingAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_doomfire_targettingAI(Creature* creature) : ScriptedAI(creature) {}
uint64 TargetGUID;
uint32 ChangeTargetTimer;
@@ -643,7 +643,7 @@ public:
void AddSC_boss_archimonde()
{
new boss_archimonde();
- new mob_doomfire();
- new mob_doomfire_targetting();
- new mob_ancient_wisp();
+ new npc_doomfire();
+ new npc_doomfire_targetting();
+ new npc_ancient_wisp();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
index b45ace791fc..da7ade178d6 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
@@ -179,19 +179,19 @@ public:
};
-class mob_lesser_doomguard : public CreatureScript
+class npc_lesser_doomguard : public CreatureScript
{
public:
- mob_lesser_doomguard() : CreatureScript("mob_lesser_doomguard") { }
+ npc_lesser_doomguard() : CreatureScript("npc_lesser_doomguard") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_lesser_doomguardAI (creature);
+ return new npc_lesser_doomguardAI (creature);
}
- struct mob_lesser_doomguardAI : public hyjal_trashAI
+ struct npc_lesser_doomguardAI : public hyjal_trashAI
{
- mob_lesser_doomguardAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_lesser_doomguardAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
if (instance)
@@ -276,5 +276,5 @@ public:
void AddSC_boss_azgalor()
{
new boss_azgalor();
- new mob_lesser_doomguard();
+ new npc_lesser_doomguard();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
index df928f30f21..f6a12103824 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
@@ -408,14 +408,14 @@ void hyjal_trashAI::JustDied(Unit* /*killer*/)
me->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);//no loot
}
-class mob_giant_infernal : public CreatureScript
+class npc_giant_infernal : public CreatureScript
{
public:
- mob_giant_infernal() : CreatureScript("mob_giant_infernal") { }
+ npc_giant_infernal() : CreatureScript("npc_giant_infernal") { }
- struct mob_giant_infernalAI : public hyjal_trashAI
+ struct npc_giant_infernalAI : public hyjal_trashAI
{
- mob_giant_infernalAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_giant_infernalAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
meteor = false;//call once!
@@ -537,23 +537,23 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_giant_infernalAI(creature);
+ return new npc_giant_infernalAI(creature);
}
};
-class mob_abomination : public CreatureScript
+class npc_abomination : public CreatureScript
{
public:
- mob_abomination() : CreatureScript("mob_abomination") { }
+ npc_abomination() : CreatureScript("npc_abomination") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_abominationAI(creature);
+ return new npc_abominationAI(creature);
}
- struct mob_abominationAI : public hyjal_trashAI
+ struct npc_abominationAI : public hyjal_trashAI
{
- mob_abominationAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_abominationAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -639,19 +639,19 @@ public:
};
-class mob_ghoul : public CreatureScript
+class npc_ghoul : public CreatureScript
{
public:
- mob_ghoul() : CreatureScript("mob_ghoul") { }
+ npc_ghoul() : CreatureScript("npc_ghoul") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ghoulAI(creature);
+ return new npc_ghoulAI(creature);
}
- struct mob_ghoulAI : public hyjal_trashAI
+ struct npc_ghoulAI : public hyjal_trashAI
{
- mob_ghoulAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_ghoulAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -741,19 +741,19 @@ public:
};
-class mob_necromancer : public CreatureScript
+class npc_necromancer : public CreatureScript
{
public:
- mob_necromancer() : CreatureScript("mob_necromancer") { }
+ npc_necromancer() : CreatureScript("npc_necromancer") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_necromancerAI(creature);
+ return new npc_necromancerAI(creature);
}
- struct mob_necromancerAI : public hyjal_trashAI
+ struct npc_necromancerAI : public hyjal_trashAI
{
- mob_necromancerAI(Creature* creature) : hyjal_trashAI(creature), summons(me)
+ npc_necromancerAI(Creature* creature) : hyjal_trashAI(creature), summons(me)
{
instance = creature->GetInstanceScript();
go = false;
@@ -868,19 +868,19 @@ public:
};
-class mob_banshee : public CreatureScript
+class npc_banshee : public CreatureScript
{
public:
- mob_banshee() : CreatureScript("mob_banshee") { }
+ npc_banshee() : CreatureScript("npc_banshee") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_bansheeAI(creature);
+ return new npc_bansheeAI(creature);
}
- struct mob_bansheeAI : public hyjal_trashAI
+ struct npc_bansheeAI : public hyjal_trashAI
{
- mob_bansheeAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_bansheeAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -971,19 +971,19 @@ public:
};
-class mob_crypt_fiend : public CreatureScript
+class npc_crypt_fiend : public CreatureScript
{
public:
- mob_crypt_fiend() : CreatureScript("mob_crypt_fiend") { }
+ npc_crypt_fiend() : CreatureScript("npc_crypt_fiend") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_crypt_fiendAI(creature);
+ return new npc_crypt_fiendAI(creature);
}
- struct mob_crypt_fiendAI : public hyjal_trashAI
+ struct npc_crypt_fiendAI : public hyjal_trashAI
{
- mob_crypt_fiendAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_crypt_fiendAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -1061,19 +1061,19 @@ public:
};
-class mob_fel_stalker : public CreatureScript
+class npc_fel_stalker : public CreatureScript
{
public:
- mob_fel_stalker() : CreatureScript("mob_fel_stalker") { }
+ npc_fel_stalker() : CreatureScript("npc_fel_stalker") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fel_stalkerAI(creature);
+ return new npc_fel_stalkerAI(creature);
}
- struct mob_fel_stalkerAI : public hyjal_trashAI
+ struct npc_fel_stalkerAI : public hyjal_trashAI
{
- mob_fel_stalkerAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_fel_stalkerAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -1151,19 +1151,19 @@ public:
};
-class mob_frost_wyrm : public CreatureScript
+class npc_frost_wyrm : public CreatureScript
{
public:
- mob_frost_wyrm() : CreatureScript("mob_frost_wyrm") { }
+ npc_frost_wyrm() : CreatureScript("npc_frost_wyrm") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frost_wyrmAI(creature);
+ return new npc_frost_wyrmAI(creature);
}
- struct mob_frost_wyrmAI : public hyjal_trashAI
+ struct npc_frost_wyrmAI : public hyjal_trashAI
{
- mob_frost_wyrmAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_frost_wyrmAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -1263,19 +1263,19 @@ public:
};
-class mob_gargoyle : public CreatureScript
+class npc_gargoyle : public CreatureScript
{
public:
- mob_gargoyle() : CreatureScript("mob_gargoyle") { }
+ npc_gargoyle() : CreatureScript("npc_gargoyle") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_gargoyleAI(creature);
+ return new npc_gargoyleAI(creature);
}
- struct mob_gargoyleAI : public hyjal_trashAI
+ struct npc_gargoyleAI : public hyjal_trashAI
{
- mob_gargoyleAI(Creature* creature) : hyjal_trashAI(creature)
+ npc_gargoyleAI(Creature* creature) : hyjal_trashAI(creature)
{
instance = creature->GetInstanceScript();
go = false;
@@ -1467,14 +1467,14 @@ public:
void AddSC_hyjal_trash()
{
- new mob_giant_infernal();
- new mob_abomination();
- new mob_ghoul();
- new mob_necromancer();
- new mob_banshee();
- new mob_crypt_fiend();
- new mob_fel_stalker();
- new mob_frost_wyrm();
- new mob_gargoyle();
+ new npc_giant_infernal();
+ new npc_abomination();
+ new npc_ghoul();
+ new npc_necromancer();
+ new npc_banshee();
+ new npc_crypt_fiend();
+ new npc_fel_stalker();
+ new npc_frost_wyrm();
+ new npc_gargoyle();
new alliance_rifleman();
}
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
index 3dfb3ed2a37..ba0cf93e5dd 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
@@ -140,23 +140,23 @@ enum ThrallOldHillsbrad
ENTRY_ARMORER = 18764,
ENTRY_SCARLOC = 17862,
- MOB_ENTRY_RIFLE = 17820,
- MOB_ENTRY_WARDEN = 17833,
- MOB_ENTRY_VETERAN = 17860,
- MOB_ENTRY_WATCHMAN = 17814,
- MOB_ENTRY_SENTRY = 17815,
+ NPC_RIFLE = 17820,
+ NPC_WARDEN = 17833,
+ NPC_VETERAN = 17860,
+ NPC_WATCHMAN = 17814,
+ NPC_SENTRY = 17815,
- MOB_ENTRY_BARN_GUARDSMAN = 18092,
- MOB_ENTRY_BARN_PROTECTOR = 18093,
- MOB_ENTRY_BARN_LOOKOUT = 18094,
+ NPC_BARN_GUARDSMAN = 18092,
+ NPC_BARN_PROTECTOR = 18093,
+ NPC_BARN_LOOKOUT = 18094,
- MOB_ENTRY_CHURCH_GUARDSMAN = 23175,
- MOB_ENTRY_CHURCH_PROTECTOR = 23179,
- MOB_ENTRY_CHURCH_LOOKOUT = 23177,
+ NPC_CHURCH_GUARDSMAN = 23175,
+ NPC_CHURCH_PROTECTOR = 23179,
+ NPC_CHURCH_LOOKOUT = 23177,
- MOB_ENTRY_INN_GUARDSMAN = 23176,
- MOB_ENTRY_INN_PROTECTOR = 23180,
- MOB_ENTRY_INN_LOOKOUT = 23178,
+ NPC_INN_GUARDSMAN = 23176,
+ NPC_INN_PROTECTOR = 23180,
+ NPC_INN_LOOKOUT = 23178,
SKARLOC_MOUNT = 18798,
SKARLOC_MOUNT_MODEL = 18223,
@@ -316,22 +316,22 @@ public:
SetRun();
break;
case 15:
- me->SummonCreature(MOB_ENTRY_RIFLE, 2200.28f, 137.37f, 87.93f, 5.07f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_WARDEN, 2197.44f, 131.83f, 87.93f, 0.78f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2203.62f, 135.40f, 87.93f, 3.70f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2200.75f, 130.13f, 87.93f, 1.48f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_RIFLE, 2200.28f, 137.37f, 87.93f, 5.07f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_WARDEN, 2197.44f, 131.83f, 87.93f, 0.78f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2203.62f, 135.40f, 87.93f, 3.70f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2200.75f, 130.13f, 87.93f, 1.48f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 21:
- me->SummonCreature(MOB_ENTRY_RIFLE, 2135.80f, 154.01f, 67.45f, 4.98f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_WARDEN, 2144.36f, 151.87f, 67.74f, 4.46f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2142.12f, 154.41f, 67.12f, 4.56f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2138.08f, 155.38f, 67.24f, 4.60f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_RIFLE, 2135.80f, 154.01f, 67.45f, 4.98f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_WARDEN, 2144.36f, 151.87f, 67.74f, 4.46f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2142.12f, 154.41f, 67.12f, 4.56f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2138.08f, 155.38f, 67.24f, 4.60f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 25:
- me->SummonCreature(MOB_ENTRY_RIFLE, 2102.98f, 192.17f, 65.24f, 6.02f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_WARDEN, 2108.48f, 198.75f, 65.18f, 5.15f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2106.11f, 197.29f, 65.18f, 5.63f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_VETERAN, 2104.18f, 194.82f, 65.18f, 5.75f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_RIFLE, 2102.98f, 192.17f, 65.24f, 6.02f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_WARDEN, 2108.48f, 198.75f, 65.18f, 5.15f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2106.11f, 197.29f, 65.18f, 5.63f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_VETERAN, 2104.18f, 194.82f, 65.18f, 5.75f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 29:
Talk(SAY_TH_SKARLOC_MEET);
@@ -350,9 +350,9 @@ public:
break;
case 37:
//possibly regular patrollers? If so, remove this and let database handle them
- me->SummonCreature(MOB_ENTRY_WATCHMAN, 2124.26f, 522.16f, 56.87f, 3.99f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_WATCHMAN, 2121.69f, 525.37f, 57.11f, 4.01f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_SENTRY, 2124.65f, 524.55f, 56.63f, 3.98f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_WATCHMAN, 2124.26f, 522.16f, 56.87f, 3.99f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_WATCHMAN, 2121.69f, 525.37f, 57.11f, 4.01f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_SENTRY, 2124.65f, 524.55f, 56.63f, 3.98f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 59:
me->SummonCreature(SKARLOC_MOUNT, 2488.64f, 625.77f, 58.26f, 4.71f, TEMPSUMMON_TIMED_DESPAWN, 10000);
@@ -372,10 +372,10 @@ public:
SetRun(false);
break;
case 68:
- me->SummonCreature(MOB_ENTRY_BARN_PROTECTOR, 2500.22f, 692.60f, 55.50f, 2.84f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_BARN_LOOKOUT, 2500.13f, 696.55f, 55.51f, 3.38f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_BARN_GUARDSMAN, 2500.55f, 693.64f, 55.50f, 3.14f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_BARN_GUARDSMAN, 2500.94f, 695.81f, 55.50f, 3.14f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_BARN_PROTECTOR, 2500.22f, 692.60f, 55.50f, 2.84f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_BARN_LOOKOUT, 2500.13f, 696.55f, 55.51f, 3.38f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_BARN_GUARDSMAN, 2500.55f, 693.64f, 55.50f, 3.14f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_BARN_GUARDSMAN, 2500.94f, 695.81f, 55.50f, 3.14f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 71:
SetRun();
@@ -384,10 +384,10 @@ public:
SetRun(false);
break;
case 83:
- me->SummonCreature(MOB_ENTRY_CHURCH_PROTECTOR, 2627.33f, 646.82f, 56.03f, 4.28f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
- me->SummonCreature(MOB_ENTRY_CHURCH_LOOKOUT, 2624.14f, 648.03f, 56.03f, 4.50f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
- me->SummonCreature(MOB_ENTRY_CHURCH_GUARDSMAN, 2625.32f, 649.60f, 56.03f, 4.38f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
- me->SummonCreature(MOB_ENTRY_CHURCH_GUARDSMAN, 2627.22f, 649.00f, 56.03f, 4.34f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
+ me->SummonCreature(NPC_CHURCH_PROTECTOR, 2627.33f, 646.82f, 56.03f, 4.28f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
+ me->SummonCreature(NPC_CHURCH_LOOKOUT, 2624.14f, 648.03f, 56.03f, 4.50f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
+ me->SummonCreature(NPC_CHURCH_GUARDSMAN, 2625.32f, 649.60f, 56.03f, 4.38f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
+ me->SummonCreature(NPC_CHURCH_GUARDSMAN, 2627.22f, 649.00f, 56.03f, 4.34f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 5000);
break;
case 84:
Talk(SAY_TH_CHURCH_END);
@@ -398,10 +398,10 @@ public:
SetRun(false);
break;
case 93:
- me->SummonCreature(MOB_ENTRY_INN_PROTECTOR, 2652.71f, 660.31f, 61.93f, 1.67f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_INN_LOOKOUT, 2648.96f, 662.59f, 61.93f, 0.79f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_INN_GUARDSMAN, 2657.36f, 662.34f, 61.93f, 2.68f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
- me->SummonCreature(MOB_ENTRY_INN_GUARDSMAN, 2656.39f, 659.77f, 61.93f, 2.61f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_INN_PROTECTOR, 2652.71f, 660.31f, 61.93f, 1.67f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_INN_LOOKOUT, 2648.96f, 662.59f, 61.93f, 0.79f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_INN_GUARDSMAN, 2657.36f, 662.34f, 61.93f, 2.68f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
+ me->SummonCreature(NPC_INN_GUARDSMAN, 2656.39f, 659.77f, 61.93f, 2.61f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5000);
break;
case 94:
if (uint64 TarethaGUID = instance->GetData64(DATA_TARETHA))
@@ -508,9 +508,9 @@ public:
switch (summoned->GetEntry())
{
/// @todo make Scarloc start into event instead, and not start attack directly
- case MOB_ENTRY_BARN_GUARDSMAN:
- case MOB_ENTRY_BARN_PROTECTOR:
- case MOB_ENTRY_BARN_LOOKOUT:
+ case NPC_BARN_GUARDSMAN:
+ case NPC_BARN_PROTECTOR:
+ case NPC_BARN_LOOKOUT:
case SKARLOC_MOUNT:
case EROZION_ENTRY:
break;
diff --git a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
index 23688ae218d..ea669f96efc 100644
--- a/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
+++ b/src/server/scripts/Kalimdor/RazorfenKraul/razorfen_kraul.cpp
@@ -239,6 +239,7 @@ public:
DoFindNewTubber();
}
+
bool IsMovementActive;
uint64 TargetTubberGUID;
};
@@ -255,7 +256,7 @@ class spell_snufflenose_command : public SpellScriptLoader
bool Load()
{
- return GetCaster() && GetCaster()->GetTypeId() == TYPEID_PLAYER;
+ return GetCaster()->GetTypeId() == TYPEID_PLAYER;
}
void HandleAfterCast()
@@ -279,7 +280,7 @@ class spell_snufflenose_command : public SpellScriptLoader
void AddSC_razorfen_kraul()
{
- new spell_snufflenose_command();
- new npc_willix();
new npc_snufflenose_gopher();
+ new npc_willix();
+ new spell_snufflenose_command();
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
index 44b9999d9bc..7456d00ae90 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
@@ -210,7 +210,7 @@ public:
instance->SetData(DATA_CTHUN_PHASE, PHASE_NOT_STARTED);
//to avoid having a following void zone
- Creature* pPortal= me->FindNearestCreature(MOB_CTHUN_PORTAL, 10);
+ Creature* pPortal= me->FindNearestCreature(NPC_CTHUN_PORTAL, 10);
if (pPortal)
pPortal->SetReactState(REACT_PASSIVE);
}
@@ -224,7 +224,7 @@ public:
void SpawnEyeTentacle(float x, float y)
{
- if (Creature* Spawned = DoSpawnCreature(MOB_EYE_TENTACLE, x, y, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 500))
+ if (Creature* Spawned = DoSpawnCreature(NPC_EYE_TENTACLE, x, y, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 500))
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
if (Spawned->AI())
Spawned->AI()->AttackStart(target);
@@ -289,7 +289,7 @@ public:
Creature* Spawned = NULL;
//Spawn claw tentacle on the random target
- Spawned = me->SummonCreature(MOB_CLAW_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500);
+ Spawned = me->SummonCreature(NPC_CLAW_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500);
if (Spawned && Spawned->AI())
Spawned->AI()->AttackStart(target);
@@ -393,7 +393,7 @@ public:
//Dead phase
case PHASE_CTHUN_DONE:
- Creature* pPortal= me->FindNearestCreature(MOB_CTHUN_PORTAL, 10);
+ Creature* pPortal= me->FindNearestCreature(NPC_CTHUN_PORTAL, 10);
if (pPortal)
pPortal->DespawnOrUnsummon();
@@ -540,7 +540,7 @@ public:
void SpawnEyeTentacle(float x, float y)
{
Creature* Spawned;
- Spawned = DoSpawnCreature(MOB_EYE_TENTACLE, x, y, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 500);
+ Spawned = DoSpawnCreature(NPC_EYE_TENTACLE, x, y, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 500);
if (Spawned && Spawned->AI())
if (Unit* target = SelectRandomNotStomach())
Spawned->AI()->AttackStart(target);
@@ -674,7 +674,7 @@ public:
//Spawn flesh tentacle
for (uint8 i = 0; i < 2; i++)
{
- Creature* spawned = me->SummonCreature(MOB_FLESH_TENTACLE, FleshTentaclePos[i], TEMPSUMMON_CORPSE_DESPAWN);
+ Creature* spawned = me->SummonCreature(NPC_FLESH_TENTACLE, FleshTentaclePos[i], TEMPSUMMON_CORPSE_DESPAWN);
if (!spawned)
++FleshTentaclesKilled;
}
@@ -804,7 +804,7 @@ public:
if (Unit* target = SelectRandomNotStomach())
{
//Spawn claw tentacle on the random target
- if (Creature* spawned = me->SummonCreature(MOB_GIANT_CLAW_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500))
+ if (Creature* spawned = me->SummonCreature(NPC_GIANT_CLAW_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500))
if (spawned->AI())
spawned->AI()->AttackStart(target);
}
@@ -819,7 +819,7 @@ public:
if (Unit* target = SelectRandomNotStomach())
{
//Spawn claw tentacle on the random target
- if (Creature* spawned = me->SummonCreature(MOB_GIANT_EYE_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500))
+ if (Creature* spawned = me->SummonCreature(NPC_GIANT_EYE_TENTACLE, *target, TEMPSUMMON_CORPSE_DESPAWN, 500))
if (spawned->AI())
spawned->AI()->AttackStart(target);
}
@@ -847,7 +847,7 @@ public:
//Spawn flesh tentacle
for (uint8 i = 0; i < 2; i++)
{
- Creature* spawned = me->SummonCreature(MOB_FLESH_TENTACLE, FleshTentaclePos[i], TEMPSUMMON_CORPSE_DESPAWN);
+ Creature* spawned = me->SummonCreature(NPC_FLESH_TENTACLE, FleshTentaclePos[i], TEMPSUMMON_CORPSE_DESPAWN);
if (!spawned)
++FleshTentaclesKilled;
}
@@ -908,10 +908,10 @@ public:
};
-class mob_eye_tentacle : public CreatureScript
+class npc_eye_tentacle : public CreatureScript
{
public:
- mob_eye_tentacle() : CreatureScript("mob_eye_tentacle") { }
+ npc_eye_tentacle() : CreatureScript("npc_eye_tentacle") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -922,7 +922,7 @@ public:
{
eye_tentacleAI(Creature* creature) : ScriptedAI(creature)
{
- if (Creature* pPortal = me->SummonCreature(MOB_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -983,10 +983,10 @@ public:
};
-class mob_claw_tentacle : public CreatureScript
+class npc_claw_tentacle : public CreatureScript
{
public:
- mob_claw_tentacle() : CreatureScript("mob_claw_tentacle") { }
+ npc_claw_tentacle() : CreatureScript("npc_claw_tentacle") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -999,7 +999,7 @@ public:
{
SetCombatMovement(false);
- if (Creature* pPortal = me->SummonCreature(MOB_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -1057,7 +1057,7 @@ public:
if (!target->HasAura(SPELL_DIGESTIVE_ACID))
{
me->SetPosition(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0);
- if (Creature* pPortal = me->SummonCreature(MOB_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_SMALL_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -1093,10 +1093,10 @@ public:
};
-class mob_giant_claw_tentacle : public CreatureScript
+class npc_giant_claw_tentacle : public CreatureScript
{
public:
- mob_giant_claw_tentacle() : CreatureScript("mob_giant_claw_tentacle") { }
+ npc_giant_claw_tentacle() : CreatureScript("npc_giant_claw_tentacle") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -1109,7 +1109,7 @@ public:
{
SetCombatMovement(false);
- if (Creature* pPortal = me->SummonCreature(MOB_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -1169,7 +1169,7 @@ public:
if (!target->HasAura(SPELL_DIGESTIVE_ACID))
{
me->SetPosition(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0);
- if (Creature* pPortal = me->SummonCreature(MOB_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -1212,10 +1212,10 @@ public:
};
-class mob_giant_eye_tentacle : public CreatureScript
+class npc_giant_eye_tentacle : public CreatureScript
{
public:
- mob_giant_eye_tentacle() : CreatureScript("mob_giant_eye_tentacle") { }
+ npc_giant_eye_tentacle() : CreatureScript("npc_giant_eye_tentacle") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -1228,7 +1228,7 @@ public:
{
SetCombatMovement(false);
- if (Creature* pPortal = me->SummonCreature(MOB_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* pPortal = me->SummonCreature(NPC_GIANT_PORTAL, *me, TEMPSUMMON_CORPSE_DESPAWN))
{
pPortal->SetReactState(REACT_PASSIVE);
Portal = pPortal->GetGUID();
@@ -1276,10 +1276,10 @@ public:
};
-class mob_giant_flesh_tentacle : public CreatureScript
+class npc_giant_flesh_tentacle : public CreatureScript
{
public:
- mob_giant_flesh_tentacle() : CreatureScript("mob_giant_flesh_tentacle") { }
+ npc_giant_flesh_tentacle() : CreatureScript("npc_giant_flesh_tentacle") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -1310,9 +1310,9 @@ void AddSC_boss_cthun()
{
new boss_eye_of_cthun();
new boss_cthun();
- new mob_eye_tentacle();
- new mob_claw_tentacle();
- new mob_giant_claw_tentacle();
- new mob_giant_eye_tentacle();
- new mob_giant_flesh_tentacle();
+ new npc_eye_tentacle();
+ new npc_claw_tentacle();
+ new npc_giant_claw_tentacle();
+ new npc_giant_eye_tentacle();
+ new npc_giant_flesh_tentacle();
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
index d4bb5416a4e..cadfbe1cd39 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
@@ -184,19 +184,19 @@ public:
};
-class mob_sartura_royal_guard : public CreatureScript
+class npc_sartura_royal_guard : public CreatureScript
{
public:
- mob_sartura_royal_guard() : CreatureScript("mob_sartura_royal_guard") { }
+ npc_sartura_royal_guard() : CreatureScript("npc_sartura_royal_guard") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_sartura_royal_guardAI (creature);
+ return new npc_sartura_royal_guardAI (creature);
}
- struct mob_sartura_royal_guardAI : public ScriptedAI
+ struct npc_sartura_royal_guardAI : public ScriptedAI
{
- mob_sartura_royal_guardAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_sartura_royal_guardAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WhirlWind_Timer;
uint32 WhirlWindRandom_Timer;
@@ -302,5 +302,5 @@ public:
void AddSC_boss_sartura()
{
new boss_sartura();
- new mob_sartura_royal_guard();
+ new npc_sartura_royal_guard();
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
index f92adef1634..f2e901458cd 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
@@ -17,7 +17,7 @@
*/
/* ScriptData
-SDName: mob_anubisath_sentinel
+SDName: npc_anubisath_sentinel
SD%Complete: 95
SDComment: Shadow storm is not properly implemented in core it should only target ppl outside of melee range.
SDCategory: Temple of Ahn'Qiraj
@@ -56,10 +56,10 @@ EndScriptData */
#define SPELL_STORM_BUFF 2148
#define SPELL_STORM 26546
-class mob_anubisath_sentinel : public CreatureScript
+class npc_anubisath_sentinel : public CreatureScript
{
public:
- mob_anubisath_sentinel() : CreatureScript("mob_anubisath_sentinel") { }
+ npc_anubisath_sentinel() : CreatureScript("npc_anubisath_sentinel") { }
CreatureAI* GetAI(Creature* creature) const
{
@@ -259,7 +259,7 @@ public:
};
};
-void AddSC_mob_anubisath_sentinel()
+void AddSC_npc_anubisath_sentinel()
{
- new mob_anubisath_sentinel();
+ new npc_anubisath_sentinel();
}
diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h
index eecdce51831..1a7ba226135 100644
--- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h
+++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h
@@ -40,15 +40,15 @@ enum DataTypes
enum Creatures
{
BOSS_EYE_OF_CTHUN = 15589,
- MOB_CTHUN_PORTAL = 15896,
- MOB_CLAW_TENTACLE = 15725,
- MOB_EYE_TENTACLE = 15726,
- MOB_SMALL_PORTAL = 15904,
- MOB_BODY_OF_CTHUN = 15809,
- MOB_GIANT_CLAW_TENTACLE = 15728,
- MOB_GIANT_EYE_TENTACLE = 15334,
- MOB_FLESH_TENTACLE = 15802,
- MOB_GIANT_PORTAL = 15910,
+ NPC_CTHUN_PORTAL = 15896,
+ NPC_CLAW_TENTACLE = 15725,
+ NPC_EYE_TENTACLE = 15726,
+ NPC_SMALL_PORTAL = 15904,
+ NPC_BODY_OF_CTHUN = 15809,
+ NPC_GIANT_CLAW_TENTACLE = 15728,
+ NPC_GIANT_EYE_TENTACLE = 15334,
+ NPC_FLESH_TENTACLE = 15802,
+ NPC_GIANT_PORTAL = 15910,
NPC_VISCIDUS = 15299,
NPC_GLOB_OF_VISCIDUS = 15667,
diff --git a/src/server/scripts/Kalimdor/zone_azshara.cpp b/src/server/scripts/Kalimdor/zone_azshara.cpp
index 611936b5ff1..1669337b6e9 100644
--- a/src/server/scripts/Kalimdor/zone_azshara.cpp
+++ b/src/server/scripts/Kalimdor/zone_azshara.cpp
@@ -24,10 +24,10 @@ SDCategory: Azshara
EndScriptData */
/* ContentData
-mobs_spitelashes
+npc_spitelashes
npc_loramus_thalipedes
-mob_rizzle_sprysprocket
-mob_depth_charge
+npc_rizzle_sprysprocket
+npc_depth_charge
EndContentData */
#include "ScriptMgr.h"
@@ -38,22 +38,22 @@ EndContentData */
#include "WorldSession.h"
/*######
-## mobs_spitelashes
+## npc_spitelashes
######*/
-class mobs_spitelashes : public CreatureScript
+class npc_spitelashes : public CreatureScript
{
public:
- mobs_spitelashes() : CreatureScript("mobs_spitelashes") { }
+ npc_spitelashes() : CreatureScript("npc_spitelashes") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_spitelashesAI (creature);
+ return new npc_spitelashesAI (creature);
}
- struct mobs_spitelashesAI : public ScriptedAI
+ struct npc_spitelashesAI : public ScriptedAI
{
- mobs_spitelashesAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_spitelashesAI(Creature* creature) : ScriptedAI(creature) {}
uint32 morphtimer;
bool spellhit;
@@ -190,14 +190,14 @@ public:
};
/*####
-# mob_rizzle_sprysprocket
+# npc_rizzle_sprysprocket
####*/
enum RizzleSprysprocketData
{
QUEST_CHASING_THE_MOONSTONE = 10994,
- MOB_DEPTH_CHARGE = 23025,
+ NPC_DEPTH_CHARGE = 23025,
SPELL_RIZZLE_BLACKJACK = 39865,
SPELL_RIZZLE_ESCAPE = 39871,
@@ -276,10 +276,10 @@ Position const WPs[58] =
{1873.57f, -3695.32f, 33.9118f, 3.44f}
};
-class mob_rizzle_sprysprocket : public CreatureScript
+class npc_rizzle_sprysprocket : public CreatureScript
{
public:
- mob_rizzle_sprysprocket() : CreatureScript("mob_rizzle_sprysprocket") { }
+ npc_rizzle_sprysprocket() : CreatureScript("npc_rizzle_sprysprocket") { }
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action)
{
@@ -288,8 +288,8 @@ public:
{
player->CLOSE_GOSSIP_MENU();
creature->CastSpell(player, SPELL_GIVE_SOUTHFURY_MOONSTONE, true);
- CAST_AI(mob_rizzle_sprysprocket::mob_rizzle_sprysprocketAI, creature->AI())->MustDieTimer = 3000;
- CAST_AI(mob_rizzle_sprysprocket::mob_rizzle_sprysprocketAI, creature->AI())->MustDie = true;
+ CAST_AI(npc_rizzle_sprysprocket::npc_rizzle_sprysprocketAI, creature->AI())->MustDieTimer = 3000;
+ CAST_AI(npc_rizzle_sprysprocket::npc_rizzle_sprysprocketAI, creature->AI())->MustDie = true;
}
return true;
}
@@ -305,12 +305,12 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_rizzle_sprysprocketAI (creature);
+ return new npc_rizzle_sprysprocketAI (creature);
}
- struct mob_rizzle_sprysprocketAI : public ScriptedAI
+ struct npc_rizzle_sprysprocketAI : public ScriptedAI
{
- mob_rizzle_sprysprocketAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_rizzle_sprysprocketAI(Creature* creature) : ScriptedAI(creature) {}
uint32 SpellEscapeTimer;
uint32 TeleportTimer;
@@ -472,21 +472,21 @@ public:
};
/*####
-# mob_depth_charge
+# npc_depth_charge
####*/
-class mob_depth_charge : public CreatureScript
+class npc_depth_charge : public CreatureScript
{
public:
- mob_depth_charge() : CreatureScript("mob_depth_charge") { }
+ npc_depth_charge() : CreatureScript("npc_depth_charge") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_depth_chargeAI (creature);
+ return new npc_depth_chargeAI (creature);
}
- struct mob_depth_chargeAI : public ScriptedAI
+ struct npc_depth_chargeAI : public ScriptedAI
{
- mob_depth_chargeAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_depth_chargeAI(Creature* creature) : ScriptedAI(creature) {}
bool WeMustDie;
uint32 WeMustDieTimer;
@@ -533,8 +533,8 @@ public:
void AddSC_azshara()
{
- new mobs_spitelashes();
+ new npc_spitelashes();
new npc_loramus_thalipedes();
- new mob_rizzle_sprysprocket();
- new mob_depth_charge();
+ new npc_rizzle_sprysprocket();
+ new npc_depth_charge();
}
diff --git a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
index 9d910fd4103..9f2c39e9a27 100644
--- a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
+++ b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
@@ -422,7 +422,7 @@ enum Geezle
EMOTE_SPARK = 7,
- MOB_SPARK = 17243,
+ NPC_SPARK = 17243,
GO_NAGA_FLAG = 181694
};
@@ -462,7 +462,7 @@ public:
{
Step = 0;
EventStarted = true;
- if (Creature* Spark = me->SummonCreature(MOB_SPARK, SparkPos, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 1000))
+ if (Creature* Spark = me->SummonCreature(NPC_SPARK, SparkPos, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 1000))
{
SparkGUID = Spark->GetGUID();
Spark->setActive(true);
@@ -534,7 +534,7 @@ public:
for (std::list<Player*>::const_iterator itr = players.begin(); itr != players.end(); ++itr)
if ((*itr)->GetQuestStatus(QUEST_TREES_COMPANY) == QUEST_STATUS_INCOMPLETE && (*itr)->HasAura(SPELL_TREE_DISGUISE))
- (*itr)->KilledMonsterCredit(MOB_SPARK, 0);
+ (*itr)->KilledMonsterCredit(NPC_SPARK, 0);
}
void DespawnNagaFlag(bool despawn)
diff --git a/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp b/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
index 102a9494a65..713c66b66b8 100644
--- a/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
+++ b/src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
@@ -24,7 +24,7 @@ SDCategory: Bloodmyst Isle
EndScriptData */
/* ContentData
-mob_webbed_creature
+npc_webbed_creature
npc_captured_sunhawk_agent
EndContentData */
@@ -34,25 +34,25 @@ EndContentData */
#include "Player.h"
/*######
-## mob_webbed_creature
+## npc_webbed_creature
######*/
//possible creatures to be spawned
uint32 const possibleSpawns[32] = {17322, 17661, 17496, 17522, 17340, 17352, 17333, 17524, 17654, 17348, 17339, 17345, 17359, 17353, 17336, 17550, 17330, 17701, 17321, 17680, 17325, 17320, 17683, 17342, 17715, 17334, 17341, 17338, 17337, 17346, 17344, 17327};
-class mob_webbed_creature : public CreatureScript
+class npc_webbed_creature : public CreatureScript
{
public:
- mob_webbed_creature() : CreatureScript("mob_webbed_creature") { }
+ npc_webbed_creature() : CreatureScript("npc_webbed_creature") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_webbed_creatureAI (creature);
+ return new npc_webbed_creatureAI (creature);
}
- struct mob_webbed_creatureAI : public ScriptedAI
+ struct npc_webbed_creatureAI : public ScriptedAI
{
- mob_webbed_creatureAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_webbed_creatureAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
@@ -205,7 +205,7 @@ public:
void AddSC_bloodmyst_isle()
{
- new mob_webbed_creature();
+ new npc_webbed_creature();
new npc_captured_sunhawk_agent();
new npc_princess_stillpine();
new go_princess_stillpines_cage();
diff --git a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
index 93b5645c28f..ba7c34b6c05 100644
--- a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
+++ b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
@@ -24,7 +24,7 @@ SDCategory: Dustwallow Marsh
EndScriptData */
/* ContentData
-mobs_risen_husk_spirit
+npc_risen_husk_spirit
npc_lady_jaina_proudmoore
npc_nat_pagle
npc_private_hendel
@@ -40,7 +40,7 @@ EndContentData */
#include "WorldSession.h"
/*######
-## mobs_risen_husk_spirit
+## npc_risen_husk_spirit
######*/
enum HauntingWitchHill
@@ -65,14 +65,14 @@ enum HauntingWitchHill
EVENT_INTANGIBLE_PRESENCE = 2,
};
-class mobs_risen_husk_spirit : public CreatureScript
+class npc_risen_husk_spirit : public CreatureScript
{
public:
- mobs_risen_husk_spirit() : CreatureScript("mobs_risen_husk_spirit") { }
+ npc_risen_husk_spirit() : CreatureScript("npc_risen_husk_spirit") { }
- struct mobs_risen_husk_spiritAI : public ScriptedAI
+ struct npc_risen_husk_spiritAI : public ScriptedAI
{
- mobs_risen_husk_spiritAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_risen_husk_spiritAI(Creature* creature) : ScriptedAI(creature) { }
void Reset()
{
@@ -128,7 +128,7 @@ class mobs_risen_husk_spirit : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_risen_husk_spiritAI (creature);
+ return new npc_risen_husk_spiritAI (creature);
}
};
@@ -766,7 +766,7 @@ public:
void AddSC_dustwallow_marsh()
{
- new mobs_risen_husk_spirit();
+ new npc_risen_husk_spirit();
new npc_lady_jaina_proudmoore();
new npc_nat_pagle();
new npc_private_hendel();
diff --git a/src/server/scripts/Kalimdor/zone_silithus.cpp b/src/server/scripts/Kalimdor/zone_silithus.cpp
index 495d0d3eb85..c6d92c1dcac 100644
--- a/src/server/scripts/Kalimdor/zone_silithus.cpp
+++ b/src/server/scripts/Kalimdor/zone_silithus.cpp
@@ -287,7 +287,7 @@ enum EternalBoard
/* ContentData
A Pawn on the Eternal Board - creatures, gameobjects and defines
-mob_qiraj_war_spawn : Adds that are summoned in the Qiraj gates battle.
+npc_qiraj_war_spawn : Adds that are summoned in the Qiraj gates battle.
npc_anachronos_the_ancient : Creature that controls the event.
npc_anachronos_quest_trigger: controls the spawning of the BG War mobs.
go_crystalline_tear : GameObject that begins the event and hands out quest
@@ -809,22 +809,22 @@ public:
};
/*######
-# mob_qiraj_war_spawn
+# npc_qiraj_war_spawn
######*/
-class mob_qiraj_war_spawn : public CreatureScript
+class npc_qiraj_war_spawn : public CreatureScript
{
public:
- mob_qiraj_war_spawn() : CreatureScript("mob_qiraj_war_spawn") { }
+ npc_qiraj_war_spawn() : CreatureScript("npc_qiraj_war_spawn") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_qiraj_war_spawnAI(creature);
+ return new npc_qiraj_war_spawnAI(creature);
}
- struct mob_qiraj_war_spawnAI : public ScriptedAI
+ struct npc_qiraj_war_spawnAI : public ScriptedAI
{
- mob_qiraj_war_spawnAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_qiraj_war_spawnAI(Creature* creature) : ScriptedAI(creature) {}
uint64 MobGUID;
uint64 PlayerGUID;
@@ -987,7 +987,7 @@ public:
if (WaveCount < 5) //1-4 Wave
{
- if (mob_qiraj_war_spawn::mob_qiraj_war_spawnAI* spawnAI = CAST_AI(mob_qiraj_war_spawn::mob_qiraj_war_spawnAI, spawn->AI()))
+ if (npc_qiraj_war_spawn::npc_qiraj_war_spawnAI* spawnAI = CAST_AI(npc_qiraj_war_spawn::npc_qiraj_war_spawnAI, spawn->AI()))
{
spawnAI->MobGUID = me->GetGUID();
spawnAI->PlayerGUID = PlayerGUID;
@@ -1070,7 +1070,7 @@ public:
};
-void mob_qiraj_war_spawn::mob_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/)
+void npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(Unit* /*slayer*/)
{
me->RemoveCorpse();
@@ -1508,7 +1508,7 @@ void AddSC_silithus()
new go_crystalline_tear();
new npc_anachronos_quest_trigger();
new npc_anachronos_the_ancient();
- new mob_qiraj_war_spawn();
+ new npc_qiraj_war_spawn();
new npc_highlord_demitrian();
new npcs_rutgar_and_frankal();
new go_wind_stone();
diff --git a/src/server/scripts/Kalimdor/zone_tanaris.cpp b/src/server/scripts/Kalimdor/zone_tanaris.cpp
index 9159d56fc22..06401766861 100644
--- a/src/server/scripts/Kalimdor/zone_tanaris.cpp
+++ b/src/server/scripts/Kalimdor/zone_tanaris.cpp
@@ -24,7 +24,7 @@ SDCategory: Tanaris
EndScriptData */
/* ContentData
-mob_aquementas
+npc_aquementas
npc_custodian_of_time
npc_marin_noggenfogger
npc_steward_of_time
@@ -42,7 +42,7 @@ EndContentData */
#include "WorldSession.h"
/*######
-## mob_aquementas
+## npc_aquementas
######*/
enum Aquementas
@@ -53,19 +53,19 @@ enum Aquementas
SPELL_FROST_SHOCK = 15089
};
-class mob_aquementas : public CreatureScript
+class npc_aquementas : public CreatureScript
{
public:
- mob_aquementas() : CreatureScript("mob_aquementas") { }
+ npc_aquementas() : CreatureScript("npc_aquementas") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_aquementasAI (creature);
+ return new npc_aquementasAI (creature);
}
- struct mob_aquementasAI : public ScriptedAI
+ struct npc_aquementasAI : public ScriptedAI
{
- mob_aquementasAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_aquementasAI(Creature* creature) : ScriptedAI(creature) {}
uint32 SendItemTimer;
uint32 SwitchFactionTimer;
@@ -677,7 +677,7 @@ public:
void AddSC_tanaris()
{
- new mob_aquementas();
+ new npc_aquementas();
new npc_custodian_of_time();
new npc_marin_noggenfogger();
new npc_steward_of_time();
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
index 24335c0e469..725dd88f137 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_amanitar.cpp
@@ -177,14 +177,14 @@ public:
}
};
-class mob_amanitar_mushrooms : public CreatureScript
+class npc_amanitar_mushrooms : public CreatureScript
{
public:
- mob_amanitar_mushrooms() : CreatureScript("mob_amanitar_mushrooms") { }
+ npc_amanitar_mushrooms() : CreatureScript("npc_amanitar_mushrooms") { }
- struct mob_amanitar_mushroomsAI : public ScriptedAI
+ struct npc_amanitar_mushroomsAI : public ScriptedAI
{
- mob_amanitar_mushroomsAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_amanitar_mushroomsAI(Creature* creature) : ScriptedAI(creature) {}
EventMap events;
@@ -242,12 +242,12 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_amanitar_mushroomsAI(creature);
+ return new npc_amanitar_mushroomsAI(creature);
}
};
void AddSC_boss_amanitar()
{
new boss_amanitar();
- new mob_amanitar_mushrooms();
+ new npc_amanitar_mushrooms();
}
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
index a9fad9c5451..900d975f4bf 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp
@@ -193,14 +193,14 @@ class boss_elder_nadox : public CreatureScript
}
};
-class mob_ahnkahar_nerubian : public CreatureScript
+class npc_ahnkahar_nerubian : public CreatureScript
{
public:
- mob_ahnkahar_nerubian() : CreatureScript("mob_ahnkahar_nerubian") { }
+ npc_ahnkahar_nerubian() : CreatureScript("npc_ahnkahar_nerubian") { }
- struct mob_ahnkahar_nerubianAI : public ScriptedAI
+ struct npc_ahnkahar_nerubianAI : public ScriptedAI
{
- mob_ahnkahar_nerubianAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_ahnkahar_nerubianAI(Creature* creature) : ScriptedAI(creature) { }
EventMap events;
@@ -244,19 +244,19 @@ class mob_ahnkahar_nerubian : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ahnkahar_nerubianAI(creature);
+ return new npc_ahnkahar_nerubianAI(creature);
}
};
//HACK: No, AI. Replace with proper db content?
-class mob_nadox_eggs : public CreatureScript
+class npc_nadox_eggs : public CreatureScript
{
public:
- mob_nadox_eggs() : CreatureScript("mob_nadox_eggs") { }
+ npc_nadox_eggs() : CreatureScript("npc_nadox_eggs") { }
- struct mob_nadox_eggsAI : public ScriptedAI
+ struct npc_nadox_eggsAI : public ScriptedAI
{
- mob_nadox_eggsAI(Creature* creature) : ScriptedAI(creature)
+ npc_nadox_eggsAI(Creature* creature) : ScriptedAI(creature)
{
creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);
creature->UpdateAllStats();
@@ -271,7 +271,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_nadox_eggsAI(creature);
+ return new npc_nadox_eggsAI(creature);
}
};
@@ -335,8 +335,8 @@ public:
void AddSC_boss_elder_nadox()
{
new boss_elder_nadox();
- new mob_ahnkahar_nerubian();
- new mob_nadox_eggs();
+ new npc_ahnkahar_nerubian();
+ new npc_nadox_eggs();
new spell_elder_nadox_guardian();
new achievement_respect_your_elders();
}
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp
index 6c7a434ac14..21a019dc17d 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp
@@ -43,7 +43,7 @@ enum Spells
enum Creatures
{
- MOB_TWISTED_VISAGE = 30625
+ NPC_TWISTED_VISAGE = 30625
};
@@ -127,7 +127,7 @@ public:
if (!player || !player->IsAlive())
continue;
// Summon clone
- if (Unit* summon = me->SummonCreature(MOB_TWISTED_VISAGE, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), me->GetOrientation(), TEMPSUMMON_CORPSE_DESPAWN, 0))
+ if (Unit* summon = me->SummonCreature(NPC_TWISTED_VISAGE, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), me->GetOrientation(), TEMPSUMMON_CORPSE_DESPAWN, 0))
{
// clone
player->CastSpell(summon, SPELL_CLONE_PLAYER, true);
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
index f2bdf829494..d6d079eac17 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_jedoga_shadowseeker.cpp
@@ -342,14 +342,14 @@ public:
}
};
-class mob_jedoga_initiand : public CreatureScript
+class npc_jedoga_initiand : public CreatureScript
{
public:
- mob_jedoga_initiand() : CreatureScript("mob_jedoga_initiand") { }
+ npc_jedoga_initiand() : CreatureScript("npc_jedoga_initiand") { }
- struct mob_jedoga_initiandAI : public ScriptedAI
+ struct npc_jedoga_initiandAI : public ScriptedAI
{
- mob_jedoga_initiandAI(Creature* creature) : ScriptedAI(creature)
+ npc_jedoga_initiandAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -505,7 +505,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_jedoga_initiandAI(creature);
+ return new npc_jedoga_initiandAI(creature);
}
};
@@ -617,7 +617,7 @@ class achievement_volunteer_work : public AchievementCriteriaScript
void AddSC_boss_jedoga_shadowseeker()
{
new boss_jedoga_shadowseeker();
- new mob_jedoga_initiand();
+ new npc_jedoga_initiand();
new npc_jedogas_aufseher_trigger();
new achievement_volunteer_work();
}
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
index 35c158c1d1a..72bae8c17d4 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
@@ -334,14 +334,14 @@ public:
}
};
-class mob_taldaram_flamesphere : public CreatureScript
+class npc_taldaram_flamesphere : public CreatureScript
{
public:
- mob_taldaram_flamesphere() : CreatureScript("mob_taldaram_flamesphere") { }
+ npc_taldaram_flamesphere() : CreatureScript("npc_taldaram_flamesphere") { }
- struct mob_taldaram_flamesphereAI : public ScriptedAI
+ struct npc_taldaram_flamesphereAI : public ScriptedAI
{
- mob_taldaram_flamesphereAI(Creature* creature) : ScriptedAI(creature)
+ npc_taldaram_flamesphereAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -381,7 +381,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_taldaram_flamesphereAI(creature);
+ return new npc_taldaram_flamesphereAI(creature);
}
};
@@ -425,6 +425,6 @@ public:
void AddSC_boss_taldaram()
{
new boss_taldaram();
- new mob_taldaram_flamesphere();
+ new npc_taldaram_flamesphere();
new prince_taldaram_sphere();
}
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
index 43d4f1bfdd9..d5072eee741 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
@@ -54,9 +54,9 @@ enum Spells
enum Mobs
{
- MOB_SKITTERING_SWARMER = 28735,
- MOB_SKITTERING_SWARMER_CONTROLLER = 32593,
- MOB_SKITTERING_INFECTIOR = 28736
+ NPC_SKITTERING_SWARMER = 28735,
+ NPC_SKITTERING_SWARMER_CONTROLLER = 32593,
+ NPC_SKITTERING_INFECTIOR = 28736
};
enum Yells
@@ -120,22 +120,22 @@ public:
void Summon()
{
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[0], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[0], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[1], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[1], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[2], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[2], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[3], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[3], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_INFECTIOR, SpawnPoint[4], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[4], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_INFECTIOR, SpawnPoint[5], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[5], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_INFECTIOR, SpawnPoint[6], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[6], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[7], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
- me->SummonCreature(MOB_SKITTERING_SWARMER, SpawnPoint[7], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[0], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[0], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[1], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[1], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[2], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[2], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[3], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[3], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_INFECTIOR, SpawnPoint[4], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[4], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_INFECTIOR, SpawnPoint[5], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[5], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_INFECTIOR, SpawnPoint[6], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[6], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[7], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
+ me->SummonCreature(NPC_SKITTERING_SWARMER, SpawnPoint[7], TEMPSUMMON_TIMED_DESPAWN, 25*IN_MILLISECONDS);
}
void UpdateAI(uint32 diff)
diff --git a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp
index eca287a2be4..84fad199958 100644
--- a/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp
+++ b/src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp
@@ -976,19 +976,19 @@ struct dummy_dragonAI : public ScriptedAI
## Mob Tenebron
######*/
-class mob_tenebron : public CreatureScript
+class npc_tenebron : public CreatureScript
{
public:
- mob_tenebron() : CreatureScript("mob_tenebron") { }
+ npc_tenebron() : CreatureScript("npc_tenebron") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_tenebronAI(creature);
+ return new npc_tenebronAI(creature);
}
- struct mob_tenebronAI : public dummy_dragonAI
+ struct npc_tenebronAI : public dummy_dragonAI
{
- mob_tenebronAI(Creature* creature) : dummy_dragonAI(creature) {}
+ npc_tenebronAI(Creature* creature) : dummy_dragonAI(creature) {}
uint32 m_uiShadowBreathTimer;
uint32 m_uiShadowFissureTimer;
@@ -1065,19 +1065,19 @@ public:
## Mob Shadron
######*/
-class mob_shadron : public CreatureScript
+class npc_shadron : public CreatureScript
{
public:
- mob_shadron() : CreatureScript("mob_shadron") { }
+ npc_shadron() : CreatureScript("npc_shadron") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shadronAI(creature);
+ return new npc_shadronAI(creature);
}
- struct mob_shadronAI : public dummy_dragonAI
+ struct npc_shadronAI : public dummy_dragonAI
{
- mob_shadronAI(Creature* creature) : dummy_dragonAI(creature) {}
+ npc_shadronAI(Creature* creature) : dummy_dragonAI(creature) {}
uint32 m_uiShadowBreathTimer;
uint32 m_uiShadowFissureTimer;
@@ -1169,19 +1169,19 @@ public:
## Mob Vesperon
######*/
-class mob_vesperon : public CreatureScript
+class npc_vesperon : public CreatureScript
{
public:
- mob_vesperon() : CreatureScript("mob_vesperon") { }
+ npc_vesperon() : CreatureScript("npc_vesperon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_vesperonAI(creature);
+ return new npc_vesperonAI(creature);
}
- struct mob_vesperonAI : public dummy_dragonAI
+ struct npc_vesperonAI : public dummy_dragonAI
{
- mob_vesperonAI(Creature* creature) : dummy_dragonAI(creature) {}
+ npc_vesperonAI(Creature* creature) : dummy_dragonAI(creature) {}
uint32 m_uiShadowBreathTimer;
uint32 m_uiShadowFissureTimer;
@@ -1264,19 +1264,19 @@ public:
## Mob Acolyte of Shadron
######*/
-class mob_acolyte_of_shadron : public CreatureScript
+class npc_acolyte_of_shadron : public CreatureScript
{
public:
- mob_acolyte_of_shadron() : CreatureScript("mob_acolyte_of_shadron") { }
+ npc_acolyte_of_shadron() : CreatureScript("npc_acolyte_of_shadron") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_acolyte_of_shadronAI(creature);
+ return new npc_acolyte_of_shadronAI(creature);
}
- struct mob_acolyte_of_shadronAI : public ScriptedAI
+ struct npc_acolyte_of_shadronAI : public ScriptedAI
{
- mob_acolyte_of_shadronAI(Creature* creature) : ScriptedAI(creature)
+ npc_acolyte_of_shadronAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1315,7 +1315,7 @@ public:
Creature* Shadron = instance->instance->GetCreature(instance->GetData64(DATA_SHADRON));
if (Shadron)
{
- (CAST_AI(mob_shadron::mob_shadronAI, Shadron->AI()))->m_bHasPortalOpen = false;
+ (CAST_AI(npc_shadron::npc_shadronAI, Shadron->AI()))->m_bHasPortalOpen = false;
}
Creature* pDebuffTarget = NULL;
@@ -1374,19 +1374,19 @@ public:
## Mob Acolyte of Vesperon
######*/
-class mob_acolyte_of_vesperon : public CreatureScript
+class npc_acolyte_of_vesperon : public CreatureScript
{
public:
- mob_acolyte_of_vesperon() : CreatureScript("mob_acolyte_of_vesperon") { }
+ npc_acolyte_of_vesperon() : CreatureScript("npc_acolyte_of_vesperon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_acolyte_of_vesperonAI(creature);
+ return new npc_acolyte_of_vesperonAI(creature);
}
- struct mob_acolyte_of_vesperonAI : public ScriptedAI
+ struct npc_acolyte_of_vesperonAI : public ScriptedAI
{
- mob_acolyte_of_vesperonAI(Creature* creature) : ScriptedAI(creature)
+ npc_acolyte_of_vesperonAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1413,7 +1413,7 @@ public:
{
Creature* pVesperon = instance->instance->GetCreature(instance->GetData64(DATA_VESPERON));
if (pVesperon)
- (CAST_AI(mob_vesperon::mob_vesperonAI, pVesperon->AI()))->m_bHasPortalOpen = false;
+ (CAST_AI(npc_vesperon::npc_vesperonAI, pVesperon->AI()))->m_bHasPortalOpen = false;
if (pVesperon && pVesperon->IsAlive() && pVesperon->HasAura(SPELL_TWILIGHT_TORMENT_VESP))
pVesperon->RemoveAurasDueToSpell(SPELL_TWILIGHT_TORMENT_VESP);
@@ -1469,19 +1469,19 @@ public:
## Mob Twilight Eggs
######*/
-class mob_twilight_eggs : public CreatureScript
+class npc_twilight_eggs : public CreatureScript
{
public:
- mob_twilight_eggs() : CreatureScript("mob_twilight_eggs") { }
+ npc_twilight_eggs() : CreatureScript("npc_twilight_eggs") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_twilight_eggsAI(creature);
+ return new npc_twilight_eggsAI(creature);
}
- struct mob_twilight_eggsAI : public ScriptedAI
+ struct npc_twilight_eggsAI : public ScriptedAI
{
- mob_twilight_eggsAI(Creature* creature) : ScriptedAI(creature)
+ npc_twilight_eggsAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
instance = creature->GetInstanceScript();
@@ -1524,7 +1524,7 @@ public:
{
Creature* Tenebron = instance->instance->GetCreature(instance->GetData64(DATA_TENEBRON));
if (Tenebron)
- (CAST_AI(mob_tenebron::mob_tenebronAI, Tenebron->AI()))->m_bHasPortalOpen = false;
+ (CAST_AI(npc_tenebron::npc_tenebronAI, Tenebron->AI()))->m_bHasPortalOpen = false;
SpawnWhelps();
}
else
@@ -1641,19 +1641,19 @@ public:
## Mob Twilight Whelps
######*/
-class mob_twilight_whelp : public CreatureScript
+class npc_twilight_whelp : public CreatureScript
{
public:
- mob_twilight_whelp() : CreatureScript("mob_twilight_whelp") { }
+ npc_twilight_whelp() : CreatureScript("npc_twilight_whelp") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_twilight_whelpAI(creature);
+ return new npc_twilight_whelpAI(creature);
}
- struct mob_twilight_whelpAI : public ScriptedAI
+ struct npc_twilight_whelpAI : public ScriptedAI
{
- mob_twilight_whelpAI(Creature* creature) : ScriptedAI(creature)
+ npc_twilight_whelpAI(Creature* creature) : ScriptedAI(creature)
{
Reset();
}
@@ -1751,15 +1751,15 @@ class achievement_twilight_zone : public AchievementCriteriaScript
void AddSC_boss_sartharion()
{
new boss_sartharion();
- new mob_vesperon();
- new mob_shadron();
- new mob_tenebron();
- new mob_acolyte_of_shadron();
- new mob_acolyte_of_vesperon();
- new mob_twilight_eggs();
+ new npc_vesperon();
+ new npc_shadron();
+ new npc_tenebron();
+ new npc_acolyte_of_shadron();
+ new npc_acolyte_of_vesperon();
+ new npc_twilight_eggs();
new npc_flame_tsunami();
new npc_twilight_fissure();
- new mob_twilight_whelp();
+ new npc_twilight_whelp();
new achievement_twilight_assist();
new achievement_twilight_duo();
new achievement_twilight_zone();
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp
index 30f02ced9a0..5852d323c6e 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp
@@ -428,14 +428,14 @@ class boss_anubarak_trial : public CreatureScript
};
};
-class mob_swarm_scarab : public CreatureScript
+class npc_swarm_scarab : public CreatureScript
{
public:
- mob_swarm_scarab() : CreatureScript("mob_swarm_scarab") { }
+ npc_swarm_scarab() : CreatureScript("npc_swarm_scarab") { }
- struct mob_swarm_scarabAI : public ScriptedAI
+ struct npc_swarm_scarabAI : public ScriptedAI
{
- mob_swarm_scarabAI(Creature* creature) : ScriptedAI(creature)
+ npc_swarm_scarabAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -496,18 +496,18 @@ class mob_swarm_scarab : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_swarm_scarabAI(creature);
+ return new npc_swarm_scarabAI(creature);
};
};
-class mob_nerubian_burrower : public CreatureScript
+class npc_nerubian_burrower : public CreatureScript
{
public:
- mob_nerubian_burrower() : CreatureScript("mob_nerubian_burrower") { }
+ npc_nerubian_burrower() : CreatureScript("npc_nerubian_burrower") { }
- struct mob_nerubian_burrowerAI : public ScriptedAI
+ struct npc_nerubian_burrowerAI : public ScriptedAI
{
- mob_nerubian_burrowerAI(Creature* creature) : ScriptedAI(creature)
+ npc_nerubian_burrowerAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -585,18 +585,18 @@ class mob_nerubian_burrower : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_nerubian_burrowerAI(creature);
+ return new npc_nerubian_burrowerAI(creature);
};
};
-class mob_frost_sphere : public CreatureScript
+class npc_frost_sphere : public CreatureScript
{
public:
- mob_frost_sphere() : CreatureScript("mob_frost_sphere") { }
+ npc_frost_sphere() : CreatureScript("npc_frost_sphere") { }
- struct mob_frost_sphereAI : public ScriptedAI
+ struct npc_frost_sphereAI : public ScriptedAI
{
- mob_frost_sphereAI(Creature* creature) : ScriptedAI(creature)
+ npc_frost_sphereAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -658,18 +658,18 @@ class mob_frost_sphere : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frost_sphereAI(creature);
+ return new npc_frost_sphereAI(creature);
};
};
-class mob_anubarak_spike : public CreatureScript
+class npc_anubarak_spike : public CreatureScript
{
public:
- mob_anubarak_spike() : CreatureScript("mob_anubarak_spike") { }
+ npc_anubarak_spike() : CreatureScript("npc_anubarak_spike") { }
- struct mob_anubarak_spikeAI : public ScriptedAI
+ struct npc_anubarak_spikeAI : public ScriptedAI
{
- mob_anubarak_spikeAI(Creature* creature) : ScriptedAI(creature)
+ npc_anubarak_spikeAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -805,7 +805,7 @@ class mob_anubarak_spike : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_anubarak_spikeAI(creature);
+ return new npc_anubarak_spikeAI(creature);
};
};
@@ -886,10 +886,10 @@ class spell_anubarak_leeching_swarm : public SpellScriptLoader
void AddSC_boss_anubarak_trial()
{
new boss_anubarak_trial();
- new mob_swarm_scarab();
- new mob_nerubian_burrower();
- new mob_anubarak_spike();
- new mob_frost_sphere();
+ new npc_swarm_scarab();
+ new npc_nerubian_burrower();
+ new npc_anubarak_spike();
+ new npc_frost_sphere();
new spell_impale();
new spell_anubarak_leeching_swarm();
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp
index c8cab5e6c98..bf1d354deb6 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp
@@ -750,14 +750,14 @@ struct boss_faction_championsAI : public BossAI
/********************************************************************
HEALERS
********************************************************************/
-class mob_toc_druid : public CreatureScript
+class npc_toc_druid : public CreatureScript
{
public:
- mob_toc_druid() : CreatureScript("mob_toc_druid") { }
+ npc_toc_druid() : CreatureScript("npc_toc_druid") { }
- struct mob_toc_druidAI : public boss_faction_championsAI
+ struct npc_toc_druidAI : public boss_faction_championsAI
{
- mob_toc_druidAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
+ npc_toc_druidAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
void Reset()
{
@@ -839,18 +839,18 @@ class mob_toc_druid : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_druidAI (creature);
+ return new npc_toc_druidAI (creature);
}
};
-class mob_toc_shaman : public CreatureScript
+class npc_toc_shaman : public CreatureScript
{
public:
- mob_toc_shaman() : CreatureScript("mob_toc_shaman") { }
+ npc_toc_shaman() : CreatureScript("npc_toc_shaman") { }
- struct mob_toc_shamanAI : public boss_faction_championsAI
+ struct npc_toc_shamanAI : public boss_faction_championsAI
{
- mob_toc_shamanAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
+ npc_toc_shamanAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
void Reset()
{
@@ -932,18 +932,18 @@ class mob_toc_shaman : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_shamanAI (creature);
+ return new npc_toc_shamanAI (creature);
}
};
-class mob_toc_paladin : public CreatureScript
+class npc_toc_paladin : public CreatureScript
{
public:
- mob_toc_paladin() : CreatureScript("mob_toc_paladin") { }
+ npc_toc_paladin() : CreatureScript("npc_toc_paladin") { }
- struct mob_toc_paladinAI : public boss_faction_championsAI
+ struct npc_toc_paladinAI : public boss_faction_championsAI
{
- mob_toc_paladinAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
+ npc_toc_paladinAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
void Reset()
{
@@ -1036,18 +1036,18 @@ class mob_toc_paladin : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_paladinAI (creature);
+ return new npc_toc_paladinAI (creature);
}
};
-class mob_toc_priest : public CreatureScript
+class npc_toc_priest : public CreatureScript
{
public:
- mob_toc_priest() : CreatureScript("mob_toc_priest") { }
+ npc_toc_priest() : CreatureScript("npc_toc_priest") { }
- struct mob_toc_priestAI : public boss_faction_championsAI
+ struct npc_toc_priestAI : public boss_faction_championsAI
{
- mob_toc_priestAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
+ npc_toc_priestAI(Creature* creature) : boss_faction_championsAI(creature, AI_HEALER) {}
void Reset()
{
@@ -1121,21 +1121,21 @@ class mob_toc_priest : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_priestAI (creature);
+ return new npc_toc_priestAI (creature);
}
};
/********************************************************************
RANGED
********************************************************************/
-class mob_toc_shadow_priest : public CreatureScript
+class npc_toc_shadow_priest : public CreatureScript
{
public:
- mob_toc_shadow_priest() : CreatureScript("mob_toc_shadow_priest") { }
+ npc_toc_shadow_priest() : CreatureScript("npc_toc_shadow_priest") { }
- struct mob_toc_shadow_priestAI : public boss_faction_championsAI
+ struct npc_toc_shadow_priestAI : public boss_faction_championsAI
{
- mob_toc_shadow_priestAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
+ npc_toc_shadow_priestAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
void Reset()
{
@@ -1219,18 +1219,18 @@ class mob_toc_shadow_priest : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_shadow_priestAI (creature);
+ return new npc_toc_shadow_priestAI (creature);
}
};
-class mob_toc_warlock : public CreatureScript
+class npc_toc_warlock : public CreatureScript
{
public:
- mob_toc_warlock() : CreatureScript("mob_toc_warlock") { }
+ npc_toc_warlock() : CreatureScript("npc_toc_warlock") { }
- struct mob_toc_warlockAI : public boss_faction_championsAI
+ struct npc_toc_warlockAI : public boss_faction_championsAI
{
- mob_toc_warlockAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
+ npc_toc_warlockAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
void Reset()
{
@@ -1310,18 +1310,18 @@ class mob_toc_warlock : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_warlockAI (creature);
+ return new npc_toc_warlockAI (creature);
}
};
-class mob_toc_mage : public CreatureScript
+class npc_toc_mage : public CreatureScript
{
public:
- mob_toc_mage() : CreatureScript("mob_toc_mage") { }
+ npc_toc_mage() : CreatureScript("npc_toc_mage") { }
- struct mob_toc_mageAI : public boss_faction_championsAI
+ struct npc_toc_mageAI : public boss_faction_championsAI
{
- mob_toc_mageAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
+ npc_toc_mageAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
void Reset()
{
@@ -1404,18 +1404,18 @@ class mob_toc_mage : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_mageAI (creature);
+ return new npc_toc_mageAI (creature);
}
};
-class mob_toc_hunter : public CreatureScript
+class npc_toc_hunter : public CreatureScript
{
public:
- mob_toc_hunter() : CreatureScript("mob_toc_hunter") { }
+ npc_toc_hunter() : CreatureScript("npc_toc_hunter") { }
- struct mob_toc_hunterAI : public boss_faction_championsAI
+ struct npc_toc_hunterAI : public boss_faction_championsAI
{
- mob_toc_hunterAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
+ npc_toc_hunterAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
void Reset()
{
@@ -1506,18 +1506,18 @@ class mob_toc_hunter : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_hunterAI (creature);
+ return new npc_toc_hunterAI (creature);
}
};
-class mob_toc_boomkin : public CreatureScript
+class npc_toc_boomkin : public CreatureScript
{
public:
- mob_toc_boomkin() : CreatureScript("mob_toc_boomkin") { }
+ npc_toc_boomkin() : CreatureScript("npc_toc_boomkin") { }
- struct mob_toc_boomkinAI : public boss_faction_championsAI
+ struct npc_toc_boomkinAI : public boss_faction_championsAI
{
- mob_toc_boomkinAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
+ npc_toc_boomkinAI(Creature* creature) : boss_faction_championsAI(creature, AI_RANGED) {}
void Reset()
{
@@ -1598,21 +1598,21 @@ class mob_toc_boomkin : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_boomkinAI (creature);
+ return new npc_toc_boomkinAI (creature);
}
};
/********************************************************************
MELEE
********************************************************************/
-class mob_toc_warrior : public CreatureScript
+class npc_toc_warrior : public CreatureScript
{
public:
- mob_toc_warrior() : CreatureScript("mob_toc_warrior") { }
+ npc_toc_warrior() : CreatureScript("npc_toc_warrior") { }
- struct mob_toc_warriorAI : public boss_faction_championsAI
+ struct npc_toc_warriorAI : public boss_faction_championsAI
{
- mob_toc_warriorAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
+ npc_toc_warriorAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
void Reset()
{
@@ -1702,18 +1702,18 @@ class mob_toc_warrior : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_warriorAI (creature);
+ return new npc_toc_warriorAI (creature);
}
};
-class mob_toc_dk : public CreatureScript
+class npc_toc_dk : public CreatureScript
{
public:
- mob_toc_dk() : CreatureScript("mob_toc_dk") { }
+ npc_toc_dk() : CreatureScript("npc_toc_dk") { }
- struct mob_toc_dkAI : public boss_faction_championsAI
+ struct npc_toc_dkAI : public boss_faction_championsAI
{
- mob_toc_dkAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
+ npc_toc_dkAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
void Reset()
{
@@ -1798,18 +1798,18 @@ class mob_toc_dk : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_dkAI (creature);
+ return new npc_toc_dkAI (creature);
}
};
-class mob_toc_rogue : public CreatureScript
+class npc_toc_rogue : public CreatureScript
{
public:
- mob_toc_rogue() : CreatureScript("mob_toc_rogue") { }
+ npc_toc_rogue() : CreatureScript("npc_toc_rogue") { }
- struct mob_toc_rogueAI : public boss_faction_championsAI
+ struct npc_toc_rogueAI : public boss_faction_championsAI
{
- mob_toc_rogueAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
+ npc_toc_rogueAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
void Reset()
{
@@ -1903,18 +1903,18 @@ class mob_toc_rogue : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_rogueAI (creature);
+ return new npc_toc_rogueAI (creature);
}
};
-class mob_toc_enh_shaman : public CreatureScript
+class npc_toc_enh_shaman : public CreatureScript
{
public:
- mob_toc_enh_shaman() : CreatureScript("mob_toc_enh_shaman") { }
+ npc_toc_enh_shaman() : CreatureScript("npc_toc_enh_shaman") { }
- struct mob_toc_enh_shamanAI : public boss_faction_championsAI
+ struct npc_toc_enh_shamanAI : public boss_faction_championsAI
{
- mob_toc_enh_shamanAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
+ npc_toc_enh_shamanAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
void Reset()
{
@@ -2029,18 +2029,18 @@ class mob_toc_enh_shaman : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_enh_shamanAI (creature);
+ return new npc_toc_enh_shamanAI (creature);
}
};
-class mob_toc_retro_paladin : public CreatureScript
+class npc_toc_retro_paladin : public CreatureScript
{
public:
- mob_toc_retro_paladin() : CreatureScript("mob_toc_retro_paladin") { }
+ npc_toc_retro_paladin() : CreatureScript("npc_toc_retro_paladin") { }
- struct mob_toc_retro_paladinAI : public boss_faction_championsAI
+ struct npc_toc_retro_paladinAI : public boss_faction_championsAI
{
- mob_toc_retro_paladinAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
+ npc_toc_retro_paladinAI(Creature* creature) : boss_faction_championsAI(creature, AI_MELEE) {}
void Reset()
{
@@ -2135,18 +2135,18 @@ class mob_toc_retro_paladin : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_retro_paladinAI (creature);
+ return new npc_toc_retro_paladinAI (creature);
}
};
-class mob_toc_pet_warlock : public CreatureScript
+class npc_toc_pet_warlock : public CreatureScript
{
public:
- mob_toc_pet_warlock() : CreatureScript("mob_toc_pet_warlock") { }
+ npc_toc_pet_warlock() : CreatureScript("npc_toc_pet_warlock") { }
- struct mob_toc_pet_warlockAI : public boss_faction_championsAI
+ struct npc_toc_pet_warlockAI : public boss_faction_championsAI
{
- mob_toc_pet_warlockAI(Creature* creature) : boss_faction_championsAI(creature, AI_PET) {}
+ npc_toc_pet_warlockAI(Creature* creature) : boss_faction_championsAI(creature, AI_PET) {}
void Reset()
{
@@ -2187,18 +2187,18 @@ class mob_toc_pet_warlock : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_pet_warlockAI (creature);
+ return new npc_toc_pet_warlockAI (creature);
}
};
-class mob_toc_pet_hunter : public CreatureScript
+class npc_toc_pet_hunter : public CreatureScript
{
public:
- mob_toc_pet_hunter() : CreatureScript("mob_toc_pet_hunter") { }
+ npc_toc_pet_hunter() : CreatureScript("npc_toc_pet_hunter") { }
- struct mob_toc_pet_hunterAI : public boss_faction_championsAI
+ struct npc_toc_pet_hunterAI : public boss_faction_championsAI
{
- mob_toc_pet_hunterAI(Creature* creature) : boss_faction_championsAI(creature, AI_PET) {}
+ npc_toc_pet_hunterAI(Creature* creature) : boss_faction_championsAI(creature, AI_PET) {}
void Reset()
{
@@ -2227,7 +2227,7 @@ class mob_toc_pet_hunter : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toc_pet_hunterAI (creature);
+ return new npc_toc_pet_hunterAI (creature);
}
};
@@ -2388,22 +2388,22 @@ class spell_toc_heroism : public SpellScriptLoader
void AddSC_boss_faction_champions()
{
new boss_toc_champion_controller();
- new mob_toc_druid();
- new mob_toc_shaman();
- new mob_toc_paladin();
- new mob_toc_priest();
- new mob_toc_shadow_priest();
- new mob_toc_mage();
- new mob_toc_warlock();
- new mob_toc_hunter();
- new mob_toc_boomkin();
- new mob_toc_warrior();
- new mob_toc_dk();
- new mob_toc_rogue();
- new mob_toc_enh_shaman();
- new mob_toc_retro_paladin();
- new mob_toc_pet_warlock();
- new mob_toc_pet_hunter();
+ new npc_toc_druid();
+ new npc_toc_shaman();
+ new npc_toc_paladin();
+ new npc_toc_priest();
+ new npc_toc_shadow_priest();
+ new npc_toc_mage();
+ new npc_toc_warlock();
+ new npc_toc_hunter();
+ new npc_toc_boomkin();
+ new npc_toc_warrior();
+ new npc_toc_dk();
+ new npc_toc_rogue();
+ new npc_toc_enh_shaman();
+ new npc_toc_retro_paladin();
+ new npc_toc_pet_warlock();
+ new npc_toc_pet_hunter();
new spell_faction_champion_warl_unstable_affliction();
new spell_faction_champion_death_grip();
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp
index 74324d6c515..795e675b12c 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp
@@ -218,14 +218,14 @@ class boss_jaraxxus : public CreatureScript
}
};
-class mob_legion_flame : public CreatureScript
+class npc_legion_flame : public CreatureScript
{
public:
- mob_legion_flame() : CreatureScript("mob_legion_flame") { }
+ npc_legion_flame() : CreatureScript("npc_legion_flame") { }
- struct mob_legion_flameAI : public ScriptedAI
+ struct npc_legion_flameAI : public ScriptedAI
{
- mob_legion_flameAI(Creature* creature) : ScriptedAI(creature)
+ npc_legion_flameAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
_instance = creature->GetInstanceScript();
@@ -250,18 +250,18 @@ class mob_legion_flame : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_legion_flameAI(creature);
+ return new npc_legion_flameAI(creature);
}
};
-class mob_infernal_volcano : public CreatureScript
+class npc_infernal_volcano : public CreatureScript
{
public:
- mob_infernal_volcano() : CreatureScript("mob_infernal_volcano") { }
+ npc_infernal_volcano() : CreatureScript("npc_infernal_volcano") { }
- struct mob_infernal_volcanoAI : public ScriptedAI
+ struct npc_infernal_volcanoAI : public ScriptedAI
{
- mob_infernal_volcanoAI(Creature* creature) : ScriptedAI(creature), _summons(me)
+ npc_infernal_volcanoAI(Creature* creature) : ScriptedAI(creature), _summons(me)
{
SetCombatMovement(false);
}
@@ -304,18 +304,18 @@ class mob_infernal_volcano : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_infernal_volcanoAI(creature);
+ return new npc_infernal_volcanoAI(creature);
}
};
-class mob_fel_infernal : public CreatureScript
+class npc_fel_infernal : public CreatureScript
{
public:
- mob_fel_infernal() : CreatureScript("mob_fel_infernal") { }
+ npc_fel_infernal() : CreatureScript("npc_fel_infernal") { }
- struct mob_fel_infernalAI : public ScriptedAI
+ struct npc_fel_infernalAI : public ScriptedAI
{
- mob_fel_infernalAI(Creature* creature) : ScriptedAI(creature)
+ npc_fel_infernalAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -355,18 +355,18 @@ class mob_fel_infernal : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fel_infernalAI(creature);
+ return new npc_fel_infernalAI(creature);
}
};
-class mob_nether_portal : public CreatureScript
+class npc_nether_portal : public CreatureScript
{
public:
- mob_nether_portal() : CreatureScript("mob_nether_portal") { }
+ npc_nether_portal() : CreatureScript("npc_nether_portal") { }
- struct mob_nether_portalAI : public ScriptedAI
+ struct npc_nether_portalAI : public ScriptedAI
{
- mob_nether_portalAI(Creature* creature) : ScriptedAI(creature), _summons(me)
+ npc_nether_portalAI(Creature* creature) : ScriptedAI(creature), _summons(me)
{
}
@@ -408,18 +408,18 @@ class mob_nether_portal : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_nether_portalAI(creature);
+ return new npc_nether_portalAI(creature);
}
};
-class mob_mistress_of_pain : public CreatureScript
+class npc_mistress_of_pain : public CreatureScript
{
public:
- mob_mistress_of_pain() : CreatureScript("mob_mistress_of_pain") { }
+ npc_mistress_of_pain() : CreatureScript("npc_mistress_of_pain") { }
- struct mob_mistress_of_painAI : public ScriptedAI
+ struct npc_mistress_of_painAI : public ScriptedAI
{
- mob_mistress_of_painAI(Creature* creature) : ScriptedAI(creature)
+ npc_mistress_of_painAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
if (_instance)
@@ -488,7 +488,7 @@ class mob_mistress_of_pain : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_mistress_of_painAI(creature);
+ return new npc_mistress_of_painAI(creature);
}
};
@@ -592,11 +592,11 @@ class spell_mistress_kiss_area : public SpellScriptLoader
void AddSC_boss_jaraxxus()
{
new boss_jaraxxus();
- new mob_legion_flame();
- new mob_infernal_volcano();
- new mob_fel_infernal();
- new mob_nether_portal();
- new mob_mistress_of_pain();
+ new npc_legion_flame();
+ new npc_infernal_volcano();
+ new npc_fel_infernal();
+ new npc_nether_portal();
+ new npc_mistress_of_pain();
new spell_mistress_kiss();
new spell_mistress_kiss_area();
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
index 21c3c983c64..2804f7c0adf 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
@@ -288,14 +288,14 @@ class boss_gormok : public CreatureScript
}
};
-class mob_snobold_vassal : public CreatureScript
+class npc_snobold_vassal : public CreatureScript
{
public:
- mob_snobold_vassal() : CreatureScript("mob_snobold_vassal") { }
+ npc_snobold_vassal() : CreatureScript("npc_snobold_vassal") { }
- struct mob_snobold_vassalAI : public ScriptedAI
+ struct npc_snobold_vassalAI : public ScriptedAI
{
- mob_snobold_vassalAI(Creature* creature) : ScriptedAI(creature)
+ npc_snobold_vassalAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
if (_instance)
@@ -457,7 +457,7 @@ class mob_snobold_vassal : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_snobold_vassalAI(creature);
+ return new npc_snobold_vassalAI(creature);
}
};
@@ -786,14 +786,14 @@ class boss_dreadscale : public CreatureScript
}
};
-class mob_slime_pool : public CreatureScript
+class npc_slime_pool : public CreatureScript
{
public:
- mob_slime_pool() : CreatureScript("mob_slime_pool") { }
+ npc_slime_pool() : CreatureScript("npc_slime_pool") { }
- struct mob_slime_poolAI : public ScriptedAI
+ struct npc_slime_poolAI : public ScriptedAI
{
- mob_slime_poolAI(Creature* creature) : ScriptedAI(creature)
+ npc_slime_poolAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -823,7 +823,7 @@ class mob_slime_pool : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_slime_poolAI(creature);
+ return new npc_slime_poolAI(creature);
}
};
@@ -1147,13 +1147,13 @@ class boss_icehowl : public CreatureScript
void AddSC_boss_northrend_beasts()
{
new boss_gormok();
- new mob_snobold_vassal();
+ new npc_snobold_vassal();
new npc_firebomb();
new spell_gormok_fire_bomb();
new boss_acidmaw();
new boss_dreadscale();
- new mob_slime_pool();
+ new npc_slime_pool();
new boss_icehowl();
}
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp
index fe2897295ce..d6d9db6bfb7 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp
@@ -490,14 +490,14 @@ class boss_eydis : public CreatureScript
}
};
-class mob_essence_of_twin : public CreatureScript
+class npc_essence_of_twin : public CreatureScript
{
public:
- mob_essence_of_twin() : CreatureScript("mob_essence_of_twin") { }
+ npc_essence_of_twin() : CreatureScript("npc_essence_of_twin") { }
- struct mob_essence_of_twinAI : public ScriptedAI
+ struct npc_essence_of_twinAI : public ScriptedAI
{
- mob_essence_of_twinAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_essence_of_twinAI(Creature* creature) : ScriptedAI(creature) { }
uint32 GetData(uint32 data) const
{
@@ -520,7 +520,7 @@ class mob_essence_of_twin : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_essence_of_twinAI(creature);
+ return new npc_essence_of_twinAI(creature);
};
bool OnGossipHello(Player* player, Creature* creature)
@@ -532,9 +532,9 @@ class mob_essence_of_twin : public CreatureScript
}
};
-struct mob_unleashed_ballAI : public ScriptedAI
+struct npc_unleashed_ballAI : public ScriptedAI
{
- mob_unleashed_ballAI(Creature* creature) : ScriptedAI(creature)
+ npc_unleashed_ballAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -585,14 +585,14 @@ struct mob_unleashed_ballAI : public ScriptedAI
uint32 RangeCheckTimer;
};
-class mob_unleashed_dark : public CreatureScript
+class npc_unleashed_dark : public CreatureScript
{
public:
- mob_unleashed_dark() : CreatureScript("mob_unleashed_dark") { }
+ npc_unleashed_dark() : CreatureScript("npc_unleashed_dark") { }
- struct mob_unleashed_darkAI : public mob_unleashed_ballAI
+ struct npc_unleashed_darkAI : public npc_unleashed_ballAI
{
- mob_unleashed_darkAI(Creature* creature) : mob_unleashed_ballAI(creature) {}
+ npc_unleashed_darkAI(Creature* creature) : npc_unleashed_ballAI(creature) {}
void UpdateAI(uint32 diff)
{
@@ -613,18 +613,18 @@ class mob_unleashed_dark : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_unleashed_darkAI(creature);
+ return new npc_unleashed_darkAI(creature);
}
};
-class mob_unleashed_light : public CreatureScript
+class npc_unleashed_light : public CreatureScript
{
public:
- mob_unleashed_light() : CreatureScript("mob_unleashed_light") { }
+ npc_unleashed_light() : CreatureScript("npc_unleashed_light") { }
- struct mob_unleashed_lightAI : public mob_unleashed_ballAI
+ struct npc_unleashed_lightAI : public npc_unleashed_ballAI
{
- mob_unleashed_lightAI(Creature* creature) : mob_unleashed_ballAI(creature) {}
+ npc_unleashed_lightAI(Creature* creature) : npc_unleashed_ballAI(creature) {}
void UpdateAI(uint32 diff)
{
@@ -645,18 +645,18 @@ class mob_unleashed_light : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_unleashed_lightAI(creature);
+ return new npc_unleashed_lightAI(creature);
}
};
-class mob_bullet_controller : public CreatureScript
+class npc_bullet_controller : public CreatureScript
{
public:
- mob_bullet_controller() : CreatureScript("mob_bullet_controller") { }
+ npc_bullet_controller() : CreatureScript("npc_bullet_controller") { }
- struct mob_bullet_controllerAI : public ScriptedAI
+ struct npc_bullet_controllerAI : public ScriptedAI
{
- mob_bullet_controllerAI(Creature* creature) : ScriptedAI(creature)
+ npc_bullet_controllerAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -674,7 +674,7 @@ class mob_bullet_controller : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_bullet_controllerAI(creature);
+ return new npc_bullet_controllerAI(creature);
}
};
@@ -881,10 +881,10 @@ void AddSC_boss_twin_valkyr()
{
new boss_fjola();
new boss_eydis();
- new mob_unleashed_light();
- new mob_unleashed_dark();
- new mob_essence_of_twin();
- new mob_bullet_controller();
+ new npc_unleashed_light();
+ new npc_unleashed_dark();
+ new npc_essence_of_twin();
+ new npc_bullet_controller();
new spell_powering_up();
new spell_valkyr_essences();
diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp
index b6f6d7fcb23..98f467b0bba 100644
--- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp
@@ -192,14 +192,14 @@ class boss_bronjahm : public CreatureScript
}
};
-class mob_corrupted_soul_fragment : public CreatureScript
+class npc_corrupted_soul_fragment : public CreatureScript
{
public:
- mob_corrupted_soul_fragment() : CreatureScript("mob_corrupted_soul_fragment") { }
+ npc_corrupted_soul_fragment() : CreatureScript("npc_corrupted_soul_fragment") { }
- struct mob_corrupted_soul_fragmentAI : public ScriptedAI
+ struct npc_corrupted_soul_fragmentAI : public ScriptedAI
{
- mob_corrupted_soul_fragmentAI(Creature* creature) : ScriptedAI(creature)
+ npc_corrupted_soul_fragmentAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
}
@@ -231,7 +231,7 @@ class mob_corrupted_soul_fragment : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_corrupted_soul_fragmentAI(creature);
+ return new npc_corrupted_soul_fragmentAI(creature);
}
};
@@ -409,7 +409,7 @@ class spell_bronjahm_soulstorm_targeting : public SpellScriptLoader
void AddSC_boss_bronjahm()
{
new boss_bronjahm();
- new mob_corrupted_soul_fragment();
+ new npc_corrupted_soul_fragment();
new spell_bronjahm_magic_bane();
new spell_bronjahm_consume_soul();
new spell_bronjahm_soulstorm_channel();
diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp
index 42d912e2bd2..48498b4dbeb 100644
--- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp
@@ -38,14 +38,14 @@ enum eEvents
EVENT_TACTICAL_BLINK = 2,
};
-class mob_ymirjar_flamebearer : public CreatureScript
+class npc_ymirjar_flamebearer : public CreatureScript
{
public:
- mob_ymirjar_flamebearer() : CreatureScript("mob_ymirjar_flamebearer") { }
+ npc_ymirjar_flamebearer() : CreatureScript("npc_ymirjar_flamebearer") { }
- struct mob_ymirjar_flamebearerAI: public ScriptedAI
+ struct npc_ymirjar_flamebearerAI: public ScriptedAI
{
- mob_ymirjar_flamebearerAI(Creature* creature) : ScriptedAI(creature)
+ npc_ymirjar_flamebearerAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -99,18 +99,18 @@ class mob_ymirjar_flamebearer : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ymirjar_flamebearerAI(creature);
+ return new npc_ymirjar_flamebearerAI(creature);
}
};
-class mob_iceborn_protodrake : public CreatureScript
+class npc_iceborn_protodrake : public CreatureScript
{
public:
- mob_iceborn_protodrake() : CreatureScript("mob_iceborn_protodrake") { }
+ npc_iceborn_protodrake() : CreatureScript("npc_iceborn_protodrake") { }
- struct mob_iceborn_protodrakeAI: public ScriptedAI
+ struct npc_iceborn_protodrakeAI: public ScriptedAI
{
- mob_iceborn_protodrakeAI(Creature* creature) : ScriptedAI(creature), _vehicle(creature->GetVehicleKit())
+ npc_iceborn_protodrakeAI(Creature* creature) : ScriptedAI(creature), _vehicle(creature->GetVehicleKit())
{
ASSERT(_vehicle);
}
@@ -148,18 +148,18 @@ class mob_iceborn_protodrake : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_iceborn_protodrakeAI(creature);
+ return new npc_iceborn_protodrakeAI(creature);
}
};
-class mob_geist_ambusher : public CreatureScript
+class npc_geist_ambusher : public CreatureScript
{
public:
- mob_geist_ambusher() : CreatureScript("mob_geist_ambusher") { }
+ npc_geist_ambusher() : CreatureScript("npc_geist_ambusher") { }
- struct mob_geist_ambusherAI: public ScriptedAI
+ struct npc_geist_ambusherAI: public ScriptedAI
{
- mob_geist_ambusherAI(Creature* creature) : ScriptedAI(creature)
+ npc_geist_ambusherAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -201,18 +201,18 @@ class mob_geist_ambusher : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_geist_ambusherAI(creature);
+ return new npc_geist_ambusherAI(creature);
}
};
-class spell_trash_mob_glacial_strike : public SpellScriptLoader
+class spell_trash_npc_glacial_strike : public SpellScriptLoader
{
public:
- spell_trash_mob_glacial_strike() : SpellScriptLoader("spell_trash_mob_glacial_strike") { }
+ spell_trash_npc_glacial_strike() : SpellScriptLoader("spell_trash_npc_glacial_strike") { }
- class spell_trash_mob_glacial_strike_AuraScript : public AuraScript
+ class spell_trash_npc_glacial_strike_AuraScript : public AuraScript
{
- PrepareAuraScript(spell_trash_mob_glacial_strike_AuraScript);
+ PrepareAuraScript(spell_trash_npc_glacial_strike_AuraScript);
void PeriodicTick(AuraEffect const* /*aurEff*/)
{
@@ -225,20 +225,20 @@ class spell_trash_mob_glacial_strike : public SpellScriptLoader
void Register()
{
- OnEffectPeriodic += AuraEffectPeriodicFn(spell_trash_mob_glacial_strike_AuraScript::PeriodicTick, EFFECT_2, SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
+ OnEffectPeriodic += AuraEffectPeriodicFn(spell_trash_npc_glacial_strike_AuraScript::PeriodicTick, EFFECT_2, SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
}
};
AuraScript* GetAuraScript() const
{
- return new spell_trash_mob_glacial_strike_AuraScript();
+ return new spell_trash_npc_glacial_strike_AuraScript();
}
};
void AddSC_pit_of_saron()
{
- new mob_ymirjar_flamebearer();
- new mob_iceborn_protodrake();
- new mob_geist_ambusher();
- new spell_trash_mob_glacial_strike();
+ new npc_ymirjar_flamebearer();
+ new npc_iceborn_protodrake();
+ new npc_geist_ambusher();
+ new spell_trash_npc_glacial_strike();
}
diff --git a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
index 2f252a91050..71c4c1b4f41 100644
--- a/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
+++ b/src/server/scripts/Northrend/Gundrak/boss_slad_ran.cpp
@@ -210,19 +210,19 @@ public:
};
-class mob_slad_ran_constrictor : public CreatureScript
+class npc_slad_ran_constrictor : public CreatureScript
{
public:
- mob_slad_ran_constrictor() : CreatureScript("mob_slad_ran_constrictor") { }
+ npc_slad_ran_constrictor() : CreatureScript("npc_slad_ran_constrictor") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_slad_ran_constrictorAI (creature);
+ return new npc_slad_ran_constrictorAI (creature);
}
- struct mob_slad_ran_constrictorAI : public ScriptedAI
+ struct npc_slad_ran_constrictorAI : public ScriptedAI
{
- mob_slad_ran_constrictorAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_slad_ran_constrictorAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiGripOfSladRanTimer;
@@ -263,19 +263,19 @@ public:
};
-class mob_slad_ran_viper : public CreatureScript
+class npc_slad_ran_viper : public CreatureScript
{
public:
- mob_slad_ran_viper() : CreatureScript("mob_slad_ran_viper") { }
+ npc_slad_ran_viper() : CreatureScript("npc_slad_ran_viper") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_slad_ran_viperAI (creature);
+ return new npc_slad_ran_viperAI (creature);
}
- struct mob_slad_ran_viperAI : public ScriptedAI
+ struct npc_slad_ran_viperAI : public ScriptedAI
{
- mob_slad_ran_viperAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_slad_ran_viperAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiVenomousBiteTimer;
@@ -322,7 +322,7 @@ class achievement_snakes_whyd_it_have_to_be_snakes : public AchievementCriteriaS
void AddSC_boss_slad_ran()
{
new boss_slad_ran();
- new mob_slad_ran_constrictor();
- new mob_slad_ran_viper();
+ new npc_slad_ran_constrictor();
+ new npc_slad_ran_viper();
new achievement_snakes_whyd_it_have_to_be_snakes();
}
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp
index a1695ee245d..1228c4d72e1 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp
@@ -25,7 +25,7 @@ enum Anubrekhan
SAY_GREET = 1,
SAY_SLAY = 2,
- MOB_CRYPT_GUARD = 16573
+ NPC_CRYPT_GUARD = 16573
};
const Position GuardSummonPos = {3333.72f, -3476.30f, 287.1f, 6.2801f};
@@ -85,11 +85,11 @@ public:
// otherwise, after a wipe, they respawn where boss was at wipe moment.
pos = me->GetHomePosition();
pos.m_positionY -= 10.0f;
- me->SummonCreature(MOB_CRYPT_GUARD, pos, TEMPSUMMON_CORPSE_DESPAWN);
+ me->SummonCreature(NPC_CRYPT_GUARD, pos, TEMPSUMMON_CORPSE_DESPAWN);
pos = me->GetHomePosition();
pos.m_positionY += 10.0f;
- me->SummonCreature(MOB_CRYPT_GUARD, pos, TEMPSUMMON_CORPSE_DESPAWN);
+ me->SummonCreature(NPC_CRYPT_GUARD, pos, TEMPSUMMON_CORPSE_DESPAWN);
}
}
@@ -138,7 +138,7 @@ public:
BossAI::SummonedCreatureDespawn(summon);
// check if it is an actual killed guard
- if (!me->IsAlive() || summon->IsAlive() || summon->GetEntry() != MOB_CRYPT_GUARD)
+ if (!me->IsAlive() || summon->IsAlive() || summon->GetEntry() != NPC_CRYPT_GUARD)
return;
summon->CastSpell(summon, SPELL_SUMMON_CORPSE_SCARABS_MOB, true, NULL, NULL, me->GetGUID());
@@ -166,12 +166,12 @@ public:
case EVENT_LOCUST:
/// @todo Add Text
DoCast(me, RAID_MODE(SPELL_LOCUST_SWARM_10, SPELL_LOCUST_SWARM_25));
- DoSummon(MOB_CRYPT_GUARD, GuardSummonPos, 0, TEMPSUMMON_CORPSE_DESPAWN);
+ DoSummon(NPC_CRYPT_GUARD, GuardSummonPos, 0, TEMPSUMMON_CORPSE_DESPAWN);
events.ScheduleEvent(EVENT_LOCUST, 90000);
break;
case EVENT_SPAWN_GUARDIAN_NORMAL:
/// @todo Add Text
- DoSummon(MOB_CRYPT_GUARD, GuardSummonPos, 0, TEMPSUMMON_CORPSE_DESPAWN);
+ DoSummon(NPC_CRYPT_GUARD, GuardSummonPos, 0, TEMPSUMMON_CORPSE_DESPAWN);
break;
case EVENT_BERSERK:
DoCast(me, SPELL_BERSERK, true);
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp b/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp
index 316ddee540c..3283d2b32b2 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp
@@ -179,14 +179,14 @@ class boss_faerlina : public CreatureScript
}
};
-class mob_faerlina_add : public CreatureScript
+class npc_faerlina_add : public CreatureScript
{
public:
- mob_faerlina_add() : CreatureScript("mob_faerlina_add") { }
+ npc_faerlina_add() : CreatureScript("npc_faerlina_add") { }
- struct mob_faerlina_addAI : public ScriptedAI
+ struct npc_faerlina_addAI : public ScriptedAI
{
- mob_faerlina_addAI(Creature* creature) : ScriptedAI(creature),
+ npc_faerlina_addAI(Creature* creature) : ScriptedAI(creature),
_instance(creature->GetInstanceScript())
{
}
@@ -212,7 +212,7 @@ class mob_faerlina_add : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_faerlina_addAI(creature);
+ return new npc_faerlina_addAI(creature);
}
};
@@ -230,6 +230,6 @@ class achievement_momma_said_knock_you_out : public AchievementCriteriaScript
void AddSC_boss_faerlina()
{
new boss_faerlina();
- new mob_faerlina_add();
+ new npc_faerlina_add();
new achievement_momma_said_knock_you_out();
}
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp
index 013bfe91987..2ca4214ceed 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_four_horsemen.cpp
@@ -62,7 +62,7 @@ const Position WaypointPositions[12] =
{2517.8f, -2896.6f, 241.28f, 2.315f},
};
-const uint32 MOB_HORSEMEN[] = {16064, 16065, 30549, 16063};
+const uint32 NPC_HORSEMEN[] = {16064, 16065, 30549, 16063};
const uint32 SPELL_MARK[] = {28832, 28833, 28834, 28835};
#define SPELL_PRIMARY(i) RAID_MODE(SPELL_PRIMARY_N[i], SPELL_PRIMARY_H[i])
const uint32 SPELL_PRIMARY_N[] = {28884, 28863, 28882, 28883};
@@ -98,7 +98,7 @@ public:
{
id = Horsemen(0);
for (uint8 i = 0; i < 4; ++i)
- if (me->GetEntry() == MOB_HORSEMEN[i])
+ if (me->GetEntry() == NPC_HORSEMEN[i])
id = Horsemen(i);
caster = (id == HORSEMEN_LADY || id == HORSEMEN_SIR);
encounterActionReset = false;
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp
index 9a20dbcf498..bc489eff438 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp
@@ -25,7 +25,7 @@
#define SPELL_BERSERK 26662
#define SPELL_INFECTED_WOUND 29306
-#define MOB_ZOMBIE 16360
+#define NPC_ZOMBIE 16360
const Position PosSummon[3] =
{
@@ -66,7 +66,7 @@ public:
void MoveInLineOfSight(Unit* who)
{
- if (who->GetEntry() == MOB_ZOMBIE && me->IsWithinDistInMap(who, 7))
+ if (who->GetEntry() == NPC_ZOMBIE && me->IsWithinDistInMap(who, 7))
{
SetGazeOn(who);
/// @todo use a script text
@@ -88,7 +88,7 @@ public:
void JustSummoned(Creature* summon)
{
- if (summon->GetEntry() == MOB_ZOMBIE)
+ if (summon->GetEntry() == NPC_ZOMBIE)
summon->AI()->AttackStart(me);
summons.Summon(summon);
}
@@ -124,13 +124,13 @@ public:
break;
case EVENT_SUMMON:
for (int32 i = 0; i < RAID_MODE(1, 2); ++i)
- DoSummon(MOB_ZOMBIE, PosSummon[rand() % RAID_MODE(1, 3)]);
+ DoSummon(NPC_ZOMBIE, PosSummon[rand() % RAID_MODE(1, 3)]);
events.ScheduleEvent(EVENT_SUMMON, 10000);
break;
}
}
- if (me->GetVictim() && me->GetVictim()->GetEntry() == MOB_ZOMBIE)
+ if (me->GetVictim() && me->GetVictim()->GetEntry() == NPC_ZOMBIE)
{
if (me->IsWithinMeleeRange(me->GetVictim()))
{
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
index bad5429e547..18fe6ca0553 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
@@ -48,13 +48,13 @@ enum Spells
enum Creatures
{
- MOB_LIVE_TRAINEE = 16124,
- MOB_LIVE_KNIGHT = 16125,
- MOB_LIVE_RIDER = 16126,
- MOB_DEAD_TRAINEE = 16127,
- MOB_DEAD_KNIGHT = 16148,
- MOB_DEAD_RIDER = 16150,
- MOB_DEAD_HORSE = 16149
+ NPC_LIVE_TRAINEE = 16124,
+ NPC_LIVE_KNIGHT = 16125,
+ NPC_LIVE_RIDER = 16126,
+ NPC_DEAD_TRAINEE = 16127,
+ NPC_DEAD_KNIGHT = 16148,
+ NPC_DEAD_RIDER = 16150,
+ NPC_DEAD_HORSE = 16149
};
struct Waves { uint32 entry, time, mode; };
@@ -63,37 +63,37 @@ struct Waves { uint32 entry, time, mode; };
// but this is handled in DoGothikSummon function
const Waves waves[] =
{
- {MOB_LIVE_TRAINEE, 20000, 1},
- {MOB_LIVE_TRAINEE, 20000, 1},
- {MOB_LIVE_TRAINEE, 10000, 1},
- {MOB_LIVE_KNIGHT, 10000, 1},
- {MOB_LIVE_TRAINEE, 15000, 1},
- {MOB_LIVE_KNIGHT, 5000, 1},
- {MOB_LIVE_TRAINEE, 20000, 1},
- {MOB_LIVE_TRAINEE, 0, 1},
- {MOB_LIVE_KNIGHT, 10000, 1},
- {MOB_LIVE_TRAINEE, 10000, 2},
- {MOB_LIVE_RIDER, 10000, 0},
- {MOB_LIVE_RIDER, 5000, 2},
- {MOB_LIVE_TRAINEE, 5000, 0},
- {MOB_LIVE_TRAINEE, 15000, 2},
- {MOB_LIVE_KNIGHT, 15000, 0},
- {MOB_LIVE_TRAINEE, 0, 0},
- {MOB_LIVE_RIDER, 10000, 1},
- {MOB_LIVE_KNIGHT, 10000, 1},
- {MOB_LIVE_TRAINEE, 10000, 0},
- {MOB_LIVE_RIDER, 10000, 2},
- {MOB_LIVE_TRAINEE, 0, 2},
- {MOB_LIVE_RIDER, 5000, 1},
- {MOB_LIVE_TRAINEE, 0, 2},
- {MOB_LIVE_KNIGHT, 5000, 1},
- {MOB_LIVE_RIDER, 0, 2},
- {MOB_LIVE_TRAINEE, 20000, 1},
- {MOB_LIVE_RIDER, 0, 1},
- {MOB_LIVE_KNIGHT, 0, 1},
- {MOB_LIVE_TRAINEE, 25000, 2},
- {MOB_LIVE_TRAINEE, 15000, 0},
- {MOB_LIVE_TRAINEE, 25000, 0},
+ {NPC_LIVE_TRAINEE, 20000, 1},
+ {NPC_LIVE_TRAINEE, 20000, 1},
+ {NPC_LIVE_TRAINEE, 10000, 1},
+ {NPC_LIVE_KNIGHT, 10000, 1},
+ {NPC_LIVE_TRAINEE, 15000, 1},
+ {NPC_LIVE_KNIGHT, 5000, 1},
+ {NPC_LIVE_TRAINEE, 20000, 1},
+ {NPC_LIVE_TRAINEE, 0, 1},
+ {NPC_LIVE_KNIGHT, 10000, 1},
+ {NPC_LIVE_TRAINEE, 10000, 2},
+ {NPC_LIVE_RIDER, 10000, 0},
+ {NPC_LIVE_RIDER, 5000, 2},
+ {NPC_LIVE_TRAINEE, 5000, 0},
+ {NPC_LIVE_TRAINEE, 15000, 2},
+ {NPC_LIVE_KNIGHT, 15000, 0},
+ {NPC_LIVE_TRAINEE, 0, 0},
+ {NPC_LIVE_RIDER, 10000, 1},
+ {NPC_LIVE_KNIGHT, 10000, 1},
+ {NPC_LIVE_TRAINEE, 10000, 0},
+ {NPC_LIVE_RIDER, 10000, 2},
+ {NPC_LIVE_TRAINEE, 0, 2},
+ {NPC_LIVE_RIDER, 5000, 1},
+ {NPC_LIVE_TRAINEE, 0, 2},
+ {NPC_LIVE_KNIGHT, 5000, 1},
+ {NPC_LIVE_RIDER, 0, 2},
+ {NPC_LIVE_TRAINEE, 20000, 1},
+ {NPC_LIVE_RIDER, 0, 1},
+ {NPC_LIVE_KNIGHT, 0, 1},
+ {NPC_LIVE_TRAINEE, 25000, 2},
+ {NPC_LIVE_TRAINEE, 15000, 0},
+ {NPC_LIVE_TRAINEE, 25000, 0},
{0, 0, 1},
};
@@ -258,28 +258,28 @@ class boss_gothik : public CreatureScript
{
switch (entry)
{
- case MOB_LIVE_TRAINEE:
+ case NPC_LIVE_TRAINEE:
{
if (Creature* liveTrigger = Unit::GetCreature(*me, LiveTriggerGUID[0]))
- DoSummon(MOB_LIVE_TRAINEE, liveTrigger, 1);
+ DoSummon(NPC_LIVE_TRAINEE, liveTrigger, 1);
if (Creature* liveTrigger1 = Unit::GetCreature(*me, LiveTriggerGUID[1]))
- DoSummon(MOB_LIVE_TRAINEE, liveTrigger1, 1);
+ DoSummon(NPC_LIVE_TRAINEE, liveTrigger1, 1);
if (Creature* liveTrigger2 = Unit::GetCreature(*me, LiveTriggerGUID[2]))
- DoSummon(MOB_LIVE_TRAINEE, liveTrigger2, 1);
+ DoSummon(NPC_LIVE_TRAINEE, liveTrigger2, 1);
break;
}
- case MOB_LIVE_KNIGHT:
+ case NPC_LIVE_KNIGHT:
{
if (Creature* liveTrigger3 = Unit::GetCreature(*me, LiveTriggerGUID[3]))
- DoSummon(MOB_LIVE_KNIGHT, liveTrigger3, 1);
+ DoSummon(NPC_LIVE_KNIGHT, liveTrigger3, 1);
if (Creature* liveTrigger5 = Unit::GetCreature(*me, LiveTriggerGUID[5]))
- DoSummon(MOB_LIVE_KNIGHT, liveTrigger5, 1);
+ DoSummon(NPC_LIVE_KNIGHT, liveTrigger5, 1);
break;
}
- case MOB_LIVE_RIDER:
+ case NPC_LIVE_RIDER:
{
if (Creature* liveTrigger4 = Unit::GetCreature(*me, LiveTriggerGUID[4]))
- DoSummon(MOB_LIVE_RIDER, liveTrigger4, 1);
+ DoSummon(NPC_LIVE_RIDER, liveTrigger4, 1);
break;
}
}
@@ -288,24 +288,24 @@ class boss_gothik : public CreatureScript
{
switch (entry)
{
- case MOB_LIVE_TRAINEE:
+ case NPC_LIVE_TRAINEE:
{
if (Creature* liveTrigger = Unit::GetCreature(*me, LiveTriggerGUID[4]))
- DoSummon(MOB_LIVE_TRAINEE, liveTrigger, 1);
+ DoSummon(NPC_LIVE_TRAINEE, liveTrigger, 1);
if (Creature* liveTrigger2 = Unit::GetCreature(*me, LiveTriggerGUID[4]))
- DoSummon(MOB_LIVE_TRAINEE, liveTrigger2, 1);
+ DoSummon(NPC_LIVE_TRAINEE, liveTrigger2, 1);
break;
}
- case MOB_LIVE_KNIGHT:
+ case NPC_LIVE_KNIGHT:
{
if (Creature* liveTrigger5 = Unit::GetCreature(*me, LiveTriggerGUID[4]))
- DoSummon(MOB_LIVE_KNIGHT, liveTrigger5, 1);
+ DoSummon(NPC_LIVE_KNIGHT, liveTrigger5, 1);
break;
}
- case MOB_LIVE_RIDER:
+ case NPC_LIVE_RIDER:
{
if (Creature* liveTrigger4 = Unit::GetCreature(*me, LiveTriggerGUID[4]))
- DoSummon(MOB_LIVE_RIDER, liveTrigger4, 1);
+ DoSummon(NPC_LIVE_RIDER, liveTrigger4, 1);
break;
}
}
@@ -381,14 +381,14 @@ class boss_gothik : public CreatureScript
switch (spell->Id)
{
case SPELL_INFORM_DEAD_TRAINEE:
- DoSummon(MOB_DEAD_TRAINEE, target, 0);
+ DoSummon(NPC_DEAD_TRAINEE, target, 0);
break;
case SPELL_INFORM_DEAD_KNIGHT:
- DoSummon(MOB_DEAD_KNIGHT, target, 0);
+ DoSummon(NPC_DEAD_KNIGHT, target, 0);
break;
case SPELL_INFORM_DEAD_RIDER:
- DoSummon(MOB_DEAD_RIDER, target, 1.0f);
- DoSummon(MOB_DEAD_HORSE, target, 1.0f);
+ DoSummon(NPC_DEAD_RIDER, target, 1.0f);
+ DoSummon(NPC_DEAD_HORSE, target, 1.0f);
break;
}
}
@@ -504,14 +504,14 @@ class boss_gothik : public CreatureScript
}
};
-class mob_gothik_minion : public CreatureScript
+class npc_gothik_minion : public CreatureScript
{
public:
- mob_gothik_minion() : CreatureScript("mob_gothik_minion") { }
+ npc_gothik_minion() : CreatureScript("npc_gothik_minion") { }
- struct mob_gothik_minionAI : public CombatAI
+ struct npc_gothik_minionAI : public CombatAI
{
- mob_gothik_minionAI(Creature* creature) : CombatAI(creature)
+ npc_gothik_minionAI(Creature* creature) : CombatAI(creature)
{
liveSide = IN_LIVE_SIDE(me);
}
@@ -588,7 +588,7 @@ class mob_gothik_minion : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_gothik_minionAI(creature);
+ return new npc_gothik_minionAI(creature);
}
};
@@ -621,6 +621,6 @@ class spell_gothik_shadow_bolt_volley : public SpellScriptLoader
void AddSC_boss_gothik()
{
new boss_gothik();
- new mob_gothik_minion();
+ new npc_gothik_minion();
new spell_gothik_shadow_bolt_volley();
}
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp
index 9e369fa83bb..e8991be4dfc 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_grobbulus.cpp
@@ -41,7 +41,7 @@ enum Events
enum CreatureId
{
- MOB_FALLOUT_SLIME = 16290
+ NPC_FALLOUT_SLIME = 16290
};
class boss_grobbulus : public CreatureScript
@@ -74,7 +74,7 @@ public:
{
if (spell->Id == uint32(SPELL_SLIME_SPRAY))
{
- if (TempSummon* slime = me->SummonCreature(MOB_FALLOUT_SLIME, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 0))
+ if (TempSummon* slime = me->SummonCreature(NPC_FALLOUT_SLIME, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 0))
DoZoneInCombat(slime);
}
}
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp
index 4c807c515e1..ae04de9db0f 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp
@@ -35,8 +35,8 @@ enum Spells
enum Creatures
{
- MOB_WEB_WRAP = 16486,
- MOB_SPIDERLING = 17055,
+ NPC_WEB_WRAP = 16486,
+ NPC_SPIDERLING = 17055,
};
#define MAX_POS_WRAP 3
@@ -111,7 +111,7 @@ public:
target->RemoveAura(RAID_MODE(SPELL_WEB_SPRAY_10, SPELL_WEB_SPRAY_25));
uint8 pos = rand()%MAX_POS_WRAP;
target->GetMotionMaster()->MoveJump(PosWrap[pos].GetPositionX(), PosWrap[pos].GetPositionY(), PosWrap[pos].GetPositionZ(), 20, 20);
- if (Creature* wrap = DoSummon(MOB_WEB_WRAP, PosWrap[pos], 0, TEMPSUMMON_CORPSE_DESPAWN))
+ if (Creature* wrap = DoSummon(NPC_WEB_WRAP, PosWrap[pos], 0, TEMPSUMMON_CORPSE_DESPAWN))
wrap->AI()->SetGUID(target->GetGUID());
}
}
@@ -137,7 +137,7 @@ public:
/// @todo Add missing text
uint8 amount = urand(8, 10);
for (uint8 i = 0; i < amount; ++i)
- DoSummon(MOB_SPIDERLING, me, 0, TEMPSUMMON_CORPSE_DESPAWN);
+ DoSummon(NPC_SPIDERLING, me, 0, TEMPSUMMON_CORPSE_DESPAWN);
events.ScheduleEvent(EVENT_SUMMON, 40000);
break;
}
@@ -149,19 +149,19 @@ public:
};
-class mob_webwrap : public CreatureScript
+class npc_webwrap : public CreatureScript
{
public:
- mob_webwrap() : CreatureScript("mob_webwrap") { }
+ npc_webwrap() : CreatureScript("npc_webwrap") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_webwrapAI (creature);
+ return new npc_webwrapAI (creature);
}
- struct mob_webwrapAI : public NullCreatureAI
+ struct npc_webwrapAI : public NullCreatureAI
{
- mob_webwrapAI(Creature* creature) : NullCreatureAI(creature), victimGUID(0) {}
+ npc_webwrapAI(Creature* creature) : NullCreatureAI(creature), victimGUID(0) {}
uint64 victimGUID;
@@ -186,5 +186,5 @@ public:
void AddSC_boss_maexxna()
{
new boss_maexxna();
- new mob_webwrap();
+ new npc_webwrap();
}
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp b/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp
index d0034628424..09f80482e75 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_noth.cpp
@@ -32,9 +32,9 @@ enum Noth
SPELL_CRIPPLE = 29212, // 25-man: 54814
SPELL_TELEPORT = 29216,
- MOB_WARRIOR = 16984,
- MOB_CHAMPION = 16983,
- MOB_GUARDIAN = 16981
+ NPC_WARRIOR = 16984,
+ NPC_CHAMPION = 16983,
+ NPC_GUARDIAN = 16981
};
#define SPELL_BLINK RAND(29208, 29209, 29210, 29211)
@@ -162,7 +162,7 @@ public:
return;
case EVENT_WARRIOR:
Talk(SAY_SUMMON);
- SummonUndead(MOB_WARRIOR, RAID_MODE(2, 3));
+ SummonUndead(NPC_WARRIOR, RAID_MODE(2, 3));
events.ScheduleEvent(EVENT_WARRIOR, 30000);
return;
case EVENT_BLINK:
@@ -185,12 +185,12 @@ public:
Talk(SAY_SUMMON);
switch (balconyCount)
{
- case 0: SummonUndead(MOB_CHAMPION, RAID_MODE(2, 4)); break;
- case 1: SummonUndead(MOB_CHAMPION, RAID_MODE(1, 2));
- SummonUndead(MOB_GUARDIAN, RAID_MODE(1, 2)); break;
- case 2: SummonUndead(MOB_GUARDIAN, RAID_MODE(2, 4)); break;
- default:SummonUndead(MOB_CHAMPION, RAID_MODE(5, 10));
- SummonUndead(MOB_GUARDIAN, RAID_MODE(5, 10));break;
+ case 0: SummonUndead(NPC_CHAMPION, RAID_MODE(2, 4)); break;
+ case 1: SummonUndead(NPC_CHAMPION, RAID_MODE(1, 2));
+ SummonUndead(NPC_GUARDIAN, RAID_MODE(1, 2)); break;
+ case 2: SummonUndead(NPC_GUARDIAN, RAID_MODE(2, 4)); break;
+ default:SummonUndead(NPC_CHAMPION, RAID_MODE(5, 10));
+ SummonUndead(NPC_GUARDIAN, RAID_MODE(5, 10));break;
}
++waveCount;
events.ScheduleEvent(waveCount < 2 ? EVENT_WAVE : EVENT_GROUND, urand(30000, 45000));
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
index 2b681750573..7a086ac95e6 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp
@@ -278,19 +278,19 @@ public:
};
-class mob_stalagg : public CreatureScript
+class npc_stalagg : public CreatureScript
{
public:
- mob_stalagg() : CreatureScript("mob_stalagg") { }
+ npc_stalagg() : CreatureScript("npc_stalagg") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_stalaggAI(creature);
+ return new npc_stalaggAI(creature);
}
- struct mob_stalaggAI : public ScriptedAI
+ struct npc_stalaggAI : public ScriptedAI
{
- mob_stalaggAI(Creature* creature) : ScriptedAI(creature)
+ npc_stalaggAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -372,19 +372,19 @@ public:
};
-class mob_feugen : public CreatureScript
+class npc_feugen : public CreatureScript
{
public:
- mob_feugen() : CreatureScript("mob_feugen") { }
+ npc_feugen() : CreatureScript("npc_feugen") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_feugenAI(creature);
+ return new npc_feugenAI(creature);
}
- struct mob_feugenAI : public ScriptedAI
+ struct npc_feugenAI : public ScriptedAI
{
- mob_feugenAI(Creature* creature) : ScriptedAI(creature)
+ npc_feugenAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -568,8 +568,8 @@ class achievement_polarity_switch : public AchievementCriteriaScript
void AddSC_boss_thaddius()
{
new boss_thaddius();
- new mob_stalagg();
- new mob_feugen();
+ new npc_stalagg();
+ new npc_feugen();
new spell_thaddius_pos_neg_charge();
new spell_thaddius_polarity_shift();
new achievement_polarity_switch();
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
index 8d1420ce12e..2f79f138f42 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
@@ -32,8 +32,8 @@ enum Spells
enum Adds
{
- MOB_CRAZED_MANA_WRAITH = 26746,
- MOB_CHAOTIC_RIFT = 26918
+ NPC_CRAZED_MANA_WRAITH = 26746,
+ NPC_CHAOTIC_RIFT = 26918
};
enum Yells
@@ -120,7 +120,7 @@ class boss_anomalus : public CreatureScript
void SummonedCreatureDies(Creature* summoned, Unit* /*who*/)
{
- if (summoned->GetEntry() == MOB_CHAOTIC_RIFT)
+ if (summoned->GetEntry() == NPC_CHAOTIC_RIFT)
chaosTheory = false;
}
@@ -157,7 +157,7 @@ class boss_anomalus : public CreatureScript
Phase = 1;
Talk(SAY_SHIELD);
DoCast(me, SPELL_RIFT_SHIELD);
- if (Creature* Rift = me->SummonCreature(MOB_CHAOTIC_RIFT, RiftLocation[urand(0, 5)], TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 1000))
+ if (Creature* Rift = me->SummonCreature(NPC_CHAOTIC_RIFT, RiftLocation[urand(0, 5)], TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 1000))
{
//DoCast(Rift, SPELL_CHARGE_RIFT);
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
@@ -186,14 +186,14 @@ class boss_anomalus : public CreatureScript
}
};
-class mob_chaotic_rift : public CreatureScript
+class npc_chaotic_rift : public CreatureScript
{
public:
- mob_chaotic_rift() : CreatureScript("mob_chaotic_rift") { }
+ npc_chaotic_rift() : CreatureScript("npc_chaotic_rift") { }
- struct mob_chaotic_riftAI : public ScriptedAI
+ struct npc_chaotic_riftAI : public ScriptedAI
{
- mob_chaotic_riftAI(Creature* creature) : ScriptedAI(creature)
+ npc_chaotic_riftAI(Creature* creature) : ScriptedAI(creature)
{
instance = me->GetInstanceScript();
SetCombatMovement(false);
@@ -234,7 +234,7 @@ class mob_chaotic_rift : public CreatureScript
if (uiSummonCrazedManaWraithTimer <= diff)
{
- if (Creature* Wraith = me->SummonCreature(MOB_CRAZED_MANA_WRAITH, me->GetPositionX() + 1, me->GetPositionY() + 1, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 1000))
+ if (Creature* Wraith = me->SummonCreature(NPC_CRAZED_MANA_WRAITH, me->GetPositionX() + 1, me->GetPositionY() + 1, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 1000))
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
Wraith->AI()->AttackStart(target);
Creature* Anomalus = ObjectAccessor::GetCreature(*me, instance->GetData64(DATA_ANOMALUS));
@@ -250,7 +250,7 @@ class mob_chaotic_rift : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_chaotic_riftAI(creature);
+ return new npc_chaotic_riftAI(creature);
}
};
@@ -277,6 +277,6 @@ class achievement_chaos_theory : public AchievementCriteriaScript
void AddSC_boss_anomalus()
{
new boss_anomalus();
- new mob_chaotic_rift();
+ new npc_chaotic_rift();
new achievement_chaos_theory();
}
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
index 7bf6bb247fa..248a039b228 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
@@ -36,9 +36,9 @@ enum Spells
enum Creatures
{
- MOB_FIRE_MAGUS = 26928,
- MOB_FROST_MAGUS = 26930,
- MOB_ARCANE_MAGUS = 26929
+ NPC_FIRE_MAGUS = 26928,
+ NPC_FROST_MAGUS = 26930,
+ NPC_ARCANE_MAGUS = 26929
};
enum Yells
@@ -168,17 +168,17 @@ public:
{
switch (entry)
{
- case MOB_FIRE_MAGUS:
+ case NPC_FIRE_MAGUS:
{
Summoned->CastSpell(Summoned, SPELL_FIRE_MAGUS_VISUAL, false);
break;
}
- case MOB_FROST_MAGUS:
+ case NPC_FROST_MAGUS:
{
Summoned->CastSpell(Summoned, SPELL_FROST_MAGUS_VISUAL, false);
break;
}
- case MOB_ARCANE_MAGUS:
+ case NPC_ARCANE_MAGUS:
{
Summoned->CastSpell(Summoned, SPELL_ARCANE_MAGUS_VISUAL, false);
break;
@@ -263,9 +263,9 @@ public:
me->RemoveAllAuras();
me->SetVisible(false);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
- uiFireMagusGUID = SplitPersonality(MOB_FIRE_MAGUS);
- uiFrostMagusGUID = SplitPersonality(MOB_FROST_MAGUS);
- uiArcaneMagusGUID = SplitPersonality(MOB_ARCANE_MAGUS);
+ uiFireMagusGUID = SplitPersonality(NPC_FIRE_MAGUS);
+ uiFrostMagusGUID = SplitPersonality(NPC_FROST_MAGUS);
+ uiArcaneMagusGUID = SplitPersonality(NPC_ARCANE_MAGUS);
bFireMagusDead = false;
bFrostMagusDead = false;
bArcaneMagusDead = false;
@@ -280,9 +280,9 @@ public:
me->RemoveAllAuras();
me->SetVisible(false);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
- uiFireMagusGUID = SplitPersonality(MOB_FIRE_MAGUS);
- uiFrostMagusGUID = SplitPersonality(MOB_FROST_MAGUS);
- uiArcaneMagusGUID = SplitPersonality(MOB_ARCANE_MAGUS);
+ uiFireMagusGUID = SplitPersonality(NPC_FIRE_MAGUS);
+ uiFrostMagusGUID = SplitPersonality(NPC_FROST_MAGUS);
+ uiArcaneMagusGUID = SplitPersonality(NPC_ARCANE_MAGUS);
bFireMagusDead = false;
bFrostMagusDead = false;
bArcaneMagusDead = false;
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp
index f5ea71c1928..08072e7f7a3 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp
@@ -369,22 +369,22 @@ public:
};
/*######
-## mob_stormforged_lieutenant
+## npc_stormforged_lieutenant
######*/
-class mob_stormforged_lieutenant : public CreatureScript
+class npc_stormforged_lieutenant : public CreatureScript
{
public:
- mob_stormforged_lieutenant() : CreatureScript("mob_stormforged_lieutenant") { }
+ npc_stormforged_lieutenant() : CreatureScript("npc_stormforged_lieutenant") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_stormforged_lieutenantAI(creature);
+ return new npc_stormforged_lieutenantAI(creature);
}
- struct mob_stormforged_lieutenantAI : public ScriptedAI
+ struct npc_stormforged_lieutenantAI : public ScriptedAI
{
- mob_stormforged_lieutenantAI(Creature* creature) : ScriptedAI(creature)
+ npc_stormforged_lieutenantAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -450,5 +450,5 @@ public:
void AddSC_boss_bjarngrim()
{
new boss_bjarngrim();
- new mob_stormforged_lieutenant();
+ new npc_stormforged_lieutenant();
}
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp
index 80ebb702fed..cc6e1079b5d 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp
@@ -291,22 +291,22 @@ public:
};
/*######
-## mob_spark_of_ionar
+## npc_spark_of_ionar
######*/
-class mob_spark_of_ionar : public CreatureScript
+class npc_spark_of_ionar : public CreatureScript
{
public:
- mob_spark_of_ionar() : CreatureScript("mob_spark_of_ionar") { }
+ npc_spark_of_ionar() : CreatureScript("npc_spark_of_ionar") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_spark_of_ionarAI(creature);
+ return new npc_spark_of_ionarAI(creature);
}
- struct mob_spark_of_ionarAI : public ScriptedAI
+ struct npc_spark_of_ionarAI : public ScriptedAI
{
- mob_spark_of_ionarAI(Creature* creature) : ScriptedAI(creature)
+ npc_spark_of_ionarAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -379,5 +379,5 @@ public:
void AddSC_boss_ionar()
{
new boss_ionar();
- new mob_spark_of_ionar();
+ new npc_spark_of_ionar();
}
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp
index 9635049131f..71333571cf3 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp
@@ -356,21 +356,21 @@ public:
};
/*######
-## mob_molten_golem
+## npc_molten_golem
######*/
-class mob_molten_golem : public CreatureScript
+class npc_molten_golem : public CreatureScript
{
public:
- mob_molten_golem() : CreatureScript("mob_molten_golem") { }
+ npc_molten_golem() : CreatureScript("npc_molten_golem") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_molten_golemAI(creature);
+ return new npc_molten_golemAI(creature);
}
- struct mob_molten_golemAI : public ScriptedAI
+ struct npc_molten_golemAI : public ScriptedAI
{
- mob_molten_golemAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_molten_golemAI(Creature* creature) : ScriptedAI(creature) { }
bool m_bIsFrozen;
@@ -468,6 +468,6 @@ class achievement_shatter_resistant : public AchievementCriteriaScript
void AddSC_boss_volkhan()
{
new boss_volkhan();
- new mob_molten_golem();
+ new npc_molten_golem();
new achievement_shatter_resistant();
}
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
index 83dc49556b4..377a9363fad 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
@@ -247,19 +247,19 @@ public:
};
-class mob_malformed_ooze : public CreatureScript
+class npc_malformed_ooze : public CreatureScript
{
public:
- mob_malformed_ooze() : CreatureScript("mob_malformed_ooze") { }
+ npc_malformed_ooze() : CreatureScript("npc_malformed_ooze") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_malformed_oozeAI(creature);
+ return new npc_malformed_oozeAI(creature);
}
- struct mob_malformed_oozeAI : public ScriptedAI
+ struct npc_malformed_oozeAI : public ScriptedAI
{
- mob_malformed_oozeAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_malformed_oozeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 uiMergeTimer;
@@ -290,19 +290,19 @@ public:
};
-class mob_iron_sludge : public CreatureScript
+class npc_iron_sludge : public CreatureScript
{
public:
- mob_iron_sludge() : CreatureScript("mob_iron_sludge") { }
+ npc_iron_sludge() : CreatureScript("npc_iron_sludge") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_iron_sludgeAI(creature);
+ return new npc_iron_sludgeAI(creature);
}
- struct mob_iron_sludgeAI : public ScriptedAI
+ struct npc_iron_sludgeAI : public ScriptedAI
{
- mob_iron_sludgeAI(Creature* creature) : ScriptedAI(creature)
+ npc_iron_sludgeAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -342,7 +342,7 @@ class achievement_abuse_the_ooze : public AchievementCriteriaScript
void AddSC_boss_sjonnir()
{
new boss_sjonnir();
- new mob_malformed_ooze();
- new mob_iron_sludge();
+ new npc_malformed_ooze();
+ new npc_iron_sludge();
new achievement_abuse_the_ooze();
}
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
index 3b9f3125154..ebc72f91938 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
@@ -127,19 +127,19 @@ static Position SpawnLocations[]=
{960.748f, 382.944f, 208.374f, 0.0f},
};
-class mob_tribuna_controller : public CreatureScript
+class npc_tribuna_controller : public CreatureScript
{
public:
- mob_tribuna_controller() : CreatureScript("mob_tribuna_controller") { }
+ npc_tribuna_controller() : CreatureScript("npc_tribuna_controller") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_tribuna_controllerAI(creature);
+ return new npc_tribuna_controllerAI(creature);
}
- struct mob_tribuna_controllerAI : public ScriptedAI
+ struct npc_tribuna_controllerAI : public ScriptedAI
{
- mob_tribuna_controllerAI(Creature* creature) : ScriptedAI(creature)
+ npc_tribuna_controllerAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
SetCombatMovement(false);
@@ -352,7 +352,7 @@ public:
{
if (!creature->IsAlive())
creature->Respawn();
- CAST_AI(mob_tribuna_controller::mob_tribuna_controllerAI, creature->AI())->UpdateFacesList();
+ CAST_AI(npc_tribuna_controller::npc_tribuna_controllerAI, creature->AI())->UpdateFacesList();
uiControllerGUID = creature->GetGUID();
}
break;
@@ -475,7 +475,7 @@ public:
if (instance)
instance->HandleGameObject(instance->GetData64(DATA_GO_KADDRAK), true);
if (Creature* temp = Unit::GetCreature(*me, uiControllerGUID))
- CAST_AI(mob_tribuna_controller::mob_tribuna_controllerAI, temp->AI())->bKaddrakActivated = true;
+ CAST_AI(npc_tribuna_controller::npc_tribuna_controllerAI, temp->AI())->bKaddrakActivated = true;
JumpToNextStep(5000);
break;
case 9:
@@ -499,7 +499,7 @@ public:
if (instance)
instance->HandleGameObject(instance->GetData64(DATA_GO_MARNAK), true);
if (Creature* temp = Unit::GetCreature(*me, uiControllerGUID))
- CAST_AI(mob_tribuna_controller::mob_tribuna_controllerAI, temp->AI())->bMarnakActivated = true;
+ CAST_AI(npc_tribuna_controller::npc_tribuna_controllerAI, temp->AI())->bMarnakActivated = true;
JumpToNextStep(10000);
break;
case 13:
@@ -531,7 +531,7 @@ public:
if (instance)
instance->HandleGameObject(instance->GetData64(DATA_GO_ABEDNEUM), true);
if (Creature* temp = Unit::GetCreature(*me, uiControllerGUID))
- CAST_AI(mob_tribuna_controller::mob_tribuna_controllerAI, temp->AI())->bAbedneumActivated = true;
+ CAST_AI(npc_tribuna_controller::npc_tribuna_controllerAI, temp->AI())->bAbedneumActivated = true;
JumpToNextStep(5000);
break;
case 19:
@@ -755,6 +755,6 @@ class achievement_brann_spankin_new : public AchievementCriteriaScript
void AddSC_halls_of_stone()
{
new npc_brann_hos();
- new mob_tribuna_controller();
+ new npc_tribuna_controller();
new achievement_brann_spankin_new();
}
diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp
index f26e2ec5f51..984f96c1461 100644
--- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp
+++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_xt002.cpp
@@ -446,14 +446,14 @@ class boss_xt002 : public CreatureScript
*
*///----------------------------------------------------
-class mob_xt002_heart : public CreatureScript
+class npc_xt002_heart : public CreatureScript
{
public:
- mob_xt002_heart() : CreatureScript("mob_xt002_heart") { }
+ npc_xt002_heart() : CreatureScript("npc_xt002_heart") { }
- struct mob_xt002_heartAI : public ScriptedAI
+ struct npc_xt002_heartAI : public ScriptedAI
{
- mob_xt002_heartAI(Creature* creature) : ScriptedAI(creature),
+ npc_xt002_heartAI(Creature* creature) : ScriptedAI(creature),
_instance(creature->GetInstanceScript())
{
SetCombatMovement(false);
@@ -477,7 +477,7 @@ class mob_xt002_heart : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_xt002_heartAI(creature);
+ return new npc_xt002_heartAI(creature);
}
};
@@ -486,19 +486,19 @@ class mob_xt002_heart : public CreatureScript
* XS-013 SCRAPBOT
*
*///----------------------------------------------------
-class mob_scrapbot : public CreatureScript
+class npc_scrapbot : public CreatureScript
{
public:
- mob_scrapbot() : CreatureScript("mob_scrapbot") { }
+ npc_scrapbot() : CreatureScript("npc_scrapbot") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_scrapbotAI(creature);
+ return new npc_scrapbotAI(creature);
}
- struct mob_scrapbotAI : public ScriptedAI
+ struct npc_scrapbotAI : public ScriptedAI
{
- mob_scrapbotAI(Creature* creature) : ScriptedAI(creature)
+ npc_scrapbotAI(Creature* creature) : ScriptedAI(creature)
{
_instance = me->GetInstanceScript();
}
@@ -543,19 +543,19 @@ class mob_scrapbot : public CreatureScript
* XM-024 PUMMELLER
*
*///----------------------------------------------------
-class mob_pummeller : public CreatureScript
+class npc_pummeller : public CreatureScript
{
public:
- mob_pummeller() : CreatureScript("mob_pummeller") { }
+ npc_pummeller() : CreatureScript("npc_pummeller") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_pummellerAI(creature);
+ return new npc_pummellerAI(creature);
}
- struct mob_pummellerAI : public ScriptedAI
+ struct npc_pummellerAI : public ScriptedAI
{
- mob_pummellerAI(Creature* creature) : ScriptedAI(creature)
+ npc_pummellerAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -645,19 +645,19 @@ class BoomEvent : public BasicEvent
Creature* _me;
};
-class mob_boombot : public CreatureScript
+class npc_boombot : public CreatureScript
{
public:
- mob_boombot() : CreatureScript("mob_boombot") { }
+ npc_boombot() : CreatureScript("npc_boombot") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_boombotAI(creature);
+ return new npc_boombotAI(creature);
}
- struct mob_boombotAI : public ScriptedAI
+ struct npc_boombotAI : public ScriptedAI
{
- mob_boombotAI(Creature* creature) : ScriptedAI(creature)
+ npc_boombotAI(Creature* creature) : ScriptedAI(creature)
{
_instance = creature->GetInstanceScript();
}
@@ -724,19 +724,19 @@ class mob_boombot : public CreatureScript
* LIFE SPARK
*
*///----------------------------------------------------
-class mob_life_spark : public CreatureScript
+class npc_life_spark : public CreatureScript
{
public:
- mob_life_spark() : CreatureScript("mob_life_spark") { }
+ npc_life_spark() : CreatureScript("npc_life_spark") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_life_sparkAI(creature);
+ return new npc_life_sparkAI(creature);
}
- struct mob_life_sparkAI : public ScriptedAI
+ struct npc_life_sparkAI : public ScriptedAI
{
- mob_life_sparkAI(Creature* creature) : ScriptedAI(creature)
+ npc_life_sparkAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -1093,12 +1093,12 @@ class achievement_nerf_gravity_bombs : public AchievementCriteriaScript
void AddSC_boss_xt002()
{
- new mob_xt002_heart();
- new mob_scrapbot();
- new mob_pummeller();
- new mob_boombot();
+ new npc_xt002_heart();
+ new npc_scrapbot();
+ new npc_pummeller();
+ new npc_boombot();
- new mob_life_spark();
+ new npc_life_spark();
new boss_xt002();
new spell_xt002_searing_light_spawn_life_spark();
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
index 51d3913a084..6dcd915e4ee 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
@@ -40,9 +40,9 @@ enum Yells
enum Creatures
{
- MOB_INGVAR_HUMAN = 23954,
- MOB_ANNHYLDE_THE_CALLER = 24068,
- MOB_INGVAR_UNDEAD = 23980,
+ NPC_INGVAR_HUMAN = 23954,
+ NPC_ANNHYLDE_THE_CALLER = 24068,
+ NPC_INGVAR_UNDEAD = 23980,
};
enum Events
@@ -113,7 +113,7 @@ public:
void Reset()
{
if (bIsUndead)
- me->UpdateEntry(MOB_INGVAR_HUMAN);
+ me->UpdateEntry(NPC_INGVAR_HUMAN);
bIsUndead = false;
@@ -160,7 +160,7 @@ public:
void StartZombiePhase()
{
bIsUndead = true;
- me->UpdateEntry(MOB_INGVAR_UNDEAD);
+ me->UpdateEntry(NPC_INGVAR_UNDEAD);
events.ScheduleEvent(EVENT_JUST_TRANSFORMED, 2 * IN_MILLISECONDS, 0, PHASE_EVENT);
Talk(YELL_AGGRO_2);
@@ -183,8 +183,8 @@ public:
if (instance)
{
- // Ingvar has MOB_INGVAR_UNDEAD id in this moment, so we have to update encounter state for his original id
- instance->UpdateEncounterState(ENCOUNTER_CREDIT_KILL_CREATURE, MOB_INGVAR_HUMAN, me);
+ // Ingvar has NPC_INGVAR_UNDEAD id in this moment, so we have to update encounter state for his original id
+ instance->UpdateEncounterState(ENCOUNTER_CREDIT_KILL_CREATURE, NPC_INGVAR_HUMAN, me);
instance->SetData(DATA_INGVAR_EVENT, DONE);
}
}
@@ -286,19 +286,19 @@ enum eSpells
SPELL_INGVAR_TRANSFORM = 42796
};
-class mob_annhylde_the_caller : public CreatureScript
+class npc_annhylde_the_caller : public CreatureScript
{
public:
- mob_annhylde_the_caller() : CreatureScript("mob_annhylde_the_caller") { }
+ npc_annhylde_the_caller() : CreatureScript("npc_annhylde_the_caller") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_annhylde_the_callerAI (creature);
+ return new npc_annhylde_the_callerAI (creature);
}
- struct mob_annhylde_the_callerAI : public ScriptedAI
+ struct npc_annhylde_the_callerAI : public ScriptedAI
{
- mob_annhylde_the_callerAI(Creature* creature) : ScriptedAI(creature)
+ npc_annhylde_the_callerAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -398,19 +398,19 @@ enum eShadowAxe
POINT_TARGET = 28
};
-class mob_ingvar_throw_dummy : public CreatureScript
+class npc_ingvar_throw_dummy : public CreatureScript
{
public:
- mob_ingvar_throw_dummy() : CreatureScript("mob_ingvar_throw_dummy") { }
+ npc_ingvar_throw_dummy() : CreatureScript("npc_ingvar_throw_dummy") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ingvar_throw_dummyAI (creature);
+ return new npc_ingvar_throw_dummyAI (creature);
}
- struct mob_ingvar_throw_dummyAI : public ScriptedAI
+ struct npc_ingvar_throw_dummyAI : public ScriptedAI
{
- mob_ingvar_throw_dummyAI(Creature* creature) : ScriptedAI(creature)
+ npc_ingvar_throw_dummyAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -449,6 +449,6 @@ public:
void AddSC_boss_ingvar_the_plunderer()
{
new boss_ingvar_the_plunderer();
- new mob_annhylde_the_caller();
- new mob_ingvar_throw_dummy();
+ new npc_annhylde_the_caller();
+ new npc_ingvar_throw_dummy();
}
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
index 40f704d4588..77935949957 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
@@ -43,20 +43,20 @@ enum eEnums
YELL_DALRONN_SKA_DIEDFIRST = 4,
//Spells of Skarvald and his Ghost
- MOB_SKARVALD_THE_CONSTRUCTOR = 24200,
+ NPC_SKARVALD_THE_CONSTRUCTOR = 24200,
SPELL_CHARGE = 43651,
SPELL_STONE_STRIKE = 48583,
SPELL_SUMMON_SKARVALD_GHOST = 48613,
SPELL_ENRAGE = 48193,
- MOB_SKARVALD_GHOST = 27390,
+ NPC_SKARVALD_GHOST = 27390,
//Spells of Dalronn and his Ghost
- MOB_DALRONN_THE_CONTROLLER = 24201,
+ NPC_DALRONN_THE_CONTROLLER = 24201,
SPELL_SHADOW_BOLT = 43649,
H_SPELL_SHADOW_BOLT = 59575,
H_SPELL_SUMMON_SKELETONS = 52611,
SPELL_DEBILITATE = 43650,
SPELL_SUMMON_DALRONN_GHOST = 48612,
- MOB_DALRONN_GHOST = 27389
+ NPC_DALRONN_GHOST = 27389
};
class SkarvaldChargePredicate
@@ -108,7 +108,7 @@ public:
Check_Timer = 5000;
Enraged = false;
- ghost = (me->GetEntry() == MOB_SKARVALD_GHOST);
+ ghost = (me->GetEntry() == NPC_SKARVALD_GHOST);
if (!ghost && instance)
{
Unit* dalronn = Unit::GetUnit(*me, instance->GetData64(DATA_DALRONN));
@@ -161,7 +161,7 @@ public:
me->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
//DoCast(me, SPELL_SUMMON_SKARVALD_GHOST, true);
- Creature* temp = me->SummonCreature(MOB_SKARVALD_GHOST, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN, 5000);
+ Creature* temp = me->SummonCreature(NPC_SKARVALD_GHOST, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN, 5000);
if (temp)
{
temp->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
@@ -275,7 +275,7 @@ public:
Skarvald_isDead = false;
AggroYell_Timer = 0;
- ghost = me->GetEntry() == MOB_DALRONN_GHOST;
+ ghost = me->GetEntry() == NPC_DALRONN_GHOST;
if (!ghost && instance)
{
Unit* skarvald = Unit::GetUnit(*me, instance->GetData64(DATA_SKARVALD));
@@ -321,7 +321,7 @@ public:
me->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
//DoCast(me, SPELL_SUMMON_DALRONN_GHOST, true);
- Creature* temp = me->SummonCreature(MOB_DALRONN_GHOST, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN, 5000);
+ Creature* temp = me->SummonCreature(NPC_DALRONN_GHOST, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN, 5000);
if (temp)
{
temp->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
index 12fc9604474..c1d12c63a0b 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
@@ -55,7 +55,7 @@ enum Yells
enum Creatures
{
- MOB_STASIS_CONTROLLER = 26688
+ NPC_STASIS_CONTROLLER = 26688
};
struct Locations
@@ -133,19 +133,19 @@ public:
{
instance->SetData(DATA_GORTOK_PALEHOOF_EVENT, NOT_STARTED);
- Creature* temp = Unit::GetCreature((*me), instance->GetData64(DATA_MOB_FRENZIED_WORGEN));
+ Creature* temp = Unit::GetCreature((*me), instance->GetData64(DATA_NPC_FRENZIED_WORGEN));
if (temp && !temp->IsAlive())
temp->Respawn();
- temp = Unit::GetCreature((*me), instance->GetData64(DATA_MOB_FEROCIOUS_RHINO));
+ temp = Unit::GetCreature((*me), instance->GetData64(DATA_NPC_FEROCIOUS_RHINO));
if (temp && !temp->IsAlive())
temp->Respawn();
- temp = Unit::GetCreature((*me), instance->GetData64(DATA_MOB_MASSIVE_JORMUNGAR));
+ temp = Unit::GetCreature((*me), instance->GetData64(DATA_NPC_MASSIVE_JORMUNGAR));
if (temp && !temp->IsAlive())
temp->Respawn();
- temp = Unit::GetCreature((*me), instance->GetData64(DATA_MOB_RAVENOUS_FURBOLG));
+ temp = Unit::GetCreature((*me), instance->GetData64(DATA_NPC_RAVENOUS_FURBOLG));
if (temp && !temp->IsAlive())
temp->Respawn();
@@ -189,7 +189,7 @@ public:
if (!UpdateVictim())
return;
- Creature* temp = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_ORB) : 0);
+ Creature* temp = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_ORB) : 0);
if (temp && temp->IsAlive())
temp->DisappearAndDie();
@@ -220,7 +220,7 @@ public:
//Talk(SAY_DEATH);
if (instance)
instance->SetData(DATA_GORTOK_PALEHOOF_EVENT, DONE);
- Creature* temp = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_ORB) : 0);
+ Creature* temp = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_ORB) : 0);
if (temp && temp->IsAlive())
temp->DisappearAndDie();
}
@@ -235,7 +235,7 @@ public:
if (currentPhase == PHASE_NONE)
{
instance->SetData(DATA_GORTOK_PALEHOOF_EVENT, IN_PROGRESS);
- me->SummonCreature(MOB_STASIS_CONTROLLER, moveLocs[5].x, moveLocs[5].y, moveLocs[5].z, 0, TEMPSUMMON_CORPSE_DESPAWN);
+ me->SummonCreature(NPC_STASIS_CONTROLLER, moveLocs[5].x, moveLocs[5].y, moveLocs[5].z, 0, TEMPSUMMON_CORPSE_DESPAWN);
}
Phase move = PHASE_NONE;
if (AddCount >= DUNGEON_MODE(2, 4))
@@ -243,7 +243,7 @@ public:
else
move = Sequence[AddCount++];
//send orb to summon spot
- Creature* pOrb = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_ORB) : 0);
+ Creature* pOrb = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_ORB) : 0);
if (pOrb && pOrb->IsAlive())
{
if (currentPhase == PHASE_NONE)
@@ -272,19 +272,19 @@ enum RavenousSpells
SPELL_TERRIFYING_ROAR = 48144
};
-class mob_ravenous_furbolg : public CreatureScript
+class npc_ravenous_furbolg : public CreatureScript
{
public:
- mob_ravenous_furbolg() : CreatureScript("mob_ravenous_furbolg") { }
+ npc_ravenous_furbolg() : CreatureScript("npc_ravenous_furbolg") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ravenous_furbolgAI (creature);
+ return new npc_ravenous_furbolgAI (creature);
}
- struct mob_ravenous_furbolgAI : public ScriptedAI
+ struct npc_ravenous_furbolgAI : public ScriptedAI
{
- mob_ravenous_furbolgAI(Creature* creature) : ScriptedAI(creature)
+ npc_ravenous_furbolgAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -385,19 +385,19 @@ enum FrenziedSpells
SPELL_ENRAGE_2 = 48142
};
-class mob_frenzied_worgen : public CreatureScript
+class npc_frenzied_worgen : public CreatureScript
{
public:
- mob_frenzied_worgen() : CreatureScript("mob_frenzied_worgen") { }
+ npc_frenzied_worgen() : CreatureScript("npc_frenzied_worgen") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frenzied_worgenAI (creature);
+ return new npc_frenzied_worgenAI (creature);
}
- struct mob_frenzied_worgenAI : public ScriptedAI
+ struct npc_frenzied_worgenAI : public ScriptedAI
{
- mob_frenzied_worgenAI(Creature* creature) : ScriptedAI(creature)
+ npc_frenzied_worgenAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -501,19 +501,19 @@ enum FerociousSpells
SPELL_STOMP = 48131
};
-class mob_ferocious_rhino : public CreatureScript
+class npc_ferocious_rhino : public CreatureScript
{
public:
- mob_ferocious_rhino() : CreatureScript("mob_ferocious_rhino") { }
+ npc_ferocious_rhino() : CreatureScript("npc_ferocious_rhino") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ferocious_rhinoAI (creature);
+ return new npc_ferocious_rhinoAI (creature);
}
- struct mob_ferocious_rhinoAI : public ScriptedAI
+ struct npc_ferocious_rhinoAI : public ScriptedAI
{
- mob_ferocious_rhinoAI(Creature* creature) : ScriptedAI(creature)
+ npc_ferocious_rhinoAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -621,19 +621,19 @@ enum MassiveAdds
CREATURE_JORMUNGAR_WORM = 27228
};
-class mob_massive_jormungar : public CreatureScript
+class npc_massive_jormungar : public CreatureScript
{
public:
- mob_massive_jormungar() : CreatureScript("mob_massive_jormungar") { }
+ npc_massive_jormungar() : CreatureScript("npc_massive_jormungar") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_massive_jormungarAI (creature);
+ return new npc_massive_jormungarAI (creature);
}
- struct mob_massive_jormungarAI : public ScriptedAI
+ struct npc_massive_jormungarAI : public ScriptedAI
{
- mob_massive_jormungarAI(Creature* creature) : ScriptedAI(creature)
+ npc_massive_jormungarAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -727,19 +727,19 @@ public:
};
-class mob_palehoof_orb : public CreatureScript
+class npc_palehoof_orb : public CreatureScript
{
public:
- mob_palehoof_orb() : CreatureScript("mob_palehoof_orb") { }
+ npc_palehoof_orb() : CreatureScript("npc_palehoof_orb") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_palehoof_orbAI (creature);
+ return new npc_palehoof_orbAI (creature);
}
- struct mob_palehoof_orbAI : public ScriptedAI
+ struct npc_palehoof_orbAI : public ScriptedAI
{
- mob_palehoof_orbAI(Creature* creature) : ScriptedAI(creature)
+ npc_palehoof_orbAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -770,10 +770,10 @@ public:
Creature* pNext = NULL;
switch (currentPhase)
{
- case PHASE_FRENZIED_WORGEN: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_FRENZIED_WORGEN) : 0); break;
- case PHASE_RAVENOUS_FURLBORG: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_RAVENOUS_FURBOLG) : 0); break;
- case PHASE_MASSIVE_JORMUNGAR: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_MASSIVE_JORMUNGAR) : 0); break;
- case PHASE_FEROCIOUS_RHINO: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_FEROCIOUS_RHINO) : 0); break;
+ case PHASE_FRENZIED_WORGEN: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_FRENZIED_WORGEN) : 0); break;
+ case PHASE_RAVENOUS_FURLBORG: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_RAVENOUS_FURBOLG) : 0); break;
+ case PHASE_MASSIVE_JORMUNGAR: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_MASSIVE_JORMUNGAR) : 0); break;
+ case PHASE_FEROCIOUS_RHINO: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_FEROCIOUS_RHINO) : 0); break;
case PHASE_GORTOK_PALEHOOF: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_GORTOK_PALEHOOF) : 0); break;
default: break;
}
@@ -801,10 +801,10 @@ public:
Creature* pNext = NULL;
switch (id)
{
- case PHASE_FRENZIED_WORGEN: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_FRENZIED_WORGEN) : 0); break;
- case PHASE_RAVENOUS_FURLBORG: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_RAVENOUS_FURBOLG) : 0); break;
- case PHASE_MASSIVE_JORMUNGAR: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_MASSIVE_JORMUNGAR) : 0); break;
- case PHASE_FEROCIOUS_RHINO: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_MOB_FEROCIOUS_RHINO) : 0); break;
+ case PHASE_FRENZIED_WORGEN: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_FRENZIED_WORGEN) : 0); break;
+ case PHASE_RAVENOUS_FURLBORG: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_RAVENOUS_FURBOLG) : 0); break;
+ case PHASE_MASSIVE_JORMUNGAR: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_MASSIVE_JORMUNGAR) : 0); break;
+ case PHASE_FEROCIOUS_RHINO: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_NPC_FEROCIOUS_RHINO) : 0); break;
case PHASE_GORTOK_PALEHOOF: pNext = Unit::GetCreature((*me), instance ? instance->GetData64(DATA_GORTOK_PALEHOOF) : 0); break;
default: break;
}
@@ -842,10 +842,10 @@ public:
void AddSC_boss_palehoof()
{
new boss_palehoof();
- new mob_ravenous_furbolg();
- new mob_frenzied_worgen();
- new mob_ferocious_rhino();
- new mob_massive_jormungar();
- new mob_palehoof_orb();
+ new npc_ravenous_furbolg();
+ new npc_frenzied_worgen();
+ new npc_ferocious_rhino();
+ new npc_massive_jormungar();
+ new npc_palehoof_orb();
new go_palehoof_sphere();
}
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp
index 3024a6e7962..0174f5a0f43 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp
@@ -112,12 +112,12 @@ public:
case BOSS_GORTOK_PALEHOOF: uiGortokPalehoof = creature->GetGUID(); break;
case BOSS_SKADI_RUTHLESS: uiSkadiTheRuthless = creature->GetGUID(); break;
case BOSS_KING_YMIRON: uiKingYmiron = creature->GetGUID(); break;
- case MOB_FRENZIED_WORGEN: uiFrenziedWorgen = creature->GetGUID(); break;
- case MOB_RAVENOUS_FURBOLG: uiRavenousFurbolg = creature->GetGUID(); break;
- case MOB_MASSIVE_JORMUNGAR: uiMassiveJormungar = creature->GetGUID(); break;
- case MOB_FEROCIOUS_RHINO: uiFerociousRhino = creature->GetGUID(); break;
- case MOB_SVALA: uiSvala = creature->GetGUID(); break;
- case MOB_PALEHOOF_ORB: uiPalehoofOrb = creature->GetGUID(); break;
+ case NPC_FRENZIED_WORGEN: uiFrenziedWorgen = creature->GetGUID(); break;
+ case NPC_RAVENOUS_FURBOLG: uiRavenousFurbolg = creature->GetGUID(); break;
+ case NPC_MASSIVE_JORMUNGAR: uiMassiveJormungar = creature->GetGUID(); break;
+ case NPC_FEROCIOUS_RHINO: uiFerociousRhino = creature->GetGUID(); break;
+ case NPC_SVALA: uiSvala = creature->GetGUID(); break;
+ case NPC_PALEHOOF_ORB: uiPalehoofOrb = creature->GetGUID(); break;
}
}
@@ -200,11 +200,11 @@ public:
case DATA_GORTOK_PALEHOOF: return uiGortokPalehoof;
case DATA_SKADI_THE_RUTHLESS: return uiSkadiTheRuthless;
case DATA_KING_YMIRON: return uiKingYmiron;
- case DATA_MOB_FRENZIED_WORGEN: return uiFrenziedWorgen;
- case DATA_MOB_RAVENOUS_FURBOLG: return uiRavenousFurbolg;
- case DATA_MOB_MASSIVE_JORMUNGAR: return uiMassiveJormungar;
- case DATA_MOB_FEROCIOUS_RHINO: return uiFerociousRhino;
- case DATA_MOB_ORB: return uiPalehoofOrb;
+ case DATA_NPC_FRENZIED_WORGEN: return uiFrenziedWorgen;
+ case DATA_NPC_RAVENOUS_FURBOLG: return uiRavenousFurbolg;
+ case DATA_NPC_MASSIVE_JORMUNGAR: return uiMassiveJormungar;
+ case DATA_NPC_FEROCIOUS_RHINO: return uiFerociousRhino;
+ case DATA_NPC_ORB: return uiPalehoofOrb;
case DATA_SVALA: return uiSvala;
case DATA_GORTOK_PALEHOOF_SPHERE: return uiGortokPalehoofSphere;
case DATA_SACRIFICED_PLAYER: return uiSacrificedPlayer;
diff --git a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h
index 37113661dad..4331b4378be 100644
--- a/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h
+++ b/src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h
@@ -31,13 +31,13 @@ enum Data64
DATA_SVALA_SORROWGRAVE,
DATA_GORTOK_PALEHOOF,
DATA_SKADI_THE_RUTHLESS,
- DATA_MOB_GRAUF,
+ DATA_NPC_GRAUF,
DATA_KING_YMIRON,
- DATA_MOB_FRENZIED_WORGEN,
- DATA_MOB_RAVENOUS_FURBOLG,
- DATA_MOB_MASSIVE_JORMUNGAR,
- DATA_MOB_FEROCIOUS_RHINO,
- DATA_MOB_ORB,
+ DATA_NPC_FRENZIED_WORGEN,
+ DATA_NPC_RAVENOUS_FURBOLG,
+ DATA_NPC_MASSIVE_JORMUNGAR,
+ DATA_NPC_FEROCIOUS_RHINO,
+ DATA_NPC_ORB,
DATA_GORTOK_PALEHOOF_SPHERE,
DATA_SACRIFICED_PLAYER
};
@@ -48,12 +48,12 @@ enum eCreatures
BOSS_GORTOK_PALEHOOF = 26687,
BOSS_SKADI_RUTHLESS = 26693,
BOSS_KING_YMIRON = 26861,
- MOB_FRENZIED_WORGEN = 26683,
- MOB_RAVENOUS_FURBOLG = 26684,
- MOB_MASSIVE_JORMUNGAR = 26685,
- MOB_FEROCIOUS_RHINO = 26686,
- MOB_SVALA = 29281,
- MOB_PALEHOOF_ORB = 26688
+ NPC_FRENZIED_WORGEN = 26683,
+ NPC_RAVENOUS_FURBOLG = 26684,
+ NPC_MASSIVE_JORMUNGAR = 26685,
+ NPC_FEROCIOUS_RHINO = 26686,
+ NPC_SVALA = 29281,
+ NPC_PALEHOOF_ORB = 26688
};
#endif
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp
index a4ea8649ff9..417b0bdd7fc 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_archavon.cpp
@@ -130,14 +130,14 @@ class boss_archavon : public CreatureScript
/*######
## Mob Archavon Warder
######*/
-class mob_archavon_warder : public CreatureScript
+class npc_archavon_warder : public CreatureScript
{
public:
- mob_archavon_warder() : CreatureScript("mob_archavon_warder") { }
+ npc_archavon_warder() : CreatureScript("npc_archavon_warder") { }
- struct mob_archavon_warderAI : public ScriptedAI //npc 32353
+ struct npc_archavon_warderAI : public ScriptedAI //npc 32353
{
- mob_archavon_warderAI(Creature* creature) : ScriptedAI(creature)
+ npc_archavon_warderAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -194,12 +194,12 @@ class mob_archavon_warder : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_archavon_warderAI(creature);
+ return new npc_archavon_warderAI(creature);
}
};
void AddSC_boss_archavon()
{
new boss_archavon();
- new mob_archavon_warder();
+ new npc_archavon_warder();
}
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
index d2d6a4b648f..ad8d4d6edf2 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_emalon.cpp
@@ -52,7 +52,7 @@ enum Events
};
//Creatures
-#define MOB_TEMPEST_MINION 33998
+#define NPC_TEMPEST_MINION 33998
#define MAX_TEMPEST_MINIONS 4
@@ -83,7 +83,7 @@ class boss_emalon : public CreatureScript
_Reset();
for (uint8 i = 0; i < MAX_TEMPEST_MINIONS; ++i)
- me->SummonCreature(MOB_TEMPEST_MINION, TempestMinions[i], TEMPSUMMON_CORPSE_DESPAWN, 0);
+ me->SummonCreature(NPC_TEMPEST_MINION, TempestMinions[i], TEMPSUMMON_CORPSE_DESPAWN, 0);
}
void JustSummoned(Creature* summoned)
@@ -173,14 +173,14 @@ class boss_emalon : public CreatureScript
/*######
## Tempest Minion
######*/
-class mob_tempest_minion : public CreatureScript
+class npc_tempest_minion : public CreatureScript
{
public:
- mob_tempest_minion() : CreatureScript("mob_tempest_minion") { }
+ npc_tempest_minion() : CreatureScript("npc_tempest_minion") { }
- struct mob_tempest_minionAI : public ScriptedAI
+ struct npc_tempest_minionAI : public ScriptedAI
{
- mob_tempest_minionAI(Creature* creature) : ScriptedAI(creature)
+ npc_tempest_minionAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -197,7 +197,7 @@ class mob_tempest_minion : public CreatureScript
{
if (emalon->IsAlive())
{
- emalon->SummonCreature(MOB_TEMPEST_MINION, 0, 0, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ emalon->SummonCreature(NPC_TEMPEST_MINION, 0, 0, 0, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
Talk(EMOTE_MINION_RESPAWN);
}
}
@@ -266,12 +266,12 @@ class mob_tempest_minion : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_tempest_minionAI(creature);
+ return new npc_tempest_minionAI(creature);
}
};
void AddSC_boss_emalon()
{
new boss_emalon();
- new mob_tempest_minion();
+ new npc_tempest_minion();
}
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp
index d6db736b82c..7feadad02e1 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_koralon.cpp
@@ -125,14 +125,14 @@ class boss_koralon : public CreatureScript
/*######
## Mob Flame Warder
######*/
-class mob_flame_warder : public CreatureScript
+class npc_flame_warder : public CreatureScript
{
public:
- mob_flame_warder() : CreatureScript("mob_flame_warder") { }
+ npc_flame_warder() : CreatureScript("npc_flame_warder") { }
- struct mob_flame_warderAI : public ScriptedAI
+ struct npc_flame_warderAI : public ScriptedAI
{
- mob_flame_warderAI(Creature* creature) : ScriptedAI(creature)
+ npc_flame_warderAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -186,12 +186,12 @@ class mob_flame_warder : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_flame_warderAI(creature);
+ return new npc_flame_warderAI(creature);
}
};
void AddSC_boss_koralon()
{
new boss_koralon();
- new mob_flame_warder();
+ new npc_flame_warder();
}
diff --git a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
index 3068049e322..4309f188b10 100644
--- a/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
+++ b/src/server/scripts/Northrend/VaultOfArchavon/boss_toravon.cpp
@@ -50,7 +50,7 @@ enum Events
};
// Mob Frozen Orb
-#define MOB_FROZEN_ORB 38456 // 1 in 10 mode and 3 in 25 mode
+#define NPC_FROZEN_ORB 38456 // 1 in 10 mode and 3 in 25 mode
class boss_toravon : public CreatureScript
{
@@ -119,14 +119,14 @@ class boss_toravon : public CreatureScript
/*######
## Mob Frost Warder
######*/
-class mob_frost_warder : public CreatureScript
+class npc_frost_warder : public CreatureScript
{
public:
- mob_frost_warder() : CreatureScript("mob_frost_warder") { }
+ npc_frost_warder() : CreatureScript("npc_frost_warder") { }
- struct mob_frost_warderAI : public ScriptedAI
+ struct npc_frost_warderAI : public ScriptedAI
{
- mob_frost_warderAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_frost_warderAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -167,21 +167,21 @@ class mob_frost_warder : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frost_warderAI(creature);
+ return new npc_frost_warderAI(creature);
}
};
/*######
## Mob Frozen Orb
######*/
-class mob_frozen_orb : public CreatureScript
+class npc_frozen_orb : public CreatureScript
{
public:
- mob_frozen_orb() : CreatureScript("mob_frozen_orb") { }
+ npc_frozen_orb() : CreatureScript("npc_frozen_orb") { }
- struct mob_frozen_orbAI : public ScriptedAI
+ struct npc_frozen_orbAI : public ScriptedAI
{
- mob_frozen_orbAI(Creature* creature) : ScriptedAI(creature)
+ npc_frozen_orbAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -222,21 +222,21 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frozen_orbAI(creature);
+ return new npc_frozen_orbAI(creature);
}
};
/*######
## Mob Frozen Orb Stalker
######*/
-class mob_frozen_orb_stalker : public CreatureScript
+class npc_frozen_orb_stalker : public CreatureScript
{
public:
- mob_frozen_orb_stalker() : CreatureScript("mob_frozen_orb_stalker") { }
+ npc_frozen_orb_stalker() : CreatureScript("npc_frozen_orb_stalker") { }
- struct mob_frozen_orb_stalkerAI : public ScriptedAI
+ struct npc_frozen_orb_stalkerAI : public ScriptedAI
{
- mob_frozen_orb_stalkerAI(Creature* creature) : ScriptedAI(creature)
+ npc_frozen_orb_stalkerAI(Creature* creature) : ScriptedAI(creature)
{
creature->SetVisible(false);
creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE|UNIT_FLAG_NON_ATTACKABLE|UNIT_FLAG_DISABLE_MOVE);
@@ -275,14 +275,14 @@ class mob_frozen_orb_stalker : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_frozen_orb_stalkerAI(creature);
+ return new npc_frozen_orb_stalkerAI(creature);
}
};
void AddSC_boss_toravon()
{
new boss_toravon();
- new mob_frost_warder();
- new mob_frozen_orb();
- new mob_frozen_orb_stalker();
+ new npc_frost_warder();
+ new npc_frozen_orb();
+ new npc_frozen_orb_stalker();
}
diff --git a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
index 5e69959732f..b4bd30449cc 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_erekem.cpp
@@ -258,19 +258,19 @@ enum GuardSpells
SPELL_STRIKE = 14516
};
-class mob_erekem_guard : public CreatureScript
+class npc_erekem_guard : public CreatureScript
{
public:
- mob_erekem_guard() : CreatureScript("mob_erekem_guard") { }
+ npc_erekem_guard() : CreatureScript("npc_erekem_guard") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_erekem_guardAI (creature);
+ return new npc_erekem_guardAI (creature);
}
- struct mob_erekem_guardAI : public ScriptedAI
+ struct npc_erekem_guardAI : public ScriptedAI
{
- mob_erekem_guardAI(Creature* creature) : ScriptedAI(creature)
+ npc_erekem_guardAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -336,5 +336,5 @@ public:
void AddSC_boss_erekem()
{
new boss_erekem();
- new mob_erekem_guard();
+ new npc_erekem_guard();
}
diff --git a/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp b/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp
index 6be02886512..8fc5dfcadc8 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_ichoron.cpp
@@ -331,19 +331,19 @@ public:
};
-class mob_ichor_globule : public CreatureScript
+class npc_ichor_globule : public CreatureScript
{
public:
- mob_ichor_globule() : CreatureScript("mob_ichor_globule") { }
+ npc_ichor_globule() : CreatureScript("npc_ichor_globule") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ichor_globuleAI (creature);
+ return new npc_ichor_globuleAI (creature);
}
- struct mob_ichor_globuleAI : public ScriptedAI
+ struct npc_ichor_globuleAI : public ScriptedAI
{
- mob_ichor_globuleAI(Creature* creature) : ScriptedAI(creature)
+ npc_ichor_globuleAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -418,6 +418,6 @@ class achievement_dehydration : public AchievementCriteriaScript
void AddSC_boss_ichoron()
{
new boss_ichoron();
- new mob_ichor_globule();
+ new npc_ichor_globule();
new achievement_dehydration();
}
diff --git a/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp b/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp
index 1546db45b7a..cce7776cecc 100644
--- a/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp
+++ b/src/server/scripts/Northrend/VioletHold/boss_xevozz.cpp
@@ -223,19 +223,19 @@ public:
};
-class mob_ethereal_sphere : public CreatureScript
+class npc_ethereal_sphere : public CreatureScript
{
public:
- mob_ethereal_sphere() : CreatureScript("mob_ethereal_sphere") { }
+ npc_ethereal_sphere() : CreatureScript("npc_ethereal_sphere") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ethereal_sphereAI (creature);
+ return new npc_ethereal_sphereAI (creature);
}
- struct mob_ethereal_sphereAI : public ScriptedAI
+ struct npc_ethereal_sphereAI : public ScriptedAI
{
- mob_ethereal_sphereAI(Creature* creature) : ScriptedAI(creature)
+ npc_ethereal_sphereAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -303,5 +303,5 @@ public:
void AddSC_boss_xevozz()
{
new boss_xevozz();
- new mob_ethereal_sphere();
+ new npc_ethereal_sphere();
}
diff --git a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
index b1a9a3c7deb..de0aee10bfe 100644
--- a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
+++ b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
@@ -417,19 +417,19 @@ public:
};
-class mob_azure_saboteur : public CreatureScript
+class npc_azure_saboteur : public CreatureScript
{
public:
- mob_azure_saboteur() : CreatureScript("mob_azure_saboteur") { }
+ npc_azure_saboteur() : CreatureScript("npc_azure_saboteur") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_saboteurAI (creature);
+ return new npc_azure_saboteurAI (creature);
}
- struct mob_azure_saboteurAI : public npc_escortAI
+ struct npc_azure_saboteurAI : public npc_escortAI
{
- mob_azure_saboteurAI(Creature* creature):npc_escortAI(creature)
+ npc_azure_saboteurAI(Creature* creature):npc_escortAI(creature)
{
instance = creature->GetInstanceScript();
bHasGotMovingPoints = false;
@@ -802,19 +802,19 @@ struct violet_hold_trashAI : public npc_escortAI
};
-class mob_azure_invader : public CreatureScript
+class npc_azure_invader : public CreatureScript
{
public:
- mob_azure_invader() : CreatureScript("mob_azure_invader") { }
+ npc_azure_invader() : CreatureScript("npc_azure_invader") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_invaderAI (creature);
+ return new npc_azure_invaderAI (creature);
}
- struct mob_azure_invaderAI : public violet_hold_trashAI
+ struct npc_azure_invaderAI : public violet_hold_trashAI
{
- mob_azure_invaderAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_invaderAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -880,19 +880,19 @@ public:
};
-class mob_azure_binder : public CreatureScript
+class npc_azure_binder : public CreatureScript
{
public:
- mob_azure_binder() : CreatureScript("mob_azure_binder") { }
+ npc_azure_binder() : CreatureScript("npc_azure_binder") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_binderAI (creature);
+ return new npc_azure_binderAI (creature);
}
- struct mob_azure_binderAI : public violet_hold_trashAI
+ struct npc_azure_binderAI : public violet_hold_trashAI
{
- mob_azure_binderAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_binderAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -958,19 +958,19 @@ public:
};
-class mob_azure_mage_slayer : public CreatureScript
+class npc_azure_mage_slayer : public CreatureScript
{
public:
- mob_azure_mage_slayer() : CreatureScript("mob_azure_mage_slayer") { }
+ npc_azure_mage_slayer() : CreatureScript("npc_azure_mage_slayer") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_mage_slayerAI (creature);
+ return new npc_azure_mage_slayerAI (creature);
}
- struct mob_azure_mage_slayerAI : public violet_hold_trashAI
+ struct npc_azure_mage_slayerAI : public violet_hold_trashAI
{
- mob_azure_mage_slayerAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_mage_slayerAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1018,19 +1018,19 @@ public:
};
-class mob_azure_raider : public CreatureScript
+class npc_azure_raider : public CreatureScript
{
public:
- mob_azure_raider() : CreatureScript("mob_azure_raider") { }
+ npc_azure_raider() : CreatureScript("npc_azure_raider") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_raiderAI (creature);
+ return new npc_azure_raiderAI (creature);
}
- struct mob_azure_raiderAI : public violet_hold_trashAI
+ struct npc_azure_raiderAI : public violet_hold_trashAI
{
- mob_azure_raiderAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_raiderAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1070,19 +1070,19 @@ public:
};
-class mob_azure_stalker : public CreatureScript
+class npc_azure_stalker : public CreatureScript
{
public:
- mob_azure_stalker() : CreatureScript("mob_azure_stalker") { }
+ npc_azure_stalker() : CreatureScript("npc_azure_stalker") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_stalkerAI (creature);
+ return new npc_azure_stalkerAI (creature);
}
- struct mob_azure_stalkerAI : public violet_hold_trashAI
+ struct npc_azure_stalkerAI : public violet_hold_trashAI
{
- mob_azure_stalkerAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_stalkerAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1134,14 +1134,14 @@ public:
};
-class mob_azure_spellbreaker : public CreatureScript
+class npc_azure_spellbreaker : public CreatureScript
{
public:
- mob_azure_spellbreaker() : CreatureScript("mob_azure_spellbreaker") { }
+ npc_azure_spellbreaker() : CreatureScript("npc_azure_spellbreaker") { }
- struct mob_azure_spellbreakerAI : public violet_hold_trashAI
+ struct npc_azure_spellbreakerAI : public violet_hold_trashAI
{
- mob_azure_spellbreakerAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_spellbreakerAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1209,23 +1209,23 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_spellbreakerAI (creature);
+ return new npc_azure_spellbreakerAI (creature);
}
};
-class mob_azure_captain : public CreatureScript
+class npc_azure_captain : public CreatureScript
{
public:
- mob_azure_captain() : CreatureScript("mob_azure_captain") { }
+ npc_azure_captain() : CreatureScript("npc_azure_captain") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_captainAI (creature);
+ return new npc_azure_captainAI (creature);
}
- struct mob_azure_captainAI : public violet_hold_trashAI
+ struct npc_azure_captainAI : public violet_hold_trashAI
{
- mob_azure_captainAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_captainAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1265,19 +1265,19 @@ public:
};
-class mob_azure_sorceror : public CreatureScript
+class npc_azure_sorceror : public CreatureScript
{
public:
- mob_azure_sorceror() : CreatureScript("mob_azure_sorceror") { }
+ npc_azure_sorceror() : CreatureScript("npc_azure_sorceror") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_azure_sorcerorAI (creature);
+ return new npc_azure_sorcerorAI (creature);
}
- struct mob_azure_sorcerorAI : public violet_hold_trashAI
+ struct npc_azure_sorcerorAI : public violet_hold_trashAI
{
- mob_azure_sorcerorAI(Creature* creature) : violet_hold_trashAI(creature)
+ npc_azure_sorcerorAI(Creature* creature) : violet_hold_trashAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -1326,13 +1326,13 @@ void AddSC_violet_hold()
{
new npc_sinclari_vh();
new npc_teleportation_portal_vh();
- new mob_azure_invader();
- new mob_azure_spellbreaker();
- new mob_azure_binder();
- new mob_azure_mage_slayer();
- new mob_azure_captain();
- new mob_azure_sorceror();
- new mob_azure_raider();
- new mob_azure_stalker();
- new mob_azure_saboteur();
+ new npc_azure_invader();
+ new npc_azure_spellbreaker();
+ new npc_azure_binder();
+ new npc_azure_mage_slayer();
+ new npc_azure_captain();
+ new npc_azure_sorceror();
+ new npc_azure_raider();
+ new npc_azure_stalker();
+ new npc_azure_saboteur();
}
diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp
index b0678c74695..acd241c8eaf 100644
--- a/src/server/scripts/Northrend/zone_borean_tundra.cpp
+++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp
@@ -29,7 +29,7 @@ npc_corastrasza
npc_jenny
npc_sinkhole_kill_credit
npc_khunok_the_behemoth
-mob_nerubar_victim
+npc_nerubar_victim
npc_keristrasza
npc_nesingwary_trapper
npc_lurgglbr
@@ -336,7 +336,7 @@ public:
};
/*######
-## mob_nerubar_victim
+## npc_nerubar_victim
######*/
#define WARSONG_PEON 25270
@@ -346,14 +346,14 @@ const uint32 nerubarVictims[3] =
45526, 45527, 45514
};
-class mob_nerubar_victim : public CreatureScript
+class npc_nerubar_victim : public CreatureScript
{
public:
- mob_nerubar_victim() : CreatureScript("mob_nerubar_victim") { }
+ npc_nerubar_victim() : CreatureScript("npc_nerubar_victim") { }
- struct mob_nerubar_victimAI : public ScriptedAI
+ struct npc_nerubar_victimAI : public ScriptedAI
{
- mob_nerubar_victimAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_nerubar_victimAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
@@ -381,7 +381,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_nerubar_victimAI(creature);
+ return new npc_nerubar_victimAI(creature);
}
};
@@ -2510,7 +2510,7 @@ void AddSC_borean_tundra()
new npc_keristrasza();
new npc_corastrasza();
new npc_iruk();
- new mob_nerubar_victim();
+ new npc_nerubar_victim();
new npc_jenny();
new npc_fezzix_geartwist();
new npc_nesingwary_trapper();
diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
index fce20a0fcdf..ea7f4c668ab 100644
--- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
+++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
@@ -24,9 +24,9 @@ SDCategory: Auchindoun, Auchenai Crypts
EndScriptData */
/* ContentData
-mob_stolen_soul
+npc_stolen_soul
boss_exarch_maladaar
-mob_avatar_of_martyred
+npc_avatar_of_martyred
EndContentData */
#include "ScriptMgr.h"
@@ -42,19 +42,19 @@ EndContentData */
#define SPELL_FREEZING_TRAP 37368
#define SPELL_HAMMER_OF_JUSTICE 37369
-class mob_stolen_soul : public CreatureScript
+class npc_stolen_soul : public CreatureScript
{
public:
- mob_stolen_soul() : CreatureScript("mob_stolen_soul") { }
+ npc_stolen_soul() : CreatureScript("npc_stolen_soul") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_stolen_soulAI (creature);
+ return new npc_stolen_soulAI (creature);
}
- struct mob_stolen_soulAI : public ScriptedAI
+ struct npc_stolen_soulAI : public ScriptedAI
{
- mob_stolen_soulAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_stolen_soulAI(Creature* creature) : ScriptedAI(creature) {}
uint8 myClass;
uint32 Class_Timer;
@@ -213,7 +213,7 @@ public:
if (Unit* target = Unit::GetUnit(*me, soulholder))
{
- CAST_AI(mob_stolen_soul::mob_stolen_soulAI, summoned->AI())->SetMyClass(soulclass);
+ CAST_AI(npc_stolen_soul::npc_stolen_soulAI, summoned->AI())->SetMyClass(soulclass);
summoned->AI()->AttackStart(target);
}
}
@@ -297,19 +297,19 @@ public:
#define SPELL_AV_MORTAL_STRIKE 16856
#define SPELL_AV_SUNDER_ARMOR 16145
-class mob_avatar_of_martyred : public CreatureScript
+class npc_avatar_of_martyred : public CreatureScript
{
public:
- mob_avatar_of_martyred() : CreatureScript("mob_avatar_of_martyred") { }
+ npc_avatar_of_martyred() : CreatureScript("npc_avatar_of_martyred") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_avatar_of_martyredAI (creature);
+ return new npc_avatar_of_martyredAI (creature);
}
- struct mob_avatar_of_martyredAI : public ScriptedAI
+ struct npc_avatar_of_martyredAI : public ScriptedAI
{
- mob_avatar_of_martyredAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_avatar_of_martyredAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Mortal_Strike_timer;
@@ -342,6 +342,6 @@ public:
void AddSC_boss_exarch_maladaar()
{
new boss_exarch_maladaar();
- new mob_avatar_of_martyred();
- new mob_stolen_soul();
+ new npc_avatar_of_martyred();
+ new npc_stolen_soul();
}
diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
index 844882e6d1b..a599bdf74cb 100644
--- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
+++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
@@ -157,19 +157,19 @@ public:
};
-class mob_focus_fire : public CreatureScript
+class npc_focus_fire : public CreatureScript
{
public:
- mob_focus_fire() : CreatureScript("mob_focus_fire") { }
+ npc_focus_fire() : CreatureScript("npc_focus_fire") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_focus_fireAI (creature);
+ return new npc_focus_fireAI (creature);
}
- struct mob_focus_fireAI : public ScriptedAI
+ struct npc_focus_fireAI : public ScriptedAI
{
- mob_focus_fireAI(Creature* creature) : ScriptedAI(creature)
+ npc_focus_fireAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -211,5 +211,5 @@ public:
void AddSC_boss_shirrak_the_dead_watcher()
{
new boss_shirrak_the_dead_watcher();
- new mob_focus_fire();
+ new npc_focus_fire();
}
diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
index 5870cd51b4d..41a94c84888 100644
--- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
+++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
@@ -25,7 +25,7 @@ EndScriptData */
/* ContentData
boss_nexusprince_shaffar
-mob_ethereal_beacon
+npc_ethereal_beacon
EndContentData */
#include "ScriptMgr.h"
@@ -219,19 +219,19 @@ enum eEnums
SPELL_ETHEREAL_APPRENTICE = 32372 // Summon 18430
};
-class mob_ethereal_beacon : public CreatureScript
+class npc_ethereal_beacon : public CreatureScript
{
public:
- mob_ethereal_beacon() : CreatureScript("mob_ethereal_beacon") { }
+ npc_ethereal_beacon() : CreatureScript("npc_ethereal_beacon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ethereal_beaconAI (creature);
+ return new npc_ethereal_beaconAI (creature);
}
- struct mob_ethereal_beaconAI : public ScriptedAI
+ struct npc_ethereal_beaconAI : public ScriptedAI
{
- mob_ethereal_beaconAI(Creature* creature) : ScriptedAI(creature)
+ npc_ethereal_beaconAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -311,19 +311,19 @@ enum eEthereal
SPELL_ETHEREAL_APPRENTICE_FROSTBOLT = 32370
};
-class mob_ethereal_apprentice : public CreatureScript
+class npc_ethereal_apprentice : public CreatureScript
{
public:
- mob_ethereal_apprentice() : CreatureScript("mob_ethereal_apprentice") { }
+ npc_ethereal_apprentice() : CreatureScript("npc_ethereal_apprentice") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ethereal_apprenticeAI (creature);
+ return new npc_ethereal_apprenticeAI (creature);
}
- struct mob_ethereal_apprenticeAI : public ScriptedAI
+ struct npc_ethereal_apprenticeAI : public ScriptedAI
{
- mob_ethereal_apprenticeAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_ethereal_apprenticeAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Cast_Timer;
@@ -360,6 +360,6 @@ public:
void AddSC_boss_nexusprince_shaffar()
{
new boss_nexusprince_shaffar();
- new mob_ethereal_beacon();
- new mob_ethereal_apprentice();
+ new npc_ethereal_beacon();
+ new npc_ethereal_apprentice();
}
diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
index 371c94035ac..22dcc7d996c 100644
--- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
+++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
@@ -197,14 +197,14 @@ public:
};
/* ELEMENTALS */
-class mob_syth_fire : public CreatureScript
+class npc_syth_fire : public CreatureScript
{
public:
- mob_syth_fire() : CreatureScript("mob_syth_fire") { }
+ npc_syth_fire() : CreatureScript("npc_syth_fire") { }
- struct mob_syth_fireAI : public ScriptedAI
+ struct npc_syth_fireAI : public ScriptedAI
{
- mob_syth_fireAI(Creature* creature) : ScriptedAI(creature)
+ npc_syth_fireAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -247,23 +247,23 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_syth_fireAI (creature);
+ return new npc_syth_fireAI (creature);
}
};
-class mob_syth_arcane : public CreatureScript
+class npc_syth_arcane : public CreatureScript
{
public:
- mob_syth_arcane() : CreatureScript("mob_syth_arcane") { }
+ npc_syth_arcane() : CreatureScript("npc_syth_arcane") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_syth_arcaneAI (creature);
+ return new npc_syth_arcaneAI (creature);
}
- struct mob_syth_arcaneAI : public ScriptedAI
+ struct npc_syth_arcaneAI : public ScriptedAI
{
- mob_syth_arcaneAI(Creature* creature) : ScriptedAI(creature)
+ npc_syth_arcaneAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -305,19 +305,19 @@ public:
};
};
-class mob_syth_frost : public CreatureScript
+class npc_syth_frost : public CreatureScript
{
public:
- mob_syth_frost() : CreatureScript("mob_syth_frost") { }
+ npc_syth_frost() : CreatureScript("npc_syth_frost") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_syth_frostAI (creature);
+ return new npc_syth_frostAI (creature);
}
- struct mob_syth_frostAI : public ScriptedAI
+ struct npc_syth_frostAI : public ScriptedAI
{
- mob_syth_frostAI(Creature* creature) : ScriptedAI(creature)
+ npc_syth_frostAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -360,19 +360,19 @@ public:
};
-class mob_syth_shadow : public CreatureScript
+class npc_syth_shadow : public CreatureScript
{
public:
- mob_syth_shadow() : CreatureScript("mob_syth_shadow") { }
+ npc_syth_shadow() : CreatureScript("npc_syth_shadow") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_syth_shadowAI (creature);
+ return new npc_syth_shadowAI (creature);
}
- struct mob_syth_shadowAI : public ScriptedAI
+ struct npc_syth_shadowAI : public ScriptedAI
{
- mob_syth_shadowAI(Creature* creature) : ScriptedAI(creature)
+ npc_syth_shadowAI(Creature* creature) : ScriptedAI(creature)
{
}
@@ -418,8 +418,8 @@ public:
void AddSC_boss_darkweaver_syth()
{
new boss_darkweaver_syth();
- new mob_syth_fire();
- new mob_syth_arcane();
- new mob_syth_frost();
- new mob_syth_shadow();
+ new npc_syth_fire();
+ new npc_syth_arcane();
+ new npc_syth_frost();
+ new npc_syth_shadow();
}
diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
index 3563dab6378..22322625775 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
@@ -374,10 +374,10 @@ static const Animation DemonTransformation[10]=
{0, SPELL_DEMON_TRANSFORM_3, 0, 0, 0, 8, true}
};
-class mob_flame_of_azzinoth : public CreatureScript
+class npc_flame_of_azzinoth : public CreatureScript
{
public:
- mob_flame_of_azzinoth() : CreatureScript("mob_flame_of_azzinoth") { }
+ npc_flame_of_azzinoth() : CreatureScript("npc_flame_of_azzinoth") { }
struct flame_of_azzinothAI : public ScriptedAI
{
@@ -751,7 +751,7 @@ public:
Flame->setFaction(me->getFaction()); // Just in case the database has it as a different faction
Flame->SetMeleeDamageSchool(SPELL_SCHOOL_FIRE);
FlameGUID[i] = Flame->GetGUID(); // Record GUID in order to check if they're dead later on to move to the next phase
- CAST_AI(mob_flame_of_azzinoth::flame_of_azzinothAI, Flame->AI())->SetGlaiveGUID(GlaiveGUID[i]);
+ CAST_AI(npc_flame_of_azzinoth::flame_of_azzinothAI, Flame->AI())->SetGlaiveGUID(GlaiveGUID[i]);
Glaive->CastSpell(Flame, SPELL_AZZINOTH_CHANNEL, false); // Glaives do some random Beam type channel on it.
}
}
@@ -1976,10 +1976,10 @@ void boss_illidan_stormrage::boss_illidan_stormrageAI::HandleTalkSequence()
++TalkCount;
}
-class mob_cage_trap_trigger : public CreatureScript
+class npc_cage_trap_trigger : public CreatureScript
{
public:
- mob_cage_trap_trigger() : CreatureScript("mob_cage_trap_trigger") { }
+ npc_cage_trap_trigger() : CreatureScript("npc_cage_trap_trigger") { }
struct cage_trap_triggerAI : public ScriptedAI
{
@@ -2067,16 +2067,16 @@ public:
// Grid search for nearest live Creature of entry 23304 within 10 yards
if (Creature* pTrigger = go->FindNearestCreature(23304, 10.0f))
- CAST_AI(mob_cage_trap_trigger::cage_trap_triggerAI, pTrigger->AI())->Active = true;
+ CAST_AI(npc_cage_trap_trigger::cage_trap_triggerAI, pTrigger->AI())->Active = true;
go->SetGoState(GO_STATE_ACTIVE);
return true;
}
};
-class mob_shadow_demon : public CreatureScript
+class npc_shadow_demon : public CreatureScript
{
public:
- mob_shadow_demon() : CreatureScript("mob_shadow_demon") { }
+ npc_shadow_demon() : CreatureScript("npc_shadow_demon") { }
struct shadow_demonAI : public ScriptedAI
{
@@ -2129,10 +2129,10 @@ public:
}
};
-class mob_blade_of_azzinoth : public CreatureScript
+class npc_blade_of_azzinoth : public CreatureScript
{
public:
- mob_blade_of_azzinoth() : CreatureScript("mob_blade_of_azzinoth") { }
+ npc_blade_of_azzinoth() : CreatureScript("npc_blade_of_azzinoth") { }
struct blade_of_azzinothAI : public NullCreatureAI
{
@@ -2151,15 +2151,15 @@ public:
}
};
-class mob_parasitic_shadowfiend : public CreatureScript
+class npc_parasitic_shadowfiend : public CreatureScript
{
public:
- mob_parasitic_shadowfiend() : CreatureScript("mob_parasitic_shadowfiend") { }
+ npc_parasitic_shadowfiend() : CreatureScript("npc_parasitic_shadowfiend") { }
// Shadowfiends interact with Illidan, setting more targets in Illidan's hashmap
- struct mob_parasitic_shadowfiendAI : public ScriptedAI
+ struct npc_parasitic_shadowfiendAI : public ScriptedAI
{
- mob_parasitic_shadowfiendAI(Creature* creature) : ScriptedAI(creature)
+ npc_parasitic_shadowfiendAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -2232,7 +2232,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_parasitic_shadowfiendAI (creature);
+ return new npc_parasitic_shadowfiendAI (creature);
}
};
@@ -2241,10 +2241,10 @@ void AddSC_boss_illidan()
new boss_illidan_stormrage();
new npc_akama_illidan();
new boss_maiev_shadowsong();
- new mob_flame_of_azzinoth();
- new mob_blade_of_azzinoth();
+ new npc_flame_of_azzinoth();
+ new npc_blade_of_azzinoth();
new gameobject_cage_trap();
- new mob_cage_trap_trigger();
- new mob_shadow_demon();
- new mob_parasitic_shadowfiend();
+ new npc_cage_trap_trigger();
+ new npc_shadow_demon();
+ new npc_parasitic_shadowfiend();
}
diff --git a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
index cf937ee0cd1..0c1994d0c2e 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp
@@ -115,19 +115,19 @@ static Location BrokenWP[]=
const uint32 spawnEntries[4]= { 23523, 23318, 23524 };
-class mob_ashtongue_channeler : public CreatureScript
+class npc_ashtongue_channeler : public CreatureScript
{
public:
- mob_ashtongue_channeler() : CreatureScript("mob_ashtongue_channeler") { }
+ npc_ashtongue_channeler() : CreatureScript("npc_ashtongue_channeler") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ashtongue_channelerAI (creature);
+ return new npc_ashtongue_channelerAI (creature);
}
- struct mob_ashtongue_channelerAI : public ScriptedAI
+ struct npc_ashtongue_channelerAI : public ScriptedAI
{
- mob_ashtongue_channelerAI(Creature* creature) : ScriptedAI(creature)
+ npc_ashtongue_channelerAI(Creature* creature) : ScriptedAI(creature)
{
ShadeGUID = 0;
}
@@ -144,19 +144,19 @@ public:
};
-class mob_ashtongue_sorcerer : public CreatureScript
+class npc_ashtongue_sorcerer : public CreatureScript
{
public:
- mob_ashtongue_sorcerer() : CreatureScript("mob_ashtongue_sorcerer") { }
+ npc_ashtongue_sorcerer() : CreatureScript("npc_ashtongue_sorcerer") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ashtongue_sorcererAI (creature);
+ return new npc_ashtongue_sorcererAI (creature);
}
- struct mob_ashtongue_sorcererAI : public ScriptedAI
+ struct npc_ashtongue_sorcererAI : public ScriptedAI
{
- mob_ashtongue_sorcererAI(Creature* creature) : ScriptedAI(creature)
+ npc_ashtongue_sorcererAI(Creature* creature) : ScriptedAI(creature)
{
ShadeGUID = 0;
}
@@ -366,7 +366,7 @@ public:
Creature* Sorcerer = me->SummonCreature(CREATURE_SORCERER, X, Y, Z_SPAWN, 0, TEMPSUMMON_DEAD_DESPAWN, 0);
if (Sorcerer)
{
- CAST_AI(mob_ashtongue_sorcerer::mob_ashtongue_sorcererAI, Sorcerer->AI())->ShadeGUID = me->GetGUID();
+ CAST_AI(npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI, Sorcerer->AI())->ShadeGUID = me->GetGUID();
Sorcerer->SetWalk(false);
Sorcerer->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
Sorcerer->SetTarget(me->GetGUID());
@@ -400,7 +400,7 @@ public:
{
for (std::list<Creature*>::const_iterator itr = ChannelerList.begin(); itr != ChannelerList.end(); ++itr)
{
- CAST_AI(mob_ashtongue_channeler::mob_ashtongue_channelerAI, (*itr)->AI())->ShadeGUID = me->GetGUID();
+ CAST_AI(npc_ashtongue_channeler::npc_ashtongue_channelerAI, (*itr)->AI())->ShadeGUID = me->GetGUID();
Channelers.push_back((*itr)->GetGUID());
TC_LOG_DEBUG(LOG_FILTER_TSCR, "Shade of Akama Grid Search found channeler " UI64FMTD ". Adding to list", (*itr)->GetGUID());
}
@@ -533,7 +533,7 @@ public:
};
-void mob_ashtongue_channeler::mob_ashtongue_channelerAI::JustDied(Unit* /*killer*/)
+void npc_ashtongue_channeler::npc_ashtongue_channelerAI::JustDied(Unit* /*killer*/)
{
Creature* Shade = (Unit::GetCreature((*me), ShadeGUID));
if (Shade && Shade->IsAlive())
@@ -541,7 +541,7 @@ void mob_ashtongue_channeler::mob_ashtongue_channelerAI::JustDied(Unit* /*killer
else TC_LOG_ERROR(LOG_FILTER_TSCR, "SD2 ERROR: Channeler dead but unable to increment DeathCount for Shade of Akama.");
}
-void mob_ashtongue_sorcerer::mob_ashtongue_sorcererAI::JustDied(Unit* /*killer*/)
+void npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI::JustDied(Unit* /*killer*/)
{
Creature* Shade = (Unit::GetCreature((*me), ShadeGUID));
if (Shade && Shade->IsAlive())
@@ -899,7 +899,7 @@ public:
void AddSC_boss_shade_of_akama()
{
new boss_shade_of_akama();
- new mob_ashtongue_channeler();
- new mob_ashtongue_sorcerer();
+ new npc_ashtongue_channeler();
+ new npc_ashtongue_sorcerer();
new npc_akama_shade();
}
diff --git a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
index 0310f9237cd..14a31e85e24 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
@@ -51,19 +51,19 @@ enum DoomBlossom
CREATURE_SHADOWY_CONSTRUCT = 23111
};
-class mob_doom_blossom : public CreatureScript
+class npc_doom_blossom : public CreatureScript
{
public:
- mob_doom_blossom() : CreatureScript("mob_doom_blossom") { }
+ npc_doom_blossom() : CreatureScript("npc_doom_blossom") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_doom_blossomAI(creature);
+ return new npc_doom_blossomAI(creature);
}
- struct mob_doom_blossomAI : public ScriptedAI
+ struct npc_doom_blossomAI : public ScriptedAI
{
- mob_doom_blossomAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_doom_blossomAI(Creature* creature) : ScriptedAI(creature) {}
uint32 CheckTeronTimer;
uint32 ShadowBoltTimer;
@@ -119,19 +119,19 @@ public:
};
};
-class mob_shadowy_construct : public CreatureScript
+class npc_shadowy_construct : public CreatureScript
{
public:
- mob_shadowy_construct() : CreatureScript("mob_shadowy_construct") { }
+ npc_shadowy_construct() : CreatureScript("npc_shadowy_construct") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shadowy_constructAI(creature);
+ return new npc_shadowy_constructAI(creature);
}
- struct mob_shadowy_constructAI : public ScriptedAI
+ struct npc_shadowy_constructAI : public ScriptedAI
{
- mob_shadowy_constructAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_shadowy_constructAI(Creature* creature) : ScriptedAI(creature) {}
uint64 GhostGUID;
uint64 TeronGUID;
@@ -366,7 +366,7 @@ public:
{
Construct->CastSpell(Construct, SPELL_PASSIVE_SHADOWFORM, true);
SetThreatList(Construct); // Use same function as Doom Blossom to set Threat List.
- CAST_AI(mob_shadowy_construct::mob_shadowy_constructAI, Construct->AI())->GhostGUID = GhostGUID;
+ CAST_AI(npc_shadowy_construct::npc_shadowy_constructAI, Construct->AI())->GhostGUID = GhostGUID;
Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1);
if (!target) // someone's trying to solo.
target = me->GetVictim();
@@ -444,7 +444,7 @@ public:
DoomBlossom->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
DoomBlossom->setFaction(me->getFaction());
DoomBlossom->AddThreat(target, 1.0f);
- CAST_AI(mob_doom_blossom::mob_doom_blossomAI, DoomBlossom->AI())->SetTeronGUID(me->GetGUID());
+ CAST_AI(npc_doom_blossom::npc_doom_blossomAI, DoomBlossom->AI())->SetTeronGUID(me->GetGUID());
target->CombatStart(DoomBlossom);
SetThreatList(DoomBlossom);
SummonDoomBlossomTimer = 35000;
@@ -512,7 +512,7 @@ public:
void AddSC_boss_teron_gorefiend()
{
- new mob_doom_blossom();
- new mob_shadowy_construct();
+ new npc_doom_blossom();
+ new npc_shadowy_construct();
new boss_teron_gorefiend();
}
diff --git a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
index b75296a59e3..bbf75b2df5c 100644
--- a/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
+++ b/src/server/scripts/Outland/BlackTemple/illidari_council.cpp
@@ -115,19 +115,19 @@ static CouncilYells CouncilEnrage[]=
{1, 0}, // Zerevor
};
-class mob_blood_elf_council_voice_trigger : public CreatureScript
+class npc_blood_elf_council_voice_trigger : public CreatureScript
{
public:
- mob_blood_elf_council_voice_trigger() : CreatureScript("mob_blood_elf_council_voice_trigger") { }
+ npc_blood_elf_council_voice_trigger() : CreatureScript("npc_blood_elf_council_voice_trigger") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_blood_elf_council_voice_triggerAI(c);
+ return new npc_blood_elf_council_voice_triggerAI(c);
}
- struct mob_blood_elf_council_voice_triggerAI : public ScriptedAI
+ struct npc_blood_elf_council_voice_triggerAI : public ScriptedAI
{
- mob_blood_elf_council_voice_triggerAI(Creature* creature) : ScriptedAI(creature)
+ npc_blood_elf_council_voice_triggerAI(Creature* creature) : ScriptedAI(creature)
{
for (uint8 i = 0; i < 4; ++i)
Council[i] = 0;
@@ -210,19 +210,19 @@ public:
};
-class mob_illidari_council : public CreatureScript
+class npc_illidari_council : public CreatureScript
{
public:
- mob_illidari_council() : CreatureScript("mob_illidari_council") { }
+ npc_illidari_council() : CreatureScript("npc_illidari_council") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_illidari_councilAI (creature);
+ return new npc_illidari_councilAI (creature);
}
- struct mob_illidari_councilAI : public ScriptedAI
+ struct npc_illidari_councilAI : public ScriptedAI
{
- mob_illidari_councilAI(Creature* creature) : ScriptedAI(creature)
+ npc_illidari_councilAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
for (uint8 i = 0; i < 4; ++i)
@@ -295,8 +295,8 @@ public:
// Start the event for the Voice Trigger
if (Creature* VoiceTrigger = (Unit::GetCreature(*me, instance->GetData64(DATA_BLOOD_ELF_COUNCIL_VOICE))))
{
- CAST_AI(mob_blood_elf_council_voice_trigger::mob_blood_elf_council_voice_triggerAI, VoiceTrigger->AI())->LoadCouncilGUIDs();
- CAST_AI(mob_blood_elf_council_voice_trigger::mob_blood_elf_council_voice_triggerAI, VoiceTrigger->AI())->EventStarted = true;
+ CAST_AI(npc_blood_elf_council_voice_trigger::npc_blood_elf_council_voice_triggerAI, VoiceTrigger->AI())->LoadCouncilGUIDs();
+ CAST_AI(npc_blood_elf_council_voice_trigger::npc_blood_elf_council_voice_triggerAI, VoiceTrigger->AI())->EventStarted = true;
}
for (uint8 i = 0; i < 4; ++i)
@@ -403,7 +403,7 @@ struct boss_illidari_councilAI : public ScriptedAI
{
Creature* Controller = (Unit::GetCreature(*me, instance->GetData64(DATA_ILLIDARICOUNCIL)));
if (Controller)
- CAST_AI(mob_illidari_council::mob_illidari_councilAI, Controller->AI())->StartEvent(who);
+ CAST_AI(npc_illidari_council::npc_illidari_councilAI, Controller->AI())->StartEvent(who);
}
else
{
@@ -929,8 +929,8 @@ public:
void AddSC_boss_illidari_council()
{
- new mob_illidari_council();
- new mob_blood_elf_council_voice_trigger();
+ new npc_illidari_council();
+ new npc_blood_elf_council_voice_trigger();
new boss_gathios_the_shatterer();
new boss_lady_malande();
new boss_veras_darkshadow();
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
index 8aa8d939a6d..7e168f8bf90 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
@@ -543,19 +543,19 @@ public:
// Enchanted Elemental
// If one of them reaches Vashj he will increase her damage done by 5%.
-class mob_enchanted_elemental : public CreatureScript
+class npc_enchanted_elemental : public CreatureScript
{
public:
- mob_enchanted_elemental() : CreatureScript("mob_enchanted_elemental") { }
+ npc_enchanted_elemental() : CreatureScript("npc_enchanted_elemental") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_enchanted_elementalAI (creature);
+ return new npc_enchanted_elementalAI (creature);
}
- struct mob_enchanted_elementalAI : public ScriptedAI
+ struct npc_enchanted_elementalAI : public ScriptedAI
{
- mob_enchanted_elementalAI(Creature* creature) : ScriptedAI(creature)
+ npc_enchanted_elementalAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -637,19 +637,19 @@ public:
// Tainted Elemental
// This mob has 7, 900 life, doesn't move, and shoots Poison Bolts at one person anywhere in the area, doing 3, 000 nature damage and placing a posion doing 2, 000 damage every 2 seconds. He will switch targets often, or sometimes just hang on a single player, but there is nothing you can do about it except heal the damage and kill the Tainted Elemental
-class mob_tainted_elemental : public CreatureScript
+class npc_tainted_elemental : public CreatureScript
{
public:
- mob_tainted_elemental() : CreatureScript("mob_tainted_elemental") { }
+ npc_tainted_elemental() : CreatureScript("npc_tainted_elemental") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_tainted_elementalAI (creature);
+ return new npc_tainted_elementalAI (creature);
}
- struct mob_tainted_elementalAI : public ScriptedAI
+ struct npc_tainted_elementalAI : public ScriptedAI
{
- mob_tainted_elementalAI(Creature* creature) : ScriptedAI(creature)
+ npc_tainted_elementalAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -706,19 +706,19 @@ public:
//Toxic Sporebat
//Toxic Spores: Used in Phase 3 by the Spore Bats, it creates a contaminated green patch of ground, dealing about 2775-3225 nature damage every second to anyone who stands in it.
-class mob_toxic_sporebat : public CreatureScript
+class npc_toxic_sporebat : public CreatureScript
{
public:
- mob_toxic_sporebat() : CreatureScript("mob_toxic_sporebat") { }
+ npc_toxic_sporebat() : CreatureScript("npc_toxic_sporebat") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_toxic_sporebatAI (creature);
+ return new npc_toxic_sporebatAI (creature);
}
- struct mob_toxic_sporebatAI : public ScriptedAI
+ struct npc_toxic_sporebatAI : public ScriptedAI
{
- mob_toxic_sporebatAI(Creature* creature) : ScriptedAI(creature)
+ npc_toxic_sporebatAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
EnterEvadeMode();
@@ -804,19 +804,19 @@ public:
};
-class mob_shield_generator_channel : public CreatureScript
+class npc_shield_generator_channel : public CreatureScript
{
public:
- mob_shield_generator_channel() : CreatureScript("mob_shield_generator_channel") { }
+ npc_shield_generator_channel() : CreatureScript("npc_shield_generator_channel") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shield_generator_channelAI (creature);
+ return new npc_shield_generator_channelAI (creature);
}
- struct mob_shield_generator_channelAI : public ScriptedAI
+ struct npc_shield_generator_channelAI : public ScriptedAI
{
- mob_shield_generator_channelAI(Creature* creature) : ScriptedAI(creature)
+ npc_shield_generator_channelAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -937,9 +937,9 @@ public:
void AddSC_boss_lady_vashj()
{
new boss_lady_vashj();
- new mob_enchanted_elemental();
- new mob_tainted_elemental();
- new mob_toxic_sporebat();
- new mob_shield_generator_channel();
+ new npc_enchanted_elemental();
+ new npc_tainted_elemental();
+ new npc_toxic_sporebat();
+ new npc_shield_generator_channel();
new item_tainted_core();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp
index 02a86e1ab6d..733ccf64101 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp
@@ -56,7 +56,7 @@ enum LeotherasTheBlind
MODEL_DEMON = 20125,
MODEL_NIGHTELF = 20514,
DEMON_FORM = 21875,
- MOB_SPELLBINDER = 21806,
+ NPC_SPELLBINDER = 21806,
INNER_DEMON_VICTIM = 1,
SAY_AGGRO = 0,
@@ -69,19 +69,19 @@ enum LeotherasTheBlind
SAY_DEATH = 7
};
-class mob_inner_demon : public CreatureScript
+class npc_inner_demon : public CreatureScript
{
public:
- mob_inner_demon() : CreatureScript("mob_inner_demon") { }
+ npc_inner_demon() : CreatureScript("npc_inner_demon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_inner_demonAI (creature);
+ return new npc_inner_demonAI (creature);
}
- struct mob_inner_demonAI : public ScriptedAI
+ struct npc_inner_demonAI : public ScriptedAI
{
- mob_inner_demonAI(Creature* creature) : ScriptedAI(creature)
+ npc_inner_demonAI(Creature* creature) : ScriptedAI(creature)
{
victimGUID = 0;
}
@@ -259,7 +259,7 @@ public:
if (i == 0) {nx += 10; ny -= 5; o=2.5f;}
if (i == 1) {nx -= 8; ny -= 7; o=0.9f;}
if (i == 2) {nx -= 3; ny += 9; o=5.0f;}
- Creature* binder = me->SummonCreature(MOB_SPELLBINDER, nx, ny, z, o, TEMPSUMMON_DEAD_DESPAWN, 0);
+ Creature* binder = me->SummonCreature(NPC_SPELLBINDER, nx, ny, z, o, TEMPSUMMON_DEAD_DESPAWN, 0);
if (binder)
SpellBinderGUID[i] = binder->GetGUID();
}
@@ -669,19 +669,19 @@ public:
};
};
-class mob_greyheart_spellbinder : public CreatureScript
+class npc_greyheart_spellbinder : public CreatureScript
{
public:
- mob_greyheart_spellbinder() : CreatureScript("mob_greyheart_spellbinder") { }
+ npc_greyheart_spellbinder() : CreatureScript("npc_greyheart_spellbinder") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_greyheart_spellbinderAI (creature);
+ return new npc_greyheart_spellbinderAI (creature);
}
- struct mob_greyheart_spellbinderAI : public ScriptedAI
+ struct npc_greyheart_spellbinderAI : public ScriptedAI
{
- mob_greyheart_spellbinderAI(Creature* creature) : ScriptedAI(creature)
+ npc_greyheart_spellbinderAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
leotherasGUID = 0;
@@ -808,6 +808,6 @@ void AddSC_boss_leotheras_the_blind()
{
new boss_leotheras_the_blind();
new boss_leotheras_the_blind_demonform();
- new mob_greyheart_spellbinder();
- new mob_inner_demon();
+ new npc_greyheart_spellbinder();
+ new npc_inner_demon();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
index 3f42379dd62..da8e75e8f31 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
@@ -43,8 +43,8 @@ EndScriptData */
#define SPOUT_DIST 100
-#define MOB_COILFANG_GUARDIAN 21873
-#define MOB_COILFANG_AMBUSHER 21865
+#define NPC_COILFANG_GUARDIAN 21873
+#define NPC_COILFANG_AMBUSHER 21865
//Ambusher spells
#define SPELL_SPREAD_SHOT 37790
@@ -350,7 +350,7 @@ public:
me->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
// spawn adds
for (uint8 i = 0; i < 9; ++i)
- if (Creature* summoned = me->SummonCreature(i < 6 ? MOB_COILFANG_AMBUSHER : MOB_COILFANG_GUARDIAN, AddPos[i][0], AddPos[i][1], AddPos[i][2], 0, TEMPSUMMON_CORPSE_DESPAWN, 0))
+ if (Creature* summoned = me->SummonCreature(i < 6 ? NPC_COILFANG_AMBUSHER : NPC_COILFANG_GUARDIAN, AddPos[i][0], AddPos[i][1], AddPos[i][2], 0, TEMPSUMMON_CORPSE_DESPAWN, 0))
Summons.Summon(summoned);
Spawned = true;
}
@@ -359,19 +359,19 @@ public:
};
};
-class mob_coilfang_ambusher : public CreatureScript
+class npc_coilfang_ambusher : public CreatureScript
{
public:
- mob_coilfang_ambusher() : CreatureScript("mob_coilfang_ambusher") { }
+ npc_coilfang_ambusher() : CreatureScript("npc_coilfang_ambusher") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_coilfang_ambusherAI (creature);
+ return new npc_coilfang_ambusherAI (creature);
}
- struct mob_coilfang_ambusherAI : public ScriptedAI
+ struct npc_coilfang_ambusherAI : public ScriptedAI
{
- mob_coilfang_ambusherAI(Creature* creature) : ScriptedAI(creature)
+ npc_coilfang_ambusherAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -444,6 +444,6 @@ class go_strange_pool : public GameObjectScript
void AddSC_boss_the_lurker_below()
{
new boss_the_lurker_below();
- new mob_coilfang_ambusher();
+ new npc_coilfang_ambusher();
new go_strange_pool();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
index 877e1113962..ec949345928 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
@@ -280,19 +280,19 @@ public:
//Water Globule AI
#define SPELL_GLOBULE_EXPLOSION 37871
-class mob_water_globule : public CreatureScript
+class npc_water_globule : public CreatureScript
{
public:
- mob_water_globule() : CreatureScript("mob_water_globule") { }
+ npc_water_globule() : CreatureScript("npc_water_globule") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_water_globuleAI (creature);
+ return new npc_water_globuleAI (creature);
}
- struct mob_water_globuleAI : public ScriptedAI
+ struct npc_water_globuleAI : public ScriptedAI
{
- mob_water_globuleAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_water_globuleAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Check_Timer;
@@ -348,5 +348,5 @@ public:
void AddSC_boss_morogrim_tidewalker()
{
new boss_morogrim_tidewalker();
- new mob_water_globule();
+ new npc_water_globule();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
index 27134a3a740..de12e35ec19 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
@@ -31,9 +31,9 @@ EndScriptData */
#define MAX_ENCOUNTER 6
#define SPELL_SCALDINGWATER 37284
-#define MOB_COILFANG_FRENZY 21508
-#define TRASHMOB_COILFANG_PRIESTESS 21220 //6*2
-#define TRASHMOB_COILFANG_SHATTERER 21301 //6*3
+#define NPC_COILFANG_FRENZY 21508
+#define TRASHNPC_COILFANG_PRIESTESS 21220 //6*2
+#define TRASHNPC_COILFANG_SHATTERER 21301 //6*3
#define MIN_KILLS 30
@@ -153,7 +153,7 @@ class instance_serpent_shrine : public InstanceMapScript
//spawn frenzy
if (DoSpawnFrenzy)
{
- if (Creature* frenzy = player->SummonCreature(MOB_COILFANG_FRENZY, player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 2000))
+ if (Creature* frenzy = player->SummonCreature(NPC_COILFANG_FRENZY, player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 2000))
{
frenzy->Attack(player, false);
frenzy->SetSwim(true);
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
index c9d394f6f2d..9a7ca994291 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
@@ -25,7 +25,7 @@ EndScriptData */
/* ContentData
boss_hydromancer_thespia
-mob_coilfang_waterelemental
+npc_coilfang_waterelemental
EndContentData */
#include "ScriptMgr.h"
@@ -147,19 +147,19 @@ public:
};
-class mob_coilfang_waterelemental : public CreatureScript
+class npc_coilfang_waterelemental : public CreatureScript
{
public:
- mob_coilfang_waterelemental() : CreatureScript("mob_coilfang_waterelemental") { }
+ npc_coilfang_waterelemental() : CreatureScript("npc_coilfang_waterelemental") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_coilfang_waterelementalAI (creature);
+ return new npc_coilfang_waterelementalAI (creature);
}
- struct mob_coilfang_waterelementalAI : public ScriptedAI
+ struct npc_coilfang_waterelementalAI : public ScriptedAI
{
- mob_coilfang_waterelementalAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_coilfang_waterelementalAI(Creature* creature) : ScriptedAI(creature) {}
uint32 WaterBoltVolley_Timer;
@@ -190,5 +190,5 @@ public:
void AddSC_boss_hydromancer_thespia()
{
new boss_hydromancer_thespia();
- new mob_coilfang_waterelemental();
+ new npc_coilfang_waterelemental();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
index 5d8d44ee70c..31af3e5a8d8 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
@@ -25,7 +25,7 @@ EndScriptData */
/* ContentData
boss_mekgineer_steamrigger
-mob_steamrigger_mechanic
+npc_steamrigger_mechanic
EndContentData */
#include "ScriptMgr.h"
@@ -190,19 +190,19 @@ public:
#define MAX_REPAIR_RANGE (13.0f) //we should be at least at this range for repair
#define MIN_REPAIR_RANGE (7.0f) //we can stop movement at this range to repair but not required
-class mob_steamrigger_mechanic : public CreatureScript
+class npc_steamrigger_mechanic : public CreatureScript
{
public:
- mob_steamrigger_mechanic() : CreatureScript("mob_steamrigger_mechanic") { }
+ npc_steamrigger_mechanic() : CreatureScript("npc_steamrigger_mechanic") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_steamrigger_mechanicAI (creature);
+ return new npc_steamrigger_mechanicAI (creature);
}
- struct mob_steamrigger_mechanicAI : public ScriptedAI
+ struct npc_steamrigger_mechanicAI : public ScriptedAI
{
- mob_steamrigger_mechanicAI(Creature* creature) : ScriptedAI(creature)
+ npc_steamrigger_mechanicAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -264,5 +264,5 @@ public:
void AddSC_boss_mekgineer_steamrigger()
{
new boss_mekgineer_steamrigger();
- new mob_steamrigger_mechanic();
+ new npc_steamrigger_mechanic();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
index 914539b27c9..d8cbcc8b49d 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
@@ -44,19 +44,19 @@ enum NagaDistiller
SPELL_WARLORDS_RAGE_PROC = 36453
};
-class mob_naga_distiller : public CreatureScript
+class npc_naga_distiller : public CreatureScript
{
public:
- mob_naga_distiller() : CreatureScript("mob_naga_distiller") { }
+ npc_naga_distiller() : CreatureScript("npc_naga_distiller") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_naga_distillerAI (creature);
+ return new npc_naga_distillerAI (creature);
}
- struct mob_naga_distillerAI : public ScriptedAI
+ struct npc_naga_distillerAI : public ScriptedAI
{
- mob_naga_distillerAI(Creature* creature) : ScriptedAI(creature)
+ npc_naga_distillerAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -178,7 +178,7 @@ public:
{
Talk(SAY_REGEN);
DoCast(me, SPELL_WARLORDS_RAGE);
- CAST_AI(mob_naga_distiller::mob_naga_distillerAI, distiller->AI())->StartRageGen(me);
+ CAST_AI(npc_naga_distiller::npc_naga_distillerAI, distiller->AI())->StartRageGen(me);
}
Rage_Timer = 3000+rand()%15000;
} else Rage_Timer -= diff;
@@ -207,6 +207,6 @@ public:
void AddSC_boss_warlord_kalithresh()
{
- new mob_naga_distiller();
+ new npc_naga_distiller();
new boss_warlord_kalithresh();
}
diff --git a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
index 7e2c13483bd..f1bb841fa85 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
@@ -104,19 +104,19 @@ public:
#define SPELL_PUTRID_MUSHROOM 31690
#define SPELL_GROW 31698
-class mob_underbog_mushroom : public CreatureScript
+class npc_underbog_mushroom : public CreatureScript
{
public:
- mob_underbog_mushroom() : CreatureScript("mob_underbog_mushroom") { }
+ npc_underbog_mushroom() : CreatureScript("npc_underbog_mushroom") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_underbog_mushroomAI (creature);
+ return new npc_underbog_mushroomAI (creature);
}
- struct mob_underbog_mushroomAI : public ScriptedAI
+ struct npc_underbog_mushroomAI : public ScriptedAI
{
- mob_underbog_mushroomAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_underbog_mushroomAI(Creature* creature) : ScriptedAI(creature) {}
bool Stop;
uint32 Grow_Timer;
@@ -162,5 +162,5 @@ public:
void AddSC_boss_hungarfen()
{
new boss_hungarfen();
- new mob_underbog_mushroom();
+ new npc_underbog_mushroom();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
index f491c5d4c9a..31e66c380d2 100644
--- a/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
@@ -25,7 +25,7 @@ EndScriptData */
/* ContentData
boss_kelidan_the_breaker
-mob_shadowmoon_channeler
+npc_shadowmoon_channeler
EndContentData */
#include "ScriptMgr.h"
@@ -280,7 +280,7 @@ class boss_kelidan_the_breaker : public CreatureScript
};
/*######
-## mob_shadowmoon_channeler
+## npc_shadowmoon_channeler
######*/
enum eShadowmoon
@@ -292,15 +292,15 @@ enum eShadowmoon
SPELL_CHANNELING = 39123
};
-class mob_shadowmoon_channeler : public CreatureScript
+class npc_shadowmoon_channeler : public CreatureScript
{
public:
- mob_shadowmoon_channeler() : CreatureScript("mob_shadowmoon_channeler") {}
+ npc_shadowmoon_channeler() : CreatureScript("npc_shadowmoon_channeler") {}
- struct mob_shadowmoon_channelerAI : public ScriptedAI
+ struct npc_shadowmoon_channelerAI : public ScriptedAI
{
- mob_shadowmoon_channelerAI(Creature* creature) : ScriptedAI(creature){}
+ npc_shadowmoon_channelerAI(Creature* creature) : ScriptedAI(creature){}
uint32 ShadowBolt_Timer;
uint32 MarkOfShadow_Timer;
@@ -373,13 +373,13 @@ class mob_shadowmoon_channeler : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_shadowmoon_channelerAI(creature);
+ return new npc_shadowmoon_channelerAI(creature);
}
};
void AddSC_boss_kelidan_the_breaker()
{
new boss_kelidan_the_breaker();
- new mob_shadowmoon_channeler();
+ new npc_shadowmoon_channeler();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
index 033d8e4c85e..cee8a2e840e 100644
--- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
@@ -460,17 +460,17 @@ class boss_vazruden_the_herald : public CreatureScript
}
};
-class mob_hellfire_sentry : public CreatureScript
+class npc_hellfire_sentry : public CreatureScript
{
public:
- mob_hellfire_sentry()
- : CreatureScript("mob_hellfire_sentry")
+ npc_hellfire_sentry()
+ : CreatureScript("npc_hellfire_sentry")
{
}
- struct mob_hellfire_sentryAI : public ScriptedAI
+ struct npc_hellfire_sentryAI : public ScriptedAI
{
- mob_hellfire_sentryAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_hellfire_sentryAI(Creature* creature) : ScriptedAI(creature) {}
uint32 KidneyShot_Timer;
@@ -506,7 +506,7 @@ class mob_hellfire_sentry : public CreatureScript
};
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_hellfire_sentryAI(creature);
+ return new npc_hellfire_sentryAI(creature);
}
};
void AddSC_boss_vazruden_the_herald()
@@ -514,6 +514,6 @@ void AddSC_boss_vazruden_the_herald()
new boss_vazruden_the_herald();
new boss_vazruden();
new boss_nazan();
- new mob_hellfire_sentry();
+ new npc_hellfire_sentry();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
index 21b77525ea3..8ad34033e5c 100644
--- a/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
@@ -49,10 +49,10 @@ enum eEmotes
enum eCreatures
{
- MOB_MAGTHERIDON = 17257,
- MOB_ROOM = 17516,
- MOB_CHANNELLER = 17256,
- MOB_ABYSSAL = 17454,
+ NPC_MAGTHERIDON = 17257,
+ NPC_ROOM = 17516,
+ NPC_CHANNELLER = 17256,
+ NPC_ABYSSAL = 17454,
};
enum eSpells
@@ -87,18 +87,18 @@ enum eSpells
typedef std::map<uint64, uint64> CubeMap;
-class mob_abyssal : public CreatureScript
+class npc_abyssal : public CreatureScript
{
public:
- mob_abyssal()
- : CreatureScript("mob_abyssal")
+ npc_abyssal()
+ : CreatureScript("npc_abyssal")
{
}
- struct mob_abyssalAI : public ScriptedAI
+ struct npc_abyssalAI : public ScriptedAI
{
- mob_abyssalAI(Creature* creature) : ScriptedAI(creature)
+ npc_abyssalAI(Creature* creature) : ScriptedAI(creature)
{
trigger = 0;
Despawn_Timer = 60000;
@@ -189,7 +189,7 @@ class mob_abyssal : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_abyssalAI(creature);
+ return new npc_abyssalAI(creature);
}
};
@@ -405,10 +405,10 @@ class boss_magtheridon : public CreatureScript
{
float x, y, z;
target->GetPosition(x, y, z);
- Creature* summon = me->SummonCreature(MOB_ABYSSAL, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ Creature* summon = me->SummonCreature(NPC_ABYSSAL, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
if (summon)
{
- CAST_AI(mob_abyssal::mob_abyssalAI, summon->AI())->SetTrigger(2);
+ CAST_AI(npc_abyssal::npc_abyssalAI, summon->AI())->SetTrigger(2);
DoCast(summon, SPELL_BLAZE_TARGET, true);
summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
}
@@ -439,9 +439,9 @@ class boss_magtheridon : public CreatureScript
{
float x, y, z;
target->GetPosition(x, y, z);
- Creature* summon = me->SummonCreature(MOB_ABYSSAL, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
+ Creature* summon = me->SummonCreature(NPC_ABYSSAL, x, y, z, 0, TEMPSUMMON_CORPSE_DESPAWN, 0);
if (summon)
- CAST_AI(mob_abyssal::mob_abyssalAI, summon->AI())->SetTrigger(1);
+ CAST_AI(npc_abyssal::npc_abyssalAI, summon->AI())->SetTrigger(1);
}
Debris_Timer = 10000;
}
@@ -459,18 +459,18 @@ class boss_magtheridon : public CreatureScript
}
};
-class mob_hellfire_channeler : public CreatureScript
+class npc_hellfire_channeler : public CreatureScript
{
public:
- mob_hellfire_channeler()
- : CreatureScript("mob_hellfire_channeler")
+ npc_hellfire_channeler()
+ : CreatureScript("npc_hellfire_channeler")
{
}
- struct mob_hellfire_channelerAI : public ScriptedAI
+ struct npc_hellfire_channelerAI : public ScriptedAI
{
- mob_hellfire_channelerAI(Creature* creature) : ScriptedAI(creature)
+ npc_hellfire_channelerAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -574,7 +574,7 @@ class mob_hellfire_channeler : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_hellfire_channelerAI(creature);
+ return new npc_hellfire_channelerAI(creature);
}
};
@@ -614,8 +614,8 @@ public:
void AddSC_boss_magtheridon()
{
new boss_magtheridon();
- new mob_hellfire_channeler();
- new mob_abyssal();
+ new npc_hellfire_channeler();
+ new npc_abyssal();
new go_manticron_cube();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp
index f53748d0aa4..b3408ed6c49 100644
--- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp
@@ -25,8 +25,8 @@ EndScriptData */
/* ContentData
boss_grand_warlock_nethekurse
-mob_fel_orc_convert
-mob_lesser_shadow_fissure
+npc_fel_orc_convert
+npc_lesser_shadow_fissure
EndContentData */
#include "ScriptMgr.h"
@@ -285,18 +285,18 @@ class boss_grand_warlock_nethekurse : public CreatureScript
}
};
-class mob_fel_orc_convert : public CreatureScript
+class npc_fel_orc_convert : public CreatureScript
{
public:
- mob_fel_orc_convert()
- : CreatureScript("mob_fel_orc_convert")
+ npc_fel_orc_convert()
+ : CreatureScript("npc_fel_orc_convert")
{
}
- struct mob_fel_orc_convertAI : public ScriptedAI
+ struct npc_fel_orc_convertAI : public ScriptedAI
{
- mob_fel_orc_convertAI(Creature* creature) : ScriptedAI(creature)
+ npc_fel_orc_convertAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -363,23 +363,23 @@ class mob_fel_orc_convert : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_fel_orc_convertAI(creature);
+ return new npc_fel_orc_convertAI(creature);
}
};
//NOTE: this Creature are also summoned by other spells, for different creatures
-class mob_lesser_shadow_fissure : public CreatureScript
+class npc_lesser_shadow_fissure : public CreatureScript
{
public:
- mob_lesser_shadow_fissure()
- : CreatureScript("mob_lesser_shadow_fissure")
+ npc_lesser_shadow_fissure()
+ : CreatureScript("npc_lesser_shadow_fissure")
{
}
- struct mob_lesser_shadow_fissureAI : public ScriptedAI
+ struct npc_lesser_shadow_fissureAI : public ScriptedAI
{
- mob_lesser_shadow_fissureAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_lesser_shadow_fissureAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void MoveInLineOfSight(Unit* /*who*/) {}
@@ -389,14 +389,14 @@ class mob_lesser_shadow_fissure : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_lesser_shadow_fissureAI (creature);
+ return new npc_lesser_shadow_fissureAI (creature);
}
};
void AddSC_boss_grand_warlock_nethekurse()
{
new boss_grand_warlock_nethekurse();
- new mob_fel_orc_convert();
- new mob_lesser_shadow_fissure();
+ new npc_fel_orc_convert();
+ new npc_lesser_shadow_fissure();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp
index 89a585e415f..82ee361b657 100644
--- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp
@@ -24,7 +24,7 @@ SDCategory: Hellfire Citadel, Shattered Halls
EndScriptData */
/* ContentData
-mob_omrogg_heads
+npc_omrogg_heads
boss_warbringer_omrogg
EndContentData */
@@ -102,18 +102,18 @@ static Yell KillingDelay[]=
{11, NPC_LEFT_HEAD},
};
-class mob_omrogg_heads : public CreatureScript
+class npc_omrogg_heads : public CreatureScript
{
public:
- mob_omrogg_heads()
- : CreatureScript("mob_omrogg_heads")
+ npc_omrogg_heads()
+ : CreatureScript("npc_omrogg_heads")
{
}
- struct mob_omrogg_headsAI : public ScriptedAI
+ struct npc_omrogg_headsAI : public ScriptedAI
{
- mob_omrogg_headsAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_omrogg_headsAI(Creature* creature) : ScriptedAI(creature) {}
bool DeathYell;
uint32 Death_Timer;
@@ -146,7 +146,7 @@ class mob_omrogg_heads : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_omrogg_headsAI(creature);
+ return new npc_omrogg_headsAI(creature);
}
};
@@ -306,7 +306,7 @@ class boss_warbringer_omrogg : public CreatureScript
pLeftHead->AI()->Talk(YELL_DIE_L);
- CAST_AI(mob_omrogg_heads::mob_omrogg_headsAI, pRightHead->ToCreature()->AI())->DoDeathYell();
+ CAST_AI(npc_omrogg_heads::npc_omrogg_headsAI, pRightHead->ToCreature()->AI())->DoDeathYell();
if (instance)
instance->SetData(TYPE_OMROGG, DONE);
@@ -423,6 +423,6 @@ class boss_warbringer_omrogg : public CreatureScript
void AddSC_boss_warbringer_omrogg()
{
new boss_warbringer_omrogg();
- new mob_omrogg_heads();
+ new npc_omrogg_heads();
}
diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp
index c8fa8948e5a..882cc3a0d3f 100644
--- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp
+++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp
@@ -45,10 +45,10 @@ enum eSpells
enum eCreatures
{
- MOB_SHATTERED_ASSASSIN = 17695,
- MOB_HEARTHEN_GUARD = 17621,
- MOB_SHARPSHOOTER_GUARD = 17622,
- MOB_REAVER_GUARD = 17623,
+ NPC_SHATTERED_ASSASSIN = 17695,
+ NPC_HEARTHEN_GUARD = 17621,
+ NPC_SHARPSHOOTER_GUARD = 17622,
+ NPC_REAVER_GUARD = 17623,
};
#define TARGET_NUM 5
@@ -115,13 +115,13 @@ class boss_warchief_kargath_bladefist : public CreatureScript
{
switch (summoned->GetEntry())
{
- case MOB_HEARTHEN_GUARD:
- case MOB_SHARPSHOOTER_GUARD:
- case MOB_REAVER_GUARD:
+ case NPC_HEARTHEN_GUARD:
+ case NPC_SHARPSHOOTER_GUARD:
+ case NPC_REAVER_GUARD:
summoned->AI()->AttackStart(SelectTarget(SELECT_TARGET_RANDOM, 0));
adds.push_back(summoned->GetGUID());
break;
- case MOB_SHATTERED_ASSASSIN:
+ case NPC_SHATTERED_ASSASSIN:
assassins.push_back(summoned->GetGUID());
break;
}
@@ -188,10 +188,10 @@ class boss_warchief_kargath_bladefist : public CreatureScript
}
void SpawnAssassin()
{
- me->SummonCreature(MOB_SHATTERED_ASSASSIN, AssassEntrance[0], AssassEntrance[1]+8, AssassEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
- me->SummonCreature(MOB_SHATTERED_ASSASSIN, AssassEntrance[0], AssassEntrance[1]-8, AssassEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
- me->SummonCreature(MOB_SHATTERED_ASSASSIN, AssassExit[0], AssassExit[1]+8, AssassExit[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
- me->SummonCreature(MOB_SHATTERED_ASSASSIN, AssassExit[0], AssassExit[1]-8, AssassExit[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_SHATTERED_ASSASSIN, AssassEntrance[0], AssassEntrance[1]+8, AssassEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_SHATTERED_ASSASSIN, AssassEntrance[0], AssassEntrance[1]-8, AssassEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_SHATTERED_ASSASSIN, AssassExit[0], AssassExit[1]+8, AssassExit[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_SHATTERED_ASSASSIN, AssassExit[0], AssassExit[1]-8, AssassExit[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
}
void UpdateAI(uint32 diff)
@@ -279,13 +279,13 @@ class boss_warchief_kargath_bladefist : public CreatureScript
switch (urand(0, 2))
{
case 0:
- me->SummonCreature(MOB_HEARTHEN_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_HEARTHEN_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
break;
case 1:
- me->SummonCreature(MOB_SHARPSHOOTER_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_SHARPSHOOTER_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
break;
case 2:
- me->SummonCreature(MOB_REAVER_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
+ me->SummonCreature(NPC_REAVER_GUARD, AddsEntrance[0], AddsEntrance[1], AddsEntrance[2], 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
break;
}
}
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp
index 62863edc2d7..7de32c4bfbd 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp
@@ -458,18 +458,18 @@ class boss_alar : public CreatureScript
}
};
-class mob_ember_of_alar : public CreatureScript
+class npc_ember_of_alar : public CreatureScript
{
public:
- mob_ember_of_alar()
- : CreatureScript("mob_ember_of_alar")
+ npc_ember_of_alar()
+ : CreatureScript("npc_ember_of_alar")
{
}
- struct mob_ember_of_alarAI : public ScriptedAI
+ struct npc_ember_of_alarAI : public ScriptedAI
{
- mob_ember_of_alarAI(Creature* creature) : ScriptedAI(creature)
+ npc_ember_of_alarAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
creature->SetDisableGravity(true);
@@ -533,22 +533,22 @@ class mob_ember_of_alar : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ember_of_alarAI(creature);
+ return new npc_ember_of_alarAI(creature);
}
};
-class mob_flame_patch_alar : public CreatureScript
+class npc_flame_patch_alar : public CreatureScript
{
public:
- mob_flame_patch_alar()
- : CreatureScript("mob_flame_patch_alar")
+ npc_flame_patch_alar()
+ : CreatureScript("npc_flame_patch_alar")
{
}
- struct mob_flame_patch_alarAI : public ScriptedAI
+ struct npc_flame_patch_alarAI : public ScriptedAI
{
- mob_flame_patch_alarAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_flame_patch_alarAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() {}
void EnterCombat(Unit* /*who*/) {}
void AttackStart(Unit* /*who*/) {}
@@ -558,14 +558,14 @@ class mob_flame_patch_alar : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_flame_patch_alarAI(creature);
+ return new npc_flame_patch_alarAI(creature);
}
};
void AddSC_boss_alar()
{
new boss_alar();
- new mob_ember_of_alar();
- new mob_flame_patch_alar();
+ new npc_ember_of_alar();
+ new npc_flame_patch_alar();
}
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
index a18b34f7867..a7f19aad871 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
@@ -410,18 +410,18 @@ class boss_high_astromancer_solarian : public CreatureScript
}
};
-class mob_solarium_priest : public CreatureScript
+class npc_solarium_priest : public CreatureScript
{
public:
- mob_solarium_priest()
- : CreatureScript("mob_solarium_priest")
+ npc_solarium_priest()
+ : CreatureScript("npc_solarium_priest")
{
}
- struct mob_solarium_priestAI : public ScriptedAI
+ struct npc_solarium_priestAI : public ScriptedAI
{
- mob_solarium_priestAI(Creature* creature) : ScriptedAI(creature)
+ npc_solarium_priestAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -493,7 +493,7 @@ class mob_solarium_priest : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_solarium_priestAI(creature);
+ return new npc_solarium_priestAI(creature);
}
};
@@ -538,7 +538,7 @@ class spell_astromancer_wrath_of_the_astromancer : public SpellScriptLoader
void AddSC_boss_high_astromancer_solarian()
{
new boss_high_astromancer_solarian();
- new mob_solarium_priest();
+ new npc_solarium_priest();
new spell_astromancer_wrath_of_the_astromancer();
}
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
index d52c67bc2d6..a5923d86ff8 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
@@ -1396,17 +1396,17 @@ class boss_master_engineer_telonicus : public CreatureScript
};
//Flame Strike AI
-class mob_kael_flamestrike : public CreatureScript
+class npc_kael_flamestrike : public CreatureScript
{
public:
- mob_kael_flamestrike()
- : CreatureScript("mob_kael_flamestrike")
+ npc_kael_flamestrike()
+ : CreatureScript("npc_kael_flamestrike")
{
}
- struct mob_kael_flamestrikeAI : public ScriptedAI
+ struct npc_kael_flamestrikeAI : public ScriptedAI
{
- mob_kael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
+ npc_kael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -1458,22 +1458,22 @@ class mob_kael_flamestrike : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_kael_flamestrikeAI(creature);
+ return new npc_kael_flamestrikeAI(creature);
}
};
//Phoenix AI
-class mob_phoenix_tk : public CreatureScript
+class npc_phoenix_tk : public CreatureScript
{
public:
- mob_phoenix_tk()
- : CreatureScript("mob_phoenix_tk")
+ npc_phoenix_tk()
+ : CreatureScript("npc_phoenix_tk")
{
}
- struct mob_phoenix_tkAI : public ScriptedAI
+ struct npc_phoenix_tkAI : public ScriptedAI
{
- mob_phoenix_tkAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_phoenix_tkAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Cycle_Timer;
@@ -1512,22 +1512,22 @@ class mob_phoenix_tk : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_phoenix_tkAI(creature);
+ return new npc_phoenix_tkAI(creature);
}
};
//Phoenix Egg AI
-class mob_phoenix_egg_tk : public CreatureScript
+class npc_phoenix_egg_tk : public CreatureScript
{
public:
- mob_phoenix_egg_tk()
- : CreatureScript("mob_phoenix_egg_tk")
+ npc_phoenix_egg_tk()
+ : CreatureScript("npc_phoenix_egg_tk")
{
}
- struct mob_phoenix_egg_tkAI : public ScriptedAI
+ struct npc_phoenix_egg_tkAI : public ScriptedAI
{
- mob_phoenix_egg_tkAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_phoenix_egg_tkAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Rebirth_Timer;
@@ -1573,7 +1573,7 @@ class mob_phoenix_egg_tk : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_phoenix_egg_tkAI(creature);
+ return new npc_phoenix_egg_tkAI(creature);
}
};
@@ -1584,7 +1584,7 @@ void AddSC_boss_kaelthas()
new boss_lord_sanguinar();
new boss_grand_astromancer_capernian();
new boss_master_engineer_telonicus();
- new mob_kael_flamestrike();
- new mob_phoenix_tk();
- new mob_phoenix_egg_tk();
+ new npc_kael_flamestrike();
+ new npc_phoenix_tk();
+ new npc_phoenix_egg_tk();
}
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp b/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp
index c843f09beb9..3fb42ced19f 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp
@@ -24,7 +24,7 @@ SDCategory: Tempest Keep, The Eye
EndScriptData */
/* ContentData
-mob_crystalcore_devastator
+npc_crystalcore_devastator
EndContentData */
#include "ScriptMgr.h"
@@ -37,17 +37,17 @@ enum eSpells
SPELL_KNOCKAWAY = 22893,
};
-class mob_crystalcore_devastator : public CreatureScript
+class npc_crystalcore_devastator : public CreatureScript
{
public:
- mob_crystalcore_devastator()
- : CreatureScript("mob_crystalcore_devastator")
+ npc_crystalcore_devastator()
+ : CreatureScript("npc_crystalcore_devastator")
{
}
- struct mob_crystalcore_devastatorAI : public ScriptedAI
+ struct npc_crystalcore_devastatorAI : public ScriptedAI
{
- mob_crystalcore_devastatorAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_crystalcore_devastatorAI(Creature* creature) : ScriptedAI(creature) {}
uint32 Knockaway_Timer;
uint32 Countercharge_Timer;
@@ -102,11 +102,11 @@ class mob_crystalcore_devastator : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_crystalcore_devastatorAI(creature);
+ return new npc_crystalcore_devastatorAI(creature);
}
};
void AddSC_the_eye()
{
- new mob_crystalcore_devastator();
+ new npc_crystalcore_devastator();
}
diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp
index 1a4916f491a..fbafe03fddb 100644
--- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp
@@ -142,14 +142,14 @@ class boss_nethermancer_sepethrea : public CreatureScript
}
};
-class mob_ragin_flames : public CreatureScript
+class npc_ragin_flames : public CreatureScript
{
public:
- mob_ragin_flames() : CreatureScript("mob_ragin_flames") { }
+ npc_ragin_flames() : CreatureScript("npc_ragin_flames") { }
- struct mob_ragin_flamesAI : public ScriptedAI
+ struct npc_ragin_flamesAI : public ScriptedAI
{
- mob_ragin_flamesAI(Creature* creature) : ScriptedAI(creature)
+ npc_ragin_flamesAI(Creature* creature) : ScriptedAI(creature)
{
instance = creature->GetInstanceScript();
}
@@ -223,12 +223,12 @@ class mob_ragin_flames : public CreatureScript
};
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_ragin_flamesAI(creature);
+ return new npc_ragin_flamesAI(creature);
}
};
void AddSC_boss_nethermancer_sepethrea()
{
new boss_nethermancer_sepethrea();
- new mob_ragin_flames();
+ new npc_ragin_flames();
}
diff --git a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp
index 67fadf34caa..adcfff10684 100644
--- a/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp
@@ -164,15 +164,15 @@ class boss_pathaleon_the_calculator : public CreatureScript
}
};
-class mob_nether_wraith : public CreatureScript
+class npc_nether_wraith : public CreatureScript
{
public:
- mob_nether_wraith() : CreatureScript("mob_nether_wraith") { }
+ npc_nether_wraith() : CreatureScript("npc_nether_wraith") { }
- struct mob_nether_wraithAI : public ScriptedAI
+ struct npc_nether_wraithAI : public ScriptedAI
{
- mob_nether_wraithAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_nether_wraithAI(Creature* creature) : ScriptedAI(creature) {}
uint32 ArcaneMissiles_Timer;
uint32 Detonation_Timer;
@@ -232,13 +232,13 @@ class mob_nether_wraith : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_nether_wraithAI (creature);
+ return new npc_nether_wraithAI (creature);
}
};
void AddSC_boss_pathaleon_the_calculator()
{
new boss_pathaleon_the_calculator();
- new mob_nether_wraith();
+ new npc_nether_wraith();
}
diff --git a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp
index 56e7dbe2a1f..43af42b1e72 100644
--- a/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp
+++ b/src/server/scripts/Outland/TempestKeep/arcatraz/arcatraz.cpp
@@ -26,7 +26,7 @@ EndScriptData */
/* ContentData
npc_millhouse_manastorm
npc_warden_mellichar
-mob_zerekethvoidzone
+npc_zerekethvoidzone
EndContentData */
#include "ScriptMgr.h"
@@ -521,7 +521,7 @@ class npc_warden_mellichar : public CreatureScript
};
/*#####
-# mob_zerekethvoidzone (this script probably not needed in future -> `creature_template_addon`.`auras`='36120 0')
+# npc_zerekethvoidzone (this script probably not needed in future -> `creature_template_addon`.`auras`='36120 0')
#####*/
enum ZerekethSpell
@@ -529,16 +529,16 @@ enum ZerekethSpell
SPELL_VOID_ZONE_DAMAGE = 36120,
};
-class mob_zerekethvoidzone : public CreatureScript
+class npc_zerekethvoidzone : public CreatureScript
{
public:
- mob_zerekethvoidzone() : CreatureScript("mob_zerekethvoidzone")
+ npc_zerekethvoidzone() : CreatureScript("npc_zerekethvoidzone")
{
}
- struct mob_zerekethvoidzoneAI : public ScriptedAI
+ struct npc_zerekethvoidzoneAI : public ScriptedAI
{
- mob_zerekethvoidzoneAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_zerekethvoidzoneAI(Creature* creature) : ScriptedAI(creature) {}
void Reset()
{
@@ -554,7 +554,7 @@ class mob_zerekethvoidzone : public CreatureScript
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_zerekethvoidzoneAI(creature);
+ return new npc_zerekethvoidzoneAI(creature);
}
};
@@ -562,5 +562,5 @@ void AddSC_arcatraz()
{
new npc_millhouse_manastorm();
new npc_warden_mellichar();
- new mob_zerekethvoidzone();
+ new npc_zerekethvoidzone();
}
diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp
index 8f959334c5e..09ca90570b0 100644
--- a/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp
+++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_warp_splinter.cpp
@@ -61,19 +61,19 @@ float treant_pos[6][3] =
};
/*#####
-# mob_treant (Sapling)
+# npc_treant (Sapling)
#####*/
-class mob_warp_splinter_treant : public CreatureScript
+class npc_warp_splinter_treant : public CreatureScript
{
public:
- mob_warp_splinter_treant()
- : CreatureScript("mob_warp_splinter_treant")
+ npc_warp_splinter_treant()
+ : CreatureScript("npc_warp_splinter_treant")
{
}
- struct mob_warp_splinter_treantAI : public ScriptedAI
+ struct npc_warp_splinter_treantAI : public ScriptedAI
{
- mob_warp_splinter_treantAI (Creature* creature) : ScriptedAI(creature)
+ npc_warp_splinter_treantAI (Creature* creature) : ScriptedAI(creature)
{
WarpGuid = 0;
}
@@ -120,7 +120,7 @@ class mob_warp_splinter_treant : public CreatureScript
};
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_warp_splinter_treantAI(creature);
+ return new npc_warp_splinter_treantAI(creature);
}
};
@@ -185,7 +185,7 @@ class boss_warp_splinter : public CreatureScript
float O = - me->GetAngle(X, Y);
if (Creature* pTreant = me->SummonCreature(CREATURE_TREANT, treant_pos[i][0], treant_pos[i][1], treant_pos[i][2], O, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 25000))
- CAST_AI(mob_warp_splinter_treant::mob_warp_splinter_treantAI, pTreant->AI())->WarpGuid = me->GetGUID();
+ CAST_AI(npc_warp_splinter_treant::npc_warp_splinter_treantAI, pTreant->AI())->WarpGuid = me->GetGUID();
}
Talk(SAY_SUMMON);
}
@@ -235,6 +235,6 @@ class boss_warp_splinter : public CreatureScript
void AddSC_boss_warp_splinter()
{
new boss_warp_splinter();
- new mob_warp_splinter_treant();
+ new npc_warp_splinter_treant();
}
diff --git a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
index 3bf6840b6f4..8ecf26b028a 100644
--- a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
+++ b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
@@ -24,8 +24,8 @@ SDCategory: Blade's Edge Mountains
EndScriptData */
/* ContentData
-mobs_bladespire_ogre
-mobs_nether_drake
+npc_bladespire_ogre
+npc_nether_drake
npc_daranelle
npc_overseer_nuaar
npc_saikkal_the_elder
@@ -51,23 +51,23 @@ bool obelisk_one, obelisk_two, obelisk_three, obelisk_four, obelisk_five;
#define LEGION_OBELISK_FIVE 185198
/*######
-## mobs_bladespire_ogre
+## npc_bladespire_ogre
######*/
/// @todo add support for quest 10512 + Creature abilities
-class mobs_bladespire_ogre : public CreatureScript
+class npc_bladespire_ogre : public CreatureScript
{
public:
- mobs_bladespire_ogre() : CreatureScript("mobs_bladespire_ogre") { }
+ npc_bladespire_ogre() : CreatureScript("npc_bladespire_ogre") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_bladespire_ogreAI (creature);
+ return new npc_bladespire_ogreAI (creature);
}
- struct mobs_bladespire_ogreAI : public ScriptedAI
+ struct npc_bladespire_ogreAI : public ScriptedAI
{
- mobs_bladespire_ogreAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_bladespire_ogreAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
@@ -82,7 +82,7 @@ public:
};
/*######
-## mobs_nether_drake
+## npc_nether_drake
######*/
enum eNetherdrake
@@ -107,19 +107,19 @@ enum eNetherdrake
SPELL_INTANGIBLE_PRESENCE = 36513
};
-class mobs_nether_drake : public CreatureScript
+class npc_nether_drake : public CreatureScript
{
public:
- mobs_nether_drake() : CreatureScript("mobs_nether_drake") { }
+ npc_nether_drake() : CreatureScript("npc_nether_drake") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mobs_nether_drakeAI (creature);
+ return new npc_nether_drakeAI (creature);
}
- struct mobs_nether_drakeAI : public ScriptedAI
+ struct npc_nether_drakeAI : public ScriptedAI
{
- mobs_nether_drakeAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_nether_drakeAI(Creature* creature) : ScriptedAI(creature) {}
bool IsNihil;
uint32 NihilSpeech_Timer;
@@ -1142,8 +1142,8 @@ class go_apexis_relic : public GameObjectScript
void AddSC_blades_edge_mountains()
{
- new mobs_bladespire_ogre();
- new mobs_nether_drake();
+ new npc_bladespire_ogre();
+ new npc_nether_drake();
new npc_daranelle();
new npc_overseer_nuaar();
new npc_saikkal_the_elder();
diff --git a/src/server/scripts/Outland/zone_netherstorm.cpp b/src/server/scripts/Outland/zone_netherstorm.cpp
index dc0dacc6f95..f8be2a43bf8 100644
--- a/src/server/scripts/Outland/zone_netherstorm.cpp
+++ b/src/server/scripts/Outland/zone_netherstorm.cpp
@@ -714,7 +714,7 @@ public:
};
/*######
-## mob_phase_hunter
+## npc_phase_hunter
######*/
enum ePhaseHunterData
@@ -734,19 +734,19 @@ enum ePhaseHunterData
SPELL_DE_MATERIALIZE = 34814,
};
-class mob_phase_hunter : public CreatureScript
+class npc_phase_hunter : public CreatureScript
{
public:
- mob_phase_hunter() : CreatureScript("mob_phase_hunter") { }
+ npc_phase_hunter() : CreatureScript("npc_phase_hunter") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_phase_hunterAI (creature);
+ return new npc_phase_hunterAI (creature);
}
- struct mob_phase_hunterAI : public ScriptedAI
+ struct npc_phase_hunterAI : public ScriptedAI
{
- mob_phase_hunterAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_phase_hunterAI(Creature* creature) : ScriptedAI(creature) {}
bool Weak;
bool Materialize;
@@ -1070,7 +1070,7 @@ void AddSC_netherstorm()
new npc_commander_dawnforge();
new at_commander_dawnforge();
new npc_professor_dabiri();
- new mob_phase_hunter();
+ new npc_phase_hunter();
new npc_bessy();
new npc_maxx_a_million_escort();
new go_captain_tyralius_prison();
diff --git a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp
index ff89c065c98..a51940a9143 100644
--- a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp
+++ b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp
@@ -24,8 +24,8 @@ SDCategory: Shadowmoon Valley
EndScriptData */
/* ContentData
-mob_mature_netherwing_drake
-mob_enslaved_netherwing_drake
+npc_mature_netherwing_drake
+npc_enslaved_netherwing_drake
npc_drake_dealer_hurlunk
npcs_flanis_swiftwing_and_kagrosh
npc_murkblood_overseer
@@ -33,8 +33,8 @@ npc_karynaku
npc_oronok_tornheart
npc_overlord_morghor
npc_earthmender_wilda
-mob_torloth_the_magnificent
-mob_illidari_spawn
+npc_torloth_the_magnificent
+npc_illidari_spawn
npc_lord_illidan_stormrage
go_crystal_prison
npc_enraged_spirit
@@ -50,7 +50,7 @@ EndContentData */
#include "WorldSession.h"
/*#####
-# mob_mature_netherwing_drake
+# npc_mature_netherwing_drake
#####*/
enum eMatureNetherwing
@@ -68,19 +68,19 @@ enum eMatureNetherwing
NPC_EVENT_PINGER = 22131
};
-class mob_mature_netherwing_drake : public CreatureScript
+class npc_mature_netherwing_drake : public CreatureScript
{
public:
- mob_mature_netherwing_drake() : CreatureScript("mob_mature_netherwing_drake") { }
+ npc_mature_netherwing_drake() : CreatureScript("npc_mature_netherwing_drake") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_mature_netherwing_drakeAI(creature);
+ return new npc_mature_netherwing_drakeAI(creature);
}
- struct mob_mature_netherwing_drakeAI : public ScriptedAI
+ struct npc_mature_netherwing_drakeAI : public ScriptedAI
{
- mob_mature_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature) { }
+ npc_mature_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature) { }
uint64 uiPlayerGUID;
@@ -187,7 +187,7 @@ public:
};
/*###
-# mob_enslaved_netherwing_drake
+# npc_enslaved_netherwing_drake
####*/
#define FACTION_DEFAULT 62
@@ -199,19 +199,19 @@ public:
#define CREATURE_DRAGONMAW_SUBJUGATOR 21718
#define CREATURE_ESCAPE_DUMMY 22317
-class mob_enslaved_netherwing_drake : public CreatureScript
+class npc_enslaved_netherwing_drake : public CreatureScript
{
public:
- mob_enslaved_netherwing_drake() : CreatureScript("mob_enslaved_netherwing_drake") { }
+ npc_enslaved_netherwing_drake() : CreatureScript("npc_enslaved_netherwing_drake") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_enslaved_netherwing_drakeAI(creature);
+ return new npc_enslaved_netherwing_drakeAI(creature);
}
- struct mob_enslaved_netherwing_drakeAI : public ScriptedAI
+ struct npc_enslaved_netherwing_drakeAI : public ScriptedAI
{
- mob_enslaved_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature)
+ npc_enslaved_netherwing_drakeAI(Creature* creature) : ScriptedAI(creature)
{
PlayerGUID = 0;
Tapped = false;
@@ -327,22 +327,22 @@ public:
};
/*#####
-# mob_dragonmaw_peon
+# npc_dragonmaw_peon
#####*/
-class mob_dragonmaw_peon : public CreatureScript
+class npc_dragonmaw_peon : public CreatureScript
{
public:
- mob_dragonmaw_peon() : CreatureScript("mob_dragonmaw_peon") { }
+ npc_dragonmaw_peon() : CreatureScript("npc_dragonmaw_peon") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_dragonmaw_peonAI(creature);
+ return new npc_dragonmaw_peonAI(creature);
}
- struct mob_dragonmaw_peonAI : public ScriptedAI
+ struct npc_dragonmaw_peonAI : public ScriptedAI
{
- mob_dragonmaw_peonAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_dragonmaw_peonAI(Creature* creature) : ScriptedAI(creature) {}
uint64 PlayerGUID;
bool Tapped;
@@ -1153,8 +1153,8 @@ public:
/* ContentData
Battle of the crimson watch - creatures, gameobjects and defines
-mob_illidari_spawn : Adds that are summoned in the Crimson Watch battle.
-mob_torloth_the_magnificent : Final Creature that players have to face before quest is completed
+npc_illidari_spawn : Adds that are summoned in the Crimson Watch battle.
+npc_torloth_the_magnificent : Final Creature that players have to face before quest is completed
npc_lord_illidan_stormrage : Creature that controls the event.
go_crystal_prison : GameObject that begins the event and hands out quest
EndContentData */
@@ -1240,22 +1240,22 @@ static SpawnSpells SpawnCast[]=
};
/*######
-# mob_torloth_the_magnificent
+# npc_torloth_the_magnificent
#####*/
-class mob_torloth_the_magnificent : public CreatureScript
+class npc_torloth_the_magnificent : public CreatureScript
{
public:
- mob_torloth_the_magnificent() : CreatureScript("mob_torloth_the_magnificent") { }
+ npc_torloth_the_magnificent() : CreatureScript("npc_torloth_the_magnificent") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_torloth_the_magnificentAI(c);
+ return new npc_torloth_the_magnificentAI(c);
}
- struct mob_torloth_the_magnificentAI : public ScriptedAI
+ struct npc_torloth_the_magnificentAI : public ScriptedAI
{
- mob_torloth_the_magnificentAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_torloth_the_magnificentAI(Creature* creature) : ScriptedAI(creature) {}
uint32 AnimationTimer, SpellTimer1, SpellTimer2, SpellTimer3;
@@ -1543,22 +1543,22 @@ public:
};
/*######
-# mob_illidari_spawn
+# npc_illidari_spawn
######*/
-class mob_illidari_spawn : public CreatureScript
+class npc_illidari_spawn : public CreatureScript
{
public:
- mob_illidari_spawn() : CreatureScript("mob_illidari_spawn") { }
+ npc_illidari_spawn() : CreatureScript("npc_illidari_spawn") { }
CreatureAI* GetAI(Creature* c) const
{
- return new mob_illidari_spawnAI(c);
+ return new npc_illidari_spawnAI(c);
}
- struct mob_illidari_spawnAI : public ScriptedAI
+ struct npc_illidari_spawnAI : public ScriptedAI
{
- mob_illidari_spawnAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_illidari_spawnAI(Creature* creature) : ScriptedAI(creature) {}
uint64 LordIllidanGUID;
uint32 SpellTimer1, SpellTimer2, SpellTimer3;
@@ -1712,14 +1712,14 @@ void npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave()
Spawn->GetMotionMaster()->MovePoint(0, x, y, z);
}
}
- CAST_AI(mob_illidari_spawn::mob_illidari_spawnAI, Spawn->AI())->LordIllidanGUID = me->GetGUID();
+ CAST_AI(npc_illidari_spawn::npc_illidari_spawnAI, Spawn->AI())->LordIllidanGUID = me->GetGUID();
}
if (WavesInfo[WaveCount].CreatureId == 22076) // Torloth
{
- CAST_AI(mob_torloth_the_magnificent::mob_torloth_the_magnificentAI, Spawn->AI())->LordIllidanGUID = me->GetGUID();
+ CAST_AI(npc_torloth_the_magnificent::npc_torloth_the_magnificentAI, Spawn->AI())->LordIllidanGUID = me->GetGUID();
if (PlayerGUID)
- CAST_AI(mob_torloth_the_magnificent::mob_torloth_the_magnificentAI, Spawn->AI())->AggroTargetGUID = PlayerGUID;
+ CAST_AI(npc_torloth_the_magnificent::npc_torloth_the_magnificentAI, Spawn->AI())->AggroTargetGUID = PlayerGUID;
}
}
}
@@ -2000,9 +2000,9 @@ public:
void AddSC_shadowmoon_valley()
{
- new mob_mature_netherwing_drake();
- new mob_enslaved_netherwing_drake();
- new mob_dragonmaw_peon();
+ new npc_mature_netherwing_drake();
+ new npc_enslaved_netherwing_drake();
+ new npc_dragonmaw_peon();
new npc_drake_dealer_hurlunk();
new npcs_flanis_swiftwing_and_kagrosh();
new npc_murkblood_overseer();
@@ -2012,8 +2012,8 @@ void AddSC_shadowmoon_valley()
new npc_earthmender_wilda();
new npc_lord_illidan_stormrage();
new go_crystal_prison();
- new mob_illidari_spawn();
- new mob_torloth_the_magnificent();
+ new npc_illidari_spawn();
+ new npc_torloth_the_magnificent();
new npc_enraged_spirit();
new spell_unlocking_zuluheds_chains();
new npc_shadowmoon_tuber_node();
diff --git a/src/server/scripts/Outland/zone_terokkar_forest.cpp b/src/server/scripts/Outland/zone_terokkar_forest.cpp
index d463f003523..fc43dac2c5d 100644
--- a/src/server/scripts/Outland/zone_terokkar_forest.cpp
+++ b/src/server/scripts/Outland/zone_terokkar_forest.cpp
@@ -24,10 +24,10 @@ SDCategory: Terokkar Forest
EndScriptData */
/* ContentData
-mob_unkor_the_ruthless
-mob_infested_root_walker
-mob_rotting_forest_rager
-mob_netherweb_victim
+npc_unkor_the_ruthless
+npc_infested_root_walker
+npc_rotting_forest_rager
+npc_netherweb_victim
npc_floon
npc_isla_starmane
npc_slim
@@ -42,7 +42,7 @@ EndContentData */
#include "WorldSession.h"
/*######
-## mob_unkor_the_ruthless
+## npc_unkor_the_ruthless
######*/
enum UnkorTheRuthless
@@ -56,19 +56,19 @@ enum UnkorTheRuthless
SPELL_PULVERIZE = 2676
};
-class mob_unkor_the_ruthless : public CreatureScript
+class npc_unkor_the_ruthless : public CreatureScript
{
public:
- mob_unkor_the_ruthless() : CreatureScript("mob_unkor_the_ruthless") { }
+ npc_unkor_the_ruthless() : CreatureScript("npc_unkor_the_ruthless") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_unkor_the_ruthlessAI (creature);
+ return new npc_unkor_the_ruthlessAI (creature);
}
- struct mob_unkor_the_ruthlessAI : public ScriptedAI
+ struct npc_unkor_the_ruthlessAI : public ScriptedAI
{
- mob_unkor_the_ruthlessAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_unkor_the_ruthlessAI(Creature* creature) : ScriptedAI(creature) {}
bool CanDoQuest;
uint32 UnkorUnfriendly_Timer;
@@ -160,22 +160,22 @@ public:
};
/*######
-## mob_infested_root_walker
+## npc_infested_root_walker
######*/
-class mob_infested_root_walker : public CreatureScript
+class npc_infested_root_walker : public CreatureScript
{
public:
- mob_infested_root_walker() : CreatureScript("mob_infested_root_walker") { }
+ npc_infested_root_walker() : CreatureScript("npc_infested_root_walker") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_infested_root_walkerAI (creature);
+ return new npc_infested_root_walkerAI (creature);
}
- struct mob_infested_root_walkerAI : public ScriptedAI
+ struct npc_infested_root_walkerAI : public ScriptedAI
{
- mob_infested_root_walkerAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_infested_root_walkerAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -192,7 +192,7 @@ public:
};
/*######
-## mob_skywing
+## npc_skywing
######*/
class npc_skywing : public CreatureScript
{
@@ -246,22 +246,22 @@ public:
};
/*######
-## mob_rotting_forest_rager
+## npc_rotting_forest_rager
######*/
-class mob_rotting_forest_rager : public CreatureScript
+class npc_rotting_forest_rager : public CreatureScript
{
public:
- mob_rotting_forest_rager() : CreatureScript("mob_rotting_forest_rager") { }
+ npc_rotting_forest_rager() : CreatureScript("npc_rotting_forest_rager") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_rotting_forest_ragerAI (creature);
+ return new npc_rotting_forest_ragerAI (creature);
}
- struct mob_rotting_forest_ragerAI : public ScriptedAI
+ struct npc_rotting_forest_ragerAI : public ScriptedAI
{
- mob_rotting_forest_ragerAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_rotting_forest_ragerAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -278,7 +278,7 @@ public:
};
/*######
-## mob_netherweb_victim
+## npc_netherweb_victim
######*/
#define QUEST_TARGET 22459
@@ -288,19 +288,19 @@ const uint32 netherwebVictims[6] =
{
18470, 16805, 21242, 18452, 22482, 21285
};
-class mob_netherweb_victim : public CreatureScript
+class npc_netherweb_victim : public CreatureScript
{
public:
- mob_netherweb_victim() : CreatureScript("mob_netherweb_victim") { }
+ npc_netherweb_victim() : CreatureScript("npc_netherweb_victim") { }
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_netherweb_victimAI (creature);
+ return new npc_netherweb_victimAI (creature);
}
- struct mob_netherweb_victimAI : public ScriptedAI
+ struct npc_netherweb_victimAI : public ScriptedAI
{
- mob_netherweb_victimAI(Creature* creature) : ScriptedAI(creature) {}
+ npc_netherweb_victimAI(Creature* creature) : ScriptedAI(creature) {}
void Reset() { }
void EnterCombat(Unit* /*who*/) { }
@@ -696,10 +696,10 @@ public:
void AddSC_terokkar_forest()
{
- new mob_unkor_the_ruthless();
- new mob_infested_root_walker();
- new mob_rotting_forest_rager();
- new mob_netherweb_victim();
+ new npc_unkor_the_ruthless();
+ new npc_infested_root_walker();
+ new npc_rotting_forest_rager();
+ new npc_netherweb_victim();
new npc_floon();
new npc_isla_starmane();
new go_skull_pile();
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index 28b6c5faaff..5301f8fa2c4 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -1715,14 +1715,14 @@ public:
#define SAY_RANDOM_MOJO6b ", I know of a little swamp not too far from here...."
#define SAY_RANDOM_MOJO7 "There's just never enough Mojo to go around..."
-class mob_mojo : public CreatureScript
+class npc_mojo : public CreatureScript
{
public:
- mob_mojo() : CreatureScript("mob_mojo") { }
+ npc_mojo() : CreatureScript("npc_mojo") { }
- struct mob_mojoAI : public ScriptedAI
+ struct npc_mojoAI : public ScriptedAI
{
- mob_mojoAI(Creature* creature) : ScriptedAI(creature) {Reset();}
+ npc_mojoAI(Creature* creature) : ScriptedAI(creature) {Reset();}
uint32 hearts;
uint64 victimGUID;
void Reset()
@@ -1802,7 +1802,7 @@ public:
CreatureAI* GetAI(Creature* creature) const
{
- return new mob_mojoAI(creature);
+ return new npc_mojoAI(creature);
}
};
@@ -2973,7 +2973,7 @@ void AddSC_npcs_special()
new npc_mirror_image();
new npc_ebon_gargoyle();
new npc_lightwell();
- new mob_mojo();
+ new npc_mojo();
new npc_training_dummy();
new npc_shadowfiend();
new npc_wormhole();