*small tweaks to Utgarde keep bosses

--HG--
branch : trunk
This commit is contained in:
Rat
2010-03-14 23:44:27 +01:00
parent 50b59401dc
commit c8fd37a9dc
2 changed files with 8 additions and 4 deletions
@@ -335,6 +335,7 @@ struct mob_annhylde_the_callerAI : public ScriptedAI
Resurect_Phase = 1;
break;
case 2:
m_creature->SetVisibility(VISIBILITY_OFF);
m_creature->DealDamage(m_creature,m_creature->GetHealth());
m_creature->RemoveCorpse();
break;
@@ -341,7 +341,7 @@ struct boss_dalronn_the_controllerAI : public ScriptedAI
if (!m_creature->IsNonMeleeSpellCasted(false))
{
DoCast(SelectUnit(SELECT_TARGET_RANDOM, 0), DUNGEON_MODE(SPELL_SHADOW_BOLT, H_SPELL_SHADOW_BOLT));
ShadowBolt_Timer = 1000;
ShadowBolt_Timer = 2100;//give a 100ms pause to try cast other spells
}
} else ShadowBolt_Timer -= diff;
@@ -356,9 +356,12 @@ struct boss_dalronn_the_controllerAI : public ScriptedAI
if (IsHeroic())
if (Summon_Timer <= diff)
{
if (!m_creature->IsNonMeleeSpellCasted(false))
{
DoCast(m_creature, H_SPELL_SUMMON_SKELETONS);
Summon_Timer = (rand()%10000) + 20000;
}
} else Summon_Timer -= diff;
DoMeleeAttackIfReady();