Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.75 KB | None | 0 0
  1. -- Quest 12805 "Salvaging Life's Strength"
  2. -- Add condition for Item 40397 "Lifeblood Gem" to only target Lifeblood Elemental 29124 (dead)
  3. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceEntry`=40397;
  4. INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  5. (18,0,40397,0,24,2,29124,0,63,'','Item 40397 Lifeblood Gem targets Lifeblood Elemental 29124 (dead)');
  6. -- Spell Script
  7. DELETE FROM `spell_scripts` WHERE `id` IN (54190);
  8. INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`) VALUES
  9. (54190,0,0,8,29303,0,0),
  10. (54190,0,1,18,0,0,0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement