Merge pull request #5837 from w1sht0l1v3/AK
Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
This commit is contained in:
commit
a2818cc442
2 files changed
+4
-1
No files matched your search
@@ -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 @@ 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;
|
||||
|
||||
Reference in new issue
Block a user