Advertisement
bucur35

Untitled

Jan 15th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.75 KB | None | 0 0
  1. -- "Ignition"
  2.  
  3. UPDATE `creature_template` SET `questItem1`=62705 WHERE  `entry`=47032;
  4.  
  5. DELETE FROM `creature_loot_template` WHERE  `entry`=47032 AND `item`=62705;
  6. INSERT INTO `creature_loot_template` (`entry`,  `item`,  `ChanceOrQuestChance`,  `lootmode`,  `groupid`,  `mincountOrRef`,  `maxcount`) VALUES
  7. (47032, 62705, 100, 1, 0, 1, 1);
  8.  
  9. DELETE FROM `conditions` WHERE `SourceGroup`=47032;
  10. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  11. (1, 47032, 62705, 0, 0, 9, 0, 27903, 0, 0, 0, 0, '', 'show loot if player has quest');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement