DB/Spells: Move conditions for spell 'Gor'drek's Ointment' from item script to DB

This commit is contained in:
offl
2020-11-11 04:27:44 +02:00
parent 2af9c318c7
commit be6941cd0c
2 changed files with 5 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
--
UPDATE `item_template` SET `ScriptName` = "" WHERE `entry` = 30175;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` = 32578 AND `ConditionTypeOrReference` = 1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(17,0,32578,0,0,1,1,32578,0,0,1,173,0,"","Group 0: Spell 'Gor'drek's Ointment' can be used if target does not have aura 'Gor'drek's Ointment'");