Core/Scripting: Fix some errors in Shade of Akama script.

This commit is contained in:
Malcrom
2013-07-08 16:31:29 -02:30
parent ac85fac977
commit d8b39e9bae
2 changed files with 8 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
UPDATE `creature_template` SET `ScriptName` = 'npc_ashtongue_channeler' WHERE `entry`=23421;
DELETE FROM `waypoint_data` WHERE `id`=847160;

View File

@@ -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();