Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.

Flame Sphere should not be visible to players(only their visual).
This commit is contained in:
w1sht0l1v3
2012-03-22 12:54:31 +02:00
parent ac4536327f
commit ee305cbb26
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;