Fix Script Naxxramas/Gothik

- fix spell of adds
- fix wave schedule to use correct entry

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-01-18 18:48:05 +01:00
parent 844c09fc61
commit faf845b6f2
3 changed files with 14 additions and 6 deletions
@@ -1,5 +0,0 @@
-- Usually creature_template changes MUST GO to TDB
-- creature_template spell1-spell8 are in the exceptions
UPDATE `creature_template` SET `spell8` = 27892 WHERE `entry` IN (16124, 29987);
UPDATE `creature_template` SET `spell8` = 27928 WHERE `entry` IN (16125, 29985);
UPDATE `creature_template` SET `spell8` = 27935 WHERE `entry` IN (16126, 29986);
@@ -0,0 +1,13 @@
-- Usually creature_template changes MUST GO to TDB
-- creature_template spell1-spell8 are in the exceptions
-- Unrelenting Trainee
UPDATE `creature_template` SET `spell1` = 55604, `spell8` = 27892 WHERE `entry` = 16124;
UPDATE `creature_template` SET `spell1` = 55645, `spell2` = 0, `spell8` = 27892 where `entry` = 29987;
-- Unrelenting Death Knight
UPDATE `creature_template` SET `spell1` = 27825, `spell8` = 27928 WHERE `entry` IN (16125, 29985);
-- Unrelenting Rider
UPDATE `creature_template` SET `spell1` = 27831, `spell2` = 55606, `spell8` = 27935 where `entry` = 16126;
UPDATE `creature_template` SET `spell1` = 55638, `spell2` = 55608, `spell8` = 27935 where `entry` = 29986;
@@ -375,8 +375,8 @@ struct TRINITY_DLL_DECL boss_gothikAI : public BossAI
} }
} }
++waveCount;
events.ScheduleEvent(EVENT_SUMMON, waves[waveCount].time); events.ScheduleEvent(EVENT_SUMMON, waves[waveCount].time);
++waveCount;
} }
else else
{ {