diff options
author | Malcrom <malcromdev@gmail.com> | 2013-07-08 16:31:29 -0230 |
---|---|---|
committer | Malcrom <malcromdev@gmail.com> | 2013-07-08 16:31:29 -0230 |
commit | d8b39e9bae8c1e4a4a6e021cf9cd1cc00bb74fc4 (patch) | |
tree | a6f3ed82e2d9564e380276dbac01d9d1d887f221 | |
parent | ac85fac97753693c9f5d058b156cbb6aca14bbc0 (diff) |
Core/Scripting: Fix some errors in Shade of Akama script.
-rw-r--r-- | sql/updates/world/2013_07_08_02_world_misc.sql | 2 | ||||
-rw-r--r-- | src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sql/updates/world/2013_07_08_02_world_misc.sql b/sql/updates/world/2013_07_08_02_world_misc.sql new file mode 100644 index 00000000000..782d4620e56 --- /dev/null +++ b/sql/updates/world/2013_07_08_02_world_misc.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `ScriptName` = 'npc_ashtongue_channeler' WHERE `entry`=23421; +DELETE FROM `waypoint_data` WHERE `id`=847160; 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 e3d7ff110b0..cb95f4e12e0 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_shade_of_akama.cpp @@ -555,14 +555,14 @@ public: // Ashtongue Channeler // ######################################################## -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") { } - 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) { instance = creature->GetInstanceScript(); } @@ -625,7 +625,7 @@ public: CreatureAI* GetAI(Creature* creature) const { - return new mob_ashtongue_channelerAI(creature); + return new npc_ashtongue_channelerAI(creature); } }; @@ -1033,7 +1033,7 @@ void AddSC_boss_shade_of_akama() { new boss_shade_of_akama(); new npc_akama_shade(); - new mob_ashtongue_channeler(); + new npc_ashtongue_channeler(); new npc_creature_generator_akama(); new npc_ashtongue_sorcerer(); new npc_ashtongue_defender(); |