mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Scripting: Fix some errors in Shade of Akama script.
This commit is contained in:
2
sql/updates/world/2013_07_08_02_world_misc.sql
Normal file
2
sql/updates/world/2013_07_08_02_world_misc.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE `creature_template` SET `ScriptName` = 'npc_ashtongue_channeler' WHERE `entry`=23421;
|
||||
DELETE FROM `waypoint_data` WHERE `id`=847160;
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user