*Remove unused CastCustomSpell() code from Fathom-Lord Karathress' script.
--HG-- branch : trunk
This commit is contained in:
+2
-3
@@ -250,9 +250,8 @@ struct TRINITY_DLL_DECL boss_fathomlord_karathressAI : public ScriptedAI
|
|||||||
if (!target)
|
if (!target)
|
||||||
target = m_creature->getVictim();
|
target = m_creature->getVictim();
|
||||||
|
|
||||||
int32 dmg = target->GetMaxHealth() / 2;
|
if(target)
|
||||||
m_creature->CastCustomSpell(target, SPELL_CATACLYSMIC_BOLT, &dmg, NULL, NULL, false, NULL, NULL, m_creature->GetGUID());
|
DoCast(target, SPELL_CATACLYSMIC_BOLT);
|
||||||
|
|
||||||
CataclysmicBolt_Timer = 10000;
|
CataclysmicBolt_Timer = 10000;
|
||||||
}else CataclysmicBolt_Timer -= diff;
|
}else CataclysmicBolt_Timer -= diff;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user