diff options
author | Anubisss <none@none> | 2009-05-01 17:32:22 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2009-05-01 17:32:22 +0200 |
commit | 1ea5d4265da97657c903f73fa18cbd0ca26eebff (patch) | |
tree | f3ad4e90fe30e95b4705386237168e678eb0c075 | |
parent | 08d1d7334f890a075cc72288dc3ad1199954a6de (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.cpp | 5 |
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; |