Permalink
Browse files

Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual ca…

…sting.

Flame Sphere should not be visible to players(only their visual).
  • Loading branch information...
1 parent ac45363 commit ee305cbb26d173002f4b93d992e825b1d031d317 @w1sht0l1v3 committed Mar 22, 2012
@@ -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);
@@ -201,7 +201,8 @@ class boss_taldaram : public CreatureScript
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;

0 comments on commit ee305cb

Please sign in to comment.