aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-02-27 16:41:44 +0100
committerTrazom62 <none@none>2010-02-27 16:41:44 +0100
commit6146c337327788460661a42a0f536c2ebb592582 (patch)
tree86f37615b3b0942dee48026a99f280e5dbb097a3 /sql
parentd9056adc8acd4915100f24af66f803bca897a80b (diff)
Fix Script Naxxramas/Kel Thusad. Thanks Ille.
Fixes issue 650. Fixes issue 659. Fixes issue 809. Thanks PrinceCreed. script changes - added spawnpoints and spawn creatures in corners * they react defensive, otherwise they assist the minions kelthuzad spawns - added functionality to area trigger * fight begins when player enters green circle - added functionality to kelthuzad trigger * trigger is activated when player enters green circle * trigger disappears after 5s - added functionality to window portals * at 45% portals open to let guardians in - chained can be 3 at once - added spells to chained * for every class two spells - changed timers on enter combat - set combat reach to 2 for guardians - Fix emote when enter combat and when enter phase 2. NOTE: some db updates may still be necessary to have better locations of portals and EventAI updates. For more info, see sql in attachment of #659 and http://trinitydatabase.org/index.php?/topic/14304-boss-naxxramas-kelthuzad on tdb forum. --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/FULL/world_scripts_full.sql3
-rw-r--r--sql/updates/7446_world_areatrigger_scripts.sql3
2 files changed, 6 insertions, 0 deletions
diff --git a/sql/FULL/world_scripts_full.sql b/sql/FULL/world_scripts_full.sql
index 61f5b699de5..d58912b82f1 100644
--- a/sql/FULL/world_scripts_full.sql
+++ b/sql/FULL/world_scripts_full.sql
@@ -878,6 +878,9 @@ UPDATE `creature_template` SET `ScriptName`='boss_kelthuzad' WHERE `entry`=15990
UPDATE `creature_template` SET `ScriptName`='' WHERE `entry` IN (16062,30000);
UPDATE `creature_template` SET `ScriptName`='trigger_periodic' WHERE `entry` IN (16474,16697,16129);
+DELETE FROM `areatrigger_scripts` WHERE `entry`=4112;
+INSERT INTO `areatrigger_scripts`(`entry`,`ScriptName`) VALUES(4112,'at_kelthuzad_center');
+
/* NETHERSTORM */
UPDATE `gameobject_template` SET `ScriptName`='go_manaforge_control_console' WHERE `entry` IN (183770,183956,184311,184312);
UPDATE `creature_template` SET `ScriptName`='npc_manaforge_control_console' WHERE `entry` IN (20209,20417,20418,20440);
diff --git a/sql/updates/7446_world_areatrigger_scripts.sql b/sql/updates/7446_world_areatrigger_scripts.sql
new file mode 100644
index 00000000000..8b57a8467fc
--- /dev/null
+++ b/sql/updates/7446_world_areatrigger_scripts.sql
@@ -0,0 +1,3 @@
+-- areatrigger for Kelthuzads chamber center
+DELETE FROM `areatrigger_scripts` WHERE `entry`=4112;
+INSERT INTO `areatrigger_scripts`(`entry`,`ScriptName`) VALUES(4112,'at_kelthuzad_center'); \ No newline at end of file