diff options
| author | megamage <none@none> | 2009-05-20 11:44:38 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-20 11:44:38 -0500 |
| commit | 6473e943581439f57918abfa91a4d5a29e2f343c (patch) | |
| tree | 01b7419dcc1ac0444375d11b22cd55d72897854a /sql | |
| parent | d1d194b4c78aec34d65a15ea68acff5c3a48687c (diff) | |
*Update Naxx scripts. Now only Kelthuzad is incompleted
--HG--
branch : trunk
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/3233_world_scripts_naxx.sql | 46 | ||||
| -rw-r--r-- | sql/updates/3427_world_scripts_(naxx).sql | 113 | ||||
| -rw-r--r-- | sql/world_scripts_full.sql | 7 |
3 files changed, 143 insertions, 23 deletions
diff --git a/sql/updates/3233_world_scripts_naxx.sql b/sql/updates/3233_world_scripts_naxx.sql index 230ca99b867..bb437c29669 100644 --- a/sql/updates/3233_world_scripts_naxx.sql +++ b/sql/updates/3233_world_scripts_naxx.sql @@ -1,4 +1,11 @@ -DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-28169,28732,54097); +UPDATE `creature_template` SET `ScriptName`='mob_webwrap' WHERE `entry`=16486; +UPDATE `creature_template` SET `ScriptName`='boss_grobbulus' WHERE entry = 15931; +UPDATE `creature_template` SET `ScriptName`='mob_gothik_minion' WHERE entry IN (16124,16125,16126,16127,16148,16149,16150); +UPDATE `creature_template` SET `ScriptName`='boss_four_horsemen' WHERE `entry` IN (16063,16064,16065,30549); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN +(28732,54097,-29865,-55053,-28169,28059,39088,-28059,-39088,28062,39090,28084, +39091,-28084,-39091,28085,39093); INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ( 28732,-28798, 1, 'Widow\'s Embrace - Frenzy'), ( 54097,-54100, 1, 'Widow\'s Embrace - Frenzy (H)'), @@ -7,36 +14,35 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comm (-28169, 28206, 0, 'Mutating Injection - Mutagen Explosion'), (-28169, 28240, 0, 'Mutating Injection - Poison Cloud'), ( 28059,-28084, 1, 'Positive Charge - Negative Charge'), -( 39088,-39091, 1, 'Positive Charge - Negative Charge'), (-28059,-29659, 0, 'Positive Charge'), -(-39088,-29659, 0, 'Positive Charge'), -( 28062,-29659, 0, 'Positive Charge'), -( 39090,-29659, 0, 'Positive Charge'), +# ( 28062,-29659, 0, 'Positive Charge'), ( 28084,-28059, 1, 'Negative Charge - Positive Charge'), -( 39091,-39088, 1, 'Negative Charge - Positive Charge'), (-28084,-29660, 0, 'Negative Charge'), -(-39091,-29660, 0, 'Negative Charge'), -( 28085,-29660, 0, 'Negative Charge'), -( 39093,-29660, 0, 'Negative Charge'); - - -UPDATE creature_template SET scriptname = 'boss_grobbulus' WHERE entry = 15931; -update creature_template set scriptname='mob_gothik_minion' where entry in (16124,16125,16126,16127,16148,16149,16150); +# ( 28085,-29660, 0, 'Negative Charge'), +( 39088,-39091, 1, 'Positive Charge - Negative Charge'), +(-39088,-29659, 0, 'Positive Charge'), +# ( 39090,-29659, 0, 'Positive Charge'), +( 39091,-39088, 1, 'Negative Charge - Positive Charge'), +(-39091,-39092, 0, 'Negative Charge'); +# ( 39093,-39092, 0, 'Negative Charge'); INSERT INTO creature_template (entry, spell1, flags_extra, scriptname) VALUES (16363, 28158, 128, ''), # Grobbulus Cloud -(29379, 54362, 128, '') # Grobbulus Cloud (H) +(29379, 54362, 128, ''), # Grobbulus Cloud (H) +(16697, 28158, 128, ''), # Void Zone +(29379, 54362, 128, '') # Void Zone (H) ON DUPLICATE KEY UPDATE spell1 = VALUES(spell1), flags_extra = VALUES(flags_extra), scriptname = VALUES(scriptname); -INSERT INTO creature_template (entry, spell1, spell2, flags_extra, scriptname) VALUES -(16474, 28547, 0, 128, 'trigger_periodic'), # Blizzard (Sapphiron) -(30000, 55699, 0, 128, 'trigger_periodic') # Blizzard (Sapphiron) (H) +INSERT INTO creature_template (entry, baseattacktime, spell1, flags_extra, scriptname) VALUES +(16474, 1000, 28547, 128, 'trigger_periodic'), # Blizzard (Sapphiron) +(30000, 1000, 55699, 128, 'trigger_periodic'), # Blizzard (Sapphiron) (H) +(16697, 1000, 28865, 128, 'trigger_periodic') # Void Zone (Lady Blaumeux) ON DUPLICATE KEY UPDATE +baseattacktime = VALUES(baseattacktime), spell1 = VALUES(spell1), -spell2 = VALUES(spell2), flags_extra = VALUES(flags_extra), scriptname = VALUES(scriptname); @@ -64,6 +70,10 @@ INSERT INTO creature_template (entry, spell1, spell2, spell3, spell4, spell5, sp (29256, 15284, 28991, 56098, 34970, 0, 0, 0, 28864), # Crypt Guard (H) (16506, 54095, 0, 0, 0, 0, 0, 0, 28732), # Naxxramas Worshipper (29274, 54096, 0, 0, 0, 0, 0, 0, 54097), # Naxxramas Worshipper (H) +(17055, 54121, 0, 0, 0, 0, 0, 0, 0), # Maexxna Spiderling +(29279, 28776, 0, 0, 0, 0, 0, 0, 0), # Maexxna Spiderling (H) +(16486, 28622, 0, 0, 0, 0, 0, 0, 0), # Web Wrap +(30183, 28622, 0, 0, 0, 0, 0, 0, 0), # Web Wrap (H) (16984, 15496, 0, 0, 0, 0, 0, 0, 0), # Plagued Warrior (29632, 15496, 0, 0, 0, 0, 0, 0, 0), # Plagued Warrior (H) (16983, 32736, 30138, 0, 0, 0, 0, 0, 0), # Plagued Champion diff --git a/sql/updates/3427_world_scripts_(naxx).sql b/sql/updates/3427_world_scripts_(naxx).sql new file mode 100644 index 00000000000..bb437c29669 --- /dev/null +++ b/sql/updates/3427_world_scripts_(naxx).sql @@ -0,0 +1,113 @@ +UPDATE `creature_template` SET `ScriptName`='mob_webwrap' WHERE `entry`=16486; +UPDATE `creature_template` SET `ScriptName`='boss_grobbulus' WHERE entry = 15931; +UPDATE `creature_template` SET `ScriptName`='mob_gothik_minion' WHERE entry IN (16124,16125,16126,16127,16148,16149,16150); +UPDATE `creature_template` SET `ScriptName`='boss_four_horsemen' WHERE `entry` IN (16063,16064,16065,30549); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN +(28732,54097,-29865,-55053,-28169,28059,39088,-28059,-39088,28062,39090,28084, +39091,-28084,-39091,28085,39093); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +( 28732,-28798, 1, 'Widow\'s Embrace - Frenzy'), +( 54097,-54100, 1, 'Widow\'s Embrace - Frenzy (H)'), +(-29865, 55594, 0, 'Deathbloom'), +(-55053, 55601, 0, 'Deathbloom (H)'), +(-28169, 28206, 0, 'Mutating Injection - Mutagen Explosion'), +(-28169, 28240, 0, 'Mutating Injection - Poison Cloud'), +( 28059,-28084, 1, 'Positive Charge - Negative Charge'), +(-28059,-29659, 0, 'Positive Charge'), +# ( 28062,-29659, 0, 'Positive Charge'), +( 28084,-28059, 1, 'Negative Charge - Positive Charge'), +(-28084,-29660, 0, 'Negative Charge'), +# ( 28085,-29660, 0, 'Negative Charge'), +( 39088,-39091, 1, 'Positive Charge - Negative Charge'), +(-39088,-29659, 0, 'Positive Charge'), +# ( 39090,-29659, 0, 'Positive Charge'), +( 39091,-39088, 1, 'Negative Charge - Positive Charge'), +(-39091,-39092, 0, 'Negative Charge'); +# ( 39093,-39092, 0, 'Negative Charge'); + +INSERT INTO creature_template (entry, spell1, flags_extra, scriptname) VALUES +(16363, 28158, 128, ''), # Grobbulus Cloud +(29379, 54362, 128, ''), # Grobbulus Cloud (H) +(16697, 28158, 128, ''), # Void Zone +(29379, 54362, 128, '') # Void Zone (H) +ON DUPLICATE KEY UPDATE +spell1 = VALUES(spell1), +flags_extra = VALUES(flags_extra), +scriptname = VALUES(scriptname); + +INSERT INTO creature_template (entry, baseattacktime, spell1, flags_extra, scriptname) VALUES +(16474, 1000, 28547, 128, 'trigger_periodic'), # Blizzard (Sapphiron) +(30000, 1000, 55699, 128, 'trigger_periodic'), # Blizzard (Sapphiron) (H) +(16697, 1000, 28865, 128, 'trigger_periodic') # Void Zone (Lady Blaumeux) +ON DUPLICATE KEY UPDATE +baseattacktime = VALUES(baseattacktime), +spell1 = VALUES(spell1), +flags_extra = VALUES(flags_extra), +scriptname = VALUES(scriptname); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (29912); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_id`, `cast_flags`) VALUES +(29912, 55479, 0, 1); # Obedience Crystal - Force Obedience + +DELETE FROM `spell_script_target` WHERE `entry` IN +(28732,54097,55479, +27892,27893,27928,27929,27935,27936); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +(28732, 1, 15953), # Widow's Embrace +(54097, 1, 15953), # Widow's Embrace +(55479, 1, 16803), # Force Obedience - Death Knight Understudy +# (29105, 1, 16803), # Hopeless - Death Knight Understudy +(27892, 1, 16060), # To Anchor 1 - Gothik +(27893, 1, 16060), # To Anchor 2 - Gothik +(27928, 1, 16060), # To Anchor 1 - Gothik +(27929, 1, 16060), # To Anchor 2 - Gothik +(27935, 1, 16060), # To Anchor 1 - Gothik +(27936, 1, 16060); # To Anchor 2 - Gothik + +INSERT INTO creature_template (entry, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8) VALUES +(16573, 15284, 28991, 28969, 34970, 0, 0, 0, 28864), # Crypt Guard +(29256, 15284, 28991, 56098, 34970, 0, 0, 0, 28864), # Crypt Guard (H) +(16506, 54095, 0, 0, 0, 0, 0, 0, 28732), # Naxxramas Worshipper +(29274, 54096, 0, 0, 0, 0, 0, 0, 54097), # Naxxramas Worshipper (H) +(17055, 54121, 0, 0, 0, 0, 0, 0, 0), # Maexxna Spiderling +(29279, 28776, 0, 0, 0, 0, 0, 0, 0), # Maexxna Spiderling (H) +(16486, 28622, 0, 0, 0, 0, 0, 0, 0), # Web Wrap +(30183, 28622, 0, 0, 0, 0, 0, 0, 0), # Web Wrap (H) +(16984, 15496, 0, 0, 0, 0, 0, 0, 0), # Plagued Warrior +(29632, 15496, 0, 0, 0, 0, 0, 0, 0), # Plagued Warrior (H) +(16983, 32736, 30138, 0, 0, 0, 0, 0, 0), # Plagued Champion +(29632, 32736, 54889, 0, 0, 0, 0, 0, 0), # Plagued Champion (H) +(16981, 15496, 54890, 0, 0, 0, 0, 0, 0), # Plagued Guardian +(29632, 15496, 54891, 0, 0, 0, 0, 0, 0), # Plagued Guardian (H) +(16286, 0, 0, 0, 0, 0, 0, 0, 29232), # Spore +(30068, 0, 0, 0, 0, 0, 0, 0, 29232), # Spore (H) +(16290, 28156, 0, 0, 0, 0, 0, 0, 0), # Fallout Slime +(29388, 54367, 0, 0, 0, 0, 0, 0, 0), # Fallout Slime (H) +(16360, 29307, 0, 0, 0, 0, 0, 0, 0), # Zombie Chow +(30303, 29307, 0, 0, 0, 0, 0, 0, 0), # Zombie Chow (H) +(16803, 0, 0, 0, 61696, 29060, 29061, 0, 0), # Death Knight Understudy +(29941, 0, 0, 0, 61696, 29060, 29061, 0, 0), # Death Knight Understudy (H) +(16124, 55604, 0, 0, 0, 0, 0, 0, 27892), # Unrelenting Trainee +(16125, 27825, 0, 0, 0, 0, 0, 0, 27928), # Unrelenting Death Knight +(16126, 27831, 55606, 0, 0, 0, 0, 0, 27935), # Unrelenting Rider +(16127, 27989, 0, 0, 0, 0, 0, 0, 0), # Spectral Trainee +(16148, 56408, 0, 0, 0, 0, 0, 0, 0), # Spectral Death Knight +(16150, 27994, 55648, 55606, 0, 0, 0, 0, 0), # Spectral Rider +(16149, 27993, 0, 0, 0, 0, 0, 0, 0), # Spectral Horse +(29985, 55645, 0, 0, 0, 0, 0, 0, 27892), # Unrelenting Trainee (H) +(29986, 27825, 0, 0, 0, 0, 0, 0, 27928), # Unrelenting Death Knight (H) +(29987, 55638, 55608, 0, 0, 0, 0, 0, 27935), # Unrelenting Rider (H) +(30264, 56407, 0, 0, 0, 0, 0, 0, 0), # Spectral Trainee (H) +(29990, 56408, 0, 0, 0, 0, 0, 0, 0), # Spectral Death Knight (H) +(29988, 55646, 27995, 55608, 0, 0, 0, 0, 0), # Spectral Rider (H) +(29989, 27993, 0, 0, 0, 0, 0, 0, 0) # Spectral Horse (H) +ON DUPLICATE KEY UPDATE +spell1 = VALUES(spell1), +spell2 = VALUES(spell2), +spell3 = VALUES(spell3), +spell4 = VALUES(spell4), +spell5 = VALUES(spell5), +spell6 = VALUES(spell6), +spell7 = VALUES(spell7), +spell8 = VALUES(spell8);
\ No newline at end of file diff --git a/sql/world_scripts_full.sql b/sql/world_scripts_full.sql index d1e975e5b96..61237a2a95a 100644 --- a/sql/world_scripts_full.sql +++ b/sql/world_scripts_full.sql @@ -644,15 +644,14 @@ UPDATE `instance_template` SET `script`='instance_naxxramas' WHERE `map`=533; UPDATE `creature_template` SET `ScriptName`='boss_anubrekhan' WHERE `entry`=15956; UPDATE `creature_template` SET `ScriptName`='boss_faerlina' WHERE `entry`=15953; UPDATE `creature_template` SET `ScriptName`='boss_maexxna' WHERE `entry`=15952; +UPDATE `creature_template` SET `ScriptName`='mob_webwrap' WHERE `entry`=16486; UPDATE `creature_template` SET `ScriptName`='boss_noth' WHERE `entry`=15954; UPDATE `creature_template` SET `ScriptName`='boss_heigan' WHERE `entry`=15936; UPDATE `creature_template` SET `ScriptName`='boss_loatheb' WHERE `entry`=16011; UPDATE `creature_template` SET `ScriptName`='boss_razuvious' WHERE `entry`=16061; UPDATE `creature_template` SET `ScriptName`='boss_gothik' WHERE `entry`=16060; UPDATE `creature_template` SET `ScriptName`='mob_gothik_minion' where `entry` IN (16124,16125,16126,16127,16148,16149,16150); -UPDATE `creature_template` SET `ScriptName`='boss_thane_korthazz' WHERE `entry`=16064; -UPDATE `creature_template` SET `ScriptName`='boss_sir_zeliek' WHERE `entry`=16063; -UPDATE `creature_template` SET `ScriptName`='boss_lady_blaumeux' WHERE `entry`=16065; +UPDATE `creature_template` SET `ScriptName`='boss_four_horsemen' WHERE `entry` IN (16063,16064,16065,30549); UPDATE `creature_template` SET `ScriptName`='boss_patchwerk' WHERE `entry`=16028; UPDATE `creature_template` SET `ScriptName`='boss_grobbulus' WHERE `entry`=15931; UPDATE `creature_template` SET `ScriptName`='boss_gluth' WHERE `entry`=15932; @@ -662,8 +661,6 @@ UPDATE `creature_template` SET `ScriptName`='boss_fugen' WHERE `entry`=15930; UPDATE `creature_template` SET `ScriptName`='boss_sapphiron' WHERE `entry`=15989; UPDATE `creature_template` SET `ScriptName`='boss_kelthuzad' WHERE `entry`=15990; UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=16062; -UPDATE `creature_template` SET `ScriptName`='boss_rivendare_naxx' WHERE `entry`=30549; -UPDATE `creature_template` SET `ScriptName`='mob_webwrap' WHERE `entry`=16486; /* NETHERSTORM */ UPDATE `gameobject_template` SET `ScriptName`='go_manaforge_control_console' WHERE `entry` IN (183770,183956,184311,184312); |
