aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRat <none@none>2009-11-03 13:55:44 +0100
committerRat <none@none>2009-11-03 13:55:44 +0100
commitde9551b648de36301ad7b943310a581b4641dd7e (patch)
treed1893aa6442a08515f155dd9d8ec63b5f8a9bdee
parent93d543a9c1898839177dbe6499c5b36432639191 (diff)
*fix all of Illidan's AOE spells
-flame crash, eye blast, blaze, eye blast beam visual --HG-- branch : trunk
-rw-r--r--sql/updates/6176_world_scripts.sql4
-rw-r--r--src/bindings/scripts/scripts/outland/black_temple/boss_illidan.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/sql/updates/6176_world_scripts.sql b/sql/updates/6176_world_scripts.sql
new file mode 100644
index 00000000000..84b89fc172d
--- /dev/null
+++ b/sql/updates/6176_world_scripts.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `AIName` = 'AOEAI',`flags_extra` = '0',`minlevel` = '70',`maxlevel` = '70',`maxlevel` = '70',`faction_A` = '14',`faction_H` = '14' WHERE `entry` IN ('23336','23069','23259');
+UPDATE `creature_template` SET `spell1` = '40029' WHERE `entry` = 23069;
+UPDATE `creature_template` SET `spell1` = '40610' WHERE `entry` = 23259;
+UPDATE `creature_template` SET `spell1` = '40836' WHERE `entry` = 23336; \ No newline at end of file
diff --git a/src/bindings/scripts/scripts/outland/black_temple/boss_illidan.cpp b/src/bindings/scripts/scripts/outland/black_temple/boss_illidan.cpp
index d7a3c8981e7..390c6d28aa7 100644
--- a/src/bindings/scripts/scripts/outland/black_temple/boss_illidan.cpp
+++ b/src/bindings/scripts/scripts/outland/black_temple/boss_illidan.cpp
@@ -2023,7 +2023,7 @@ void boss_illidan_stormrageAI::CastEyeBlast()
final.x = 2 * final.x - initial.x;
final.y = 2 * final.y - initial.y;
- Creature* Trigger = m_creature->SummonTrigger(initial.x, initial.y, initial.z, 0, 13000);
+ Creature* Trigger = m_creature->SummonCreature(23069, initial.x, initial.y, initial.z, 0, TEMPSUMMON_TIMED_DESPAWN, 13000);
if (!Trigger) return;
Trigger->SetSpeed(MOVE_WALK, 3);