diff options
| author | Rat <none@none> | 2010-04-10 10:20:01 +0200 |
|---|---|---|
| committer | Rat <none@none> | 2010-04-10 10:20:01 +0200 |
| commit | 4a8bf5900dbd3fa9b7d9d71989d46dad8112fd7f (patch) | |
| tree | 5bc2a92e77da8a3c1a8d51f35a098cadcc3a3b25 /src/scripts/outland/hellfire_citadel | |
| parent | 8bb3b394957f8e3edeb00f68812a997e59bd56d3 (diff) | |
*modified spelldifficulty handler to work with all spell casts for creatures that are in instances thanks to Shauren for help
*modified most of the scripts to use normal_mode spell for casting (code was autogenerated, post errors if any)
*added sql for all modded spells (autogenerated..)
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/outland/hellfire_citadel')
5 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/outland/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp b/src/scripts/outland/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp index 78e409849c3..40ca316e2fd 100644 --- a/src/scripts/outland/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp +++ b/src/scripts/outland/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp @@ -201,7 +201,7 @@ struct boss_kelidan_the_breakerAI : public ScriptedAI { if (Firenova_Timer <= diff) { - DoCast(m_creature, DUNGEON_MODE(SPELL_FIRE_NOVA, H_SPELL_FIRE_NOVA), true); + DoCast(m_creature, SPELL_FIRE_NOVA, true); Firenova = false; ShadowVolley_Timer = 2000; } else Firenova_Timer -=diff; @@ -211,7 +211,7 @@ struct boss_kelidan_the_breakerAI : public ScriptedAI if (ShadowVolley_Timer <= diff) { - DoCast(m_creature, DUNGEON_MODE(SPELL_SHADOW_BOLT_VOLLEY, H_SPELL_SHADOW_BOLT_VOLLEY)); + DoCast(m_creature, SPELL_SHADOW_BOLT_VOLLEY); ShadowVolley_Timer = 5000+rand()%8000; } else ShadowVolley_Timer -=diff; @@ -326,7 +326,7 @@ struct mob_shadowmoon_channelerAI : public ScriptedAI if (ShadowBolt_Timer <= diff) { - DoCast(m_creature->getVictim(), DUNGEON_MODE(SPELL_SHADOW_BOLT, H_SPELL_SHADOW_BOLT)); + DoCast(m_creature->getVictim(), SPELL_SHADOW_BOLT); ShadowBolt_Timer = 5000+rand()%1000; } else ShadowBolt_Timer -=diff; diff --git a/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp b/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp index 4d46c402afc..03e5757b918 100644 --- a/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp +++ b/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp @@ -168,7 +168,7 @@ struct boss_omor_the_unscarredAI : public ScriptedAI if (Unit *pTarget = SelectUnit(SELECT_TARGET_RANDOM,0)) { - DoCast(pTarget, DUNGEON_MODE(SPELL_TREACHEROUS_AURA, H_SPELL_BANE_OF_TREACHERY)); + DoCast(pTarget, SPELL_TREACHEROUS_AURA); Aura_Timer = 8000+rand()%8000; } } else Aura_Timer -= diff; @@ -180,7 +180,7 @@ struct boss_omor_the_unscarredAI : public ScriptedAI if (pTarget) pTarget = m_creature->getVictim(); - DoCast(pTarget, DUNGEON_MODE(SPELL_SHADOW_BOLT, H_SPELL_SHADOW_BOLT)); + DoCast(pTarget, SPELL_SHADOW_BOLT); Shadowbolt_Timer = 4000+rand()%2500; } } else Shadowbolt_Timer -= diff; diff --git a/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_watchkeeper_gargolmar.cpp b/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_watchkeeper_gargolmar.cpp index 9ef707d011d..8d7b607a709 100644 --- a/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_watchkeeper_gargolmar.cpp +++ b/src/scripts/outland/hellfire_citadel/hellfire_ramparts/boss_watchkeeper_gargolmar.cpp @@ -104,7 +104,7 @@ struct boss_watchkeeper_gargolmarAI : public ScriptedAI if (MortalWound_Timer <= diff) { - DoCast(m_creature->getVictim(), DUNGEON_MODE(SPELL_MORTAL_WOUND, H_SPELL_MORTAL_WOUND)); + DoCast(m_creature->getVictim(), SPELL_MORTAL_WOUND); MortalWound_Timer = 5000+rand()%8000; } else MortalWound_Timer -= diff; diff --git a/src/scripts/outland/hellfire_citadel/shattered_halls/boss_nethekurse.cpp b/src/scripts/outland/hellfire_citadel/shattered_halls/boss_nethekurse.cpp index 52be2999952..3b41da6bfd9 100644 --- a/src/scripts/outland/hellfire_citadel/shattered_halls/boss_nethekurse.cpp +++ b/src/scripts/outland/hellfire_citadel/shattered_halls/boss_nethekurse.cpp @@ -253,7 +253,7 @@ struct boss_grand_warlock_nethekurseAI : public ScriptedAI if (Cleave_Timer <= diff) { - DoCast(m_creature->getVictim(), DUNGEON_MODE(SPELL_SHADOW_CLEAVE, H_SPELL_SHADOW_SLAM)); + DoCast(m_creature->getVictim(), SPELL_SHADOW_CLEAVE); Cleave_Timer = 6000+rand()%2500; } else Cleave_Timer -= diff; } diff --git a/src/scripts/outland/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp b/src/scripts/outland/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp index bed95b69d12..7417a9b46f6 100644 --- a/src/scripts/outland/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp +++ b/src/scripts/outland/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp @@ -344,7 +344,7 @@ struct boss_warbringer_omroggAI : public ScriptedAI if (BurningMaul_Timer <= diff) { DoScriptText(EMOTE_ENRAGE, m_creature); - DoCast(m_creature, DUNGEON_MODE(SPELL_BURNING_MAUL, H_SPELL_BURNING_MAUL)); + DoCast(m_creature, SPELL_BURNING_MAUL); BurningMaul_Timer = 40000; BlastWave_Timer = 16000; BlastCount = 1; |
