From 4a662071aa6902c9a6790c8d485b66040ae979a2 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 8 Jun 2009 23:44:53 -0500 Subject: *Fix dk quest until 12727. Some scripts are needed for quest 12727. --HG-- branch : trunk --- sql/updates/3873_world_spell_(dk).sql | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sql/updates/3873_world_spell_(dk).sql (limited to 'sql/updates') diff --git a/sql/updates/3873_world_spell_(dk).sql b/sql/updates/3873_world_spell_(dk).sql new file mode 100644 index 00000000000..09d130a4f6b --- /dev/null +++ b/sql/updates/3873_world_spell_(dk).sql @@ -0,0 +1,25 @@ + +replace into creature_questrelation (id,quest) VALUES (28377,12701); +replace into creature_involvedrelation (id,quest) VALUES (28377,12701); +replace into creature_involvedrelation (id,quest) VALUES (28914,12723); +replace into creature_questrelation (id,quest) VALUES (28914,12724); +replace into creature_involvedrelation (id,quest) VALUES (28914,12724); +replace into creature_questrelation (id,quest) VALUES (28913,12725); +replace into creature_involvedrelation (id,quest) VALUES (28912,12725); +replace into creature_questrelation (id,quest) VALUES (28912,12727); +replace into creature_involvedrelation (id,quest) VALUES (28913,12727); + + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (28833,28887); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_id`, `quest_status`, `cast_flags`) VALUES +(28833, 52447, 12701, 3, 3), +(28887, 52447, 12701, 3, 3); + +UPDATE creature_template SET spell1=52435,spell2=52576,spell5=52588,VehicleId=68,speed=0 WHERE entry IN (28833,28887); +UPDATE creature_template SET spell1=52211 WHERE entry=28864; + +DELETE FROM `spell_script_target` WHERE entry IN +(52576); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +(52576,1,28834), +(52576,1,28886); -- cgit v1.2.3