aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-05-01 17:32:22 +0200
committerAnubisss <none@none>2009-05-01 17:32:22 +0200
commit1ea5d4265da97657c903f73fa18cbd0ca26eebff (patch)
treef3ad4e90fe30e95b4705386237168e678eb0c075
parent08d1d7334f890a075cc72288dc3ad1199954a6de (diff)
*Remove unused CastCustomSpell() code from Fathom-Lord Karathress' script.
--HG-- branch : trunk
-rw-r--r--src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
index 3a3f7e8291d..7fb9c74be21 100644
--- a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
+++ b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
@@ -250,9 +250,8 @@ struct TRINITY_DLL_DECL boss_fathomlord_karathressAI : public ScriptedAI
if (!target)
target = m_creature->getVictim();
- int32 dmg = target->GetMaxHealth() / 2;
- m_creature->CastCustomSpell(target, SPELL_CATACLYSMIC_BOLT, &dmg, NULL, NULL, false, NULL, NULL, m_creature->GetGUID());
-
+ if(target)
+ DoCast(target, SPELL_CATACLYSMIC_BOLT);
CataclysmicBolt_Timer = 10000;
}else CataclysmicBolt_Timer -= diff;