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/Outland/TempestKeep | |
| parent | 85db1fc9434e7eca4ee53ca8c645e14c187911cb (diff) | |
Scripts/Misc: Rename creatures with mob_ / mobs_ in npc_
Note: Have fun :P
Diffstat (limited to 'src/server/scripts/Outland/TempestKeep')
8 files changed, 79 insertions, 79 deletions
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(); } |
