Advertisement
bucur35

Untitled

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