From b4d4e04f53b447a7b6cfba1c7161d9c987260265 Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Thu, 4 Jul 2013 22:09:24 +0200 Subject: Scripts/Misc: Rename creatures with mob_ / mobs_ in npc_ Note: Have fun :P --- src/server/scripts/World/npcs_special.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server/scripts/World') 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(); -- cgit v1.2.3