From e7cf24d2630058128e556b7d5bbb36f4a810695f Mon Sep 17 00:00:00 2001 From: Wyrserth Date: Wed, 17 Jul 2019 19:32:07 +0200 Subject: Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit for Death) from ItemScript to SpellScript. Closes #21890. --- sql/updates/world/3.3.5/2019_07_17_02_world.sql | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sql/updates/world/3.3.5/2019_07_17_02_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2019_07_17_02_world.sql b/sql/updates/world/3.3.5/2019_07_17_02_world.sql new file mode 100644 index 00000000000..f572b1d3835 --- /dev/null +++ b/sql/updates/world/3.3.5/2019_07_17_02_world.sql @@ -0,0 +1,23 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=46085; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 46085, 0, 0, 30, 0, 187982, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 1, 30, 0, 187995, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 2, 30, 0, 187996, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 3, 30, 0, 187997, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 4, 30, 0, 187998, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 5, 30, 0, 187999, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 6, 30, 0, 188000, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 7, 30, 0, 188001, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 8, 30, 0, 188002, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 9, 30, 0, 188003, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 10, 30, 0, 188004, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 11, 30, 0, 188005, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 12, 30, 0, 188006, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 13, 30, 0, 188007, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"), +(17, 0, 46085, 0, 14, 30, 0, 188008, 2, 0, 0, 0, 0, "", "Place Fake Fur can only be cast within 2 yards of Caribou Trap"); + +UPDATE `item_template` SET `ScriptName`="" WHERE `entry`=35127; +DELETE FROM `spell_script_names` WHERE `ScriptName`="spell_q11865_place_fake_fur"; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(46085, "spell_q11865_place_fake_fur"); -- cgit v1.2.3