DB/Quest: A Mammoth Undertaking

Use the item to ride the Mammoth instead the spell click

(cherry picked from commit 36c811eff3)
This commit is contained in:
Killyana
2019-03-05 21:24:14 +01:00
committed by Shauren
parent f9f4d69947
commit f34c515ec8

View File

@@ -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);