mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Fix a crash caused by boss_fathomguard script.
--HG-- branch : trunk
This commit is contained in:
@@ -642,8 +642,6 @@ struct TRINITY_DLL_DECL boss_fathomguard_caribdisAI : public ScriptedAI
|
||||
if (TidalSurge_Timer < diff)
|
||||
{
|
||||
DoCast(m_creature->getVictim(), SPELL_TIDAL_SURGE);
|
||||
// Hacky way to do it - won't trigger elseways
|
||||
m_creature->getVictim()->CastSpell( m_creature->getVictim(), SPELL_TIDAL_SURGE_FREEZE, true );
|
||||
TidalSurge_Timer = 15000+rand()%5000;
|
||||
}else TidalSurge_Timer -= diff;
|
||||
|
||||
|
||||
@@ -4758,6 +4758,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 38358:
|
||||
if(unitTarget)
|
||||
m_caster->CastSpell(unitTarget, 38353, true);
|
||||
return;
|
||||
/*// Flame Crash
|
||||
case 41126:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user