Merge pull request #5837 from w1sht0l1v3/AK

Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
This commit is contained in:
Machiavelli
2012-03-22 12:11:19 -07:00
2 changed files with 4 additions and 1 deletions

View File

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

View File

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