diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-04 22:09:24 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-04 22:11:47 +0200 |
| commit | b4d4e04f53b447a7b6cfba1c7161d9c987260265 (patch) | |
| tree | 7a0663903f4394731795433cc0d2814634f3d8ef /src/server/scripts/EasternKingdoms/Karazhan | |
| parent | 85db1fc9434e7eca4ee53ca8c645e14c187911cb (diff) | |
Scripts/Misc: Rename creatures with mob_ / mobs_ in npc_
Note: Have fun :P
Diffstat (limited to 'src/server/scripts/EasternKingdoms/Karazhan')
4 files changed, 44 insertions, 44 deletions
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(); |
