From ee305cbb26d173002f4b93d992e825b1d031d317 Mon Sep 17 00:00:00 2001 From: w1sht0l1v3 Date: Thu, 22 Mar 2012 12:54:31 +0200 Subject: [PATCH] Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting. Flame Sphere should not be visible to players(only their visual). --- sql/updates/world/2012_03_22_00_world_creature_template.sql | 2 ++ .../Northrend/AzjolNerub/Ahnkahet/boss_prince_taldaram.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/2012_03_22_00_world_creature_template.sql 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;