From 36c811eff358ac67f7ae8d3d630322aca6512ba4 Mon Sep 17 00:00:00 2001 From: Killyana Date: Tue, 5 Mar 2019 21:24:14 +0100 Subject: DB/Quest: A Mammoth Undertaking Use the item to ride the Mammoth instead the spell click --- sql/updates/world/3.3.5/2019_03_05_03_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/3.3.5/2019_03_05_03_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2019_03_05_03_world.sql b/sql/updates/world/3.3.5/2019_03_05_03_world.sql new file mode 100644 index 00000000000..25af5033b88 --- /dev/null +++ b/sql/updates/world/3.3.5/2019_03_05_03_world.sql @@ -0,0 +1,11 @@ +-- +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=28379; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=28379 AND `SourceEntry`=51658; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=51659; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 51659, 0, 0, 31, 1, 3, 28379, 0, 0, 0, 0, '', ''), +(17, 0, 51659, 0, 0, 9, 0, 12607, 0, 0, 0, 0, 0, '', ''); + +DELETE FROM `spell_scripts` WHERE `id`=51659; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(51659,0,0,15,51658,0,0,0,0,0,0); -- cgit v1.2.3