diff options
author | Rat <none@none> | 2010-04-09 10:57:42 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-04-09 10:57:42 +0200 |
commit | 4bd2379c6f1e176466ba581d1439eee8feabe0da (patch) | |
tree | 4e31f668f08b95df966e12d0d572b096d9aaca16 | |
parent | cbbe587817f9d635338c1efc309418a9a6575d76 (diff) |
*add example difficulty spells for magus telestra
--HG--
branch : trunk
-rw-r--r-- | sql/updates/7816_world_spelldifficulty_dbc.sql | 5 | ||||
-rw-r--r-- | src/scripts/northrend/nexus/nexus/boss_magus_telestra.cpp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sql/updates/7816_world_spelldifficulty_dbc.sql b/sql/updates/7816_world_spelldifficulty_dbc.sql new file mode 100644 index 00000000000..b069babc42c --- /dev/null +++ b/sql/updates/7816_world_spelldifficulty_dbc.sql @@ -0,0 +1,5 @@ +-- Add examples for spell difficulties +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (3000,3001); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`) VALUES +(3000, 47772, 56935, 0, 0), +(3001, 47773, 56934, 0, 0); diff --git a/src/scripts/northrend/nexus/nexus/boss_magus_telestra.cpp b/src/scripts/northrend/nexus/nexus/boss_magus_telestra.cpp index 6728c01b3c0..2adecea35d0 100644 --- a/src/scripts/northrend/nexus/nexus/boss_magus_telestra.cpp +++ b/src/scripts/northrend/nexus/nexus/boss_magus_telestra.cpp @@ -281,7 +281,7 @@ struct boss_magus_telestraAI : public ScriptedAI { if (Unit *pTarget = SelectUnit(SELECT_TARGET_RANDOM, 0)) { - DoCast(pTarget, DUNGEON_MODE(SPELL_ICE_NOVA, H_SPELL_ICE_NOVA)); + DoCast(pTarget, SPELL_ICE_NOVA, false, true); uiCooldown = 1.5*IN_MILISECONDS; } uiIceNovaTimer = 15*IN_MILISECONDS; @@ -301,7 +301,7 @@ struct boss_magus_telestraAI : public ScriptedAI { if (Unit *pTarget = SelectUnit(SELECT_TARGET_RANDOM, 0)) { - DoCast(pTarget, DUNGEON_MODE(SPELL_FIREBOMB, H_SPELL_FIREBOMB)); + DoCast(pTarget, SPELL_FIREBOMB, false, true); uiCooldown = 2*IN_MILISECONDS; } uiFireBombTimer = 2*IN_MILISECONDS; |