aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw1sht0l1v3 <w1sht0l1v3@gmail.com>2012-03-22 12:54:31 +0200
committerw1sht0l1v3 <w1sht0l1v3@gmail.com>2012-03-22 12:54:31 +0200
commitee305cbb26d173002f4b93d992e825b1d031d317 (patch)
tree2bb4f64b21e8c91aae8e7826a9577b3955680e76
parentac4536327f67161a54a6ed8b35408dbe3a5c7328 (diff)
Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
Flame Sphere should not be visible to players(only their visual).
-rw-r--r--sql/updates/world/2012_03_22_00_world_creature_template.sql2
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/sql/updates/world/2012_03_22_00_world_creature_template.sql b/sql/updates/world/2012_03_22_00_world_creature_template.sql
new file mode 100644
index 00000000000..6cf07ff4103
--- /dev/null
+++ b/sql/updates/world/2012_03_22_00_world_creature_template.sql
@@ -0,0 +1,2 @@
+-- Flame Sphere should not be visible to players(only their visual)
+UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry` IN (30106,31686,31687); \ No newline at end of file
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
index 12ef2075857..38879364d83 100644
--- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp
@@ -201,7 +201,8 @@ public:
if (uiFlamesphereTimer <= diff)
{
- DoCast(me, SPELL_CONJURE_FLAME_SPHERE);
+ // because TARGET_UNIT_TARGET_ENEMY we need a target selected to cast
+ DoCast(me->getVictim(), SPELL_CONJURE_FLAME_SPHERE);
Phase = CASTING_FLAME_SPHERES;
uiPhaseTimer = 3*IN_MILLISECONDS + diff;
uiFlamesphereTimer = 15*IN_MILLISECONDS;