aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-03-05 21:24:14 +0100
committerKillyana <morphone1@gmail.com>2019-03-05 21:24:14 +0100
commit36c811eff358ac67f7ae8d3d630322aca6512ba4 (patch)
tree3302c32790b3d356b6af2f5abe7263d9c6d1feab
parent93072c8d1cf7c355e83498ee93550c77e54a66e1 (diff)
DB/Quest: A Mammoth Undertaking
Use the item to ride the Mammoth instead the spell click
-rw-r--r--sql/updates/world/3.3.5/2019_03_05_03_world.sql11
1 files changed, 11 insertions, 0 deletions
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);