mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
*small tweaks to Utgarde keep bosses
--HG-- branch : trunk
This commit is contained in:
@@ -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,14 +341,14 @@ 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;
|
||||
|
||||
if (Debilitate_Timer <= diff)
|
||||
{
|
||||
if (!m_creature->IsNonMeleeSpellCasted(false))
|
||||
{
|
||||
{
|
||||
DoCast(SelectUnit(SELECT_TARGET_RANDOM, 0), SPELL_DEBILITATE);
|
||||
Debilitate_Timer = 5000+rand()%5000;
|
||||
}
|
||||
@@ -357,8 +357,11 @@ struct boss_dalronn_the_controllerAI : public ScriptedAI
|
||||
if (IsHeroic())
|
||||
if (Summon_Timer <= diff)
|
||||
{
|
||||
DoCast(m_creature, H_SPELL_SUMMON_SKELETONS);
|
||||
Summon_Timer = (rand()%10000) + 20000;
|
||||
if (!m_creature->IsNonMeleeSpellCasted(false))
|
||||
{
|
||||
DoCast(m_creature, H_SPELL_SUMMON_SKELETONS);
|
||||
Summon_Timer = (rand()%10000) + 20000;
|
||||
}
|
||||
} else Summon_Timer -= diff;
|
||||
|
||||
DoMeleeAttackIfReady();
|
||||
|
||||
Reference in New Issue
Block a user