Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. auto(10000,15000)
  2. setlootingdestination("mainbp", getuseroption("MainBP"))
  3. setlootingdestination("lootbpp", getuseroption("LootBP"))
  4. setlootingdestination("goldbp", getuseroption("GoldBP"))
  5.  
  6.  
  7. setlootingdestination("maindpbp", getuseroption("MainDP"))
  8. setlootingdestination("stackdp", getuseroption("StackDP"))
  9. setlootingdestination("nonstackdp", getuseroption("LootDP"))
  10.  
  11.  
  12. local hptyp = getuseroption('HPpotki')
  13.  
  14. if (hptyp == "Strong Health Potion") then
  15. setsetting('PotionHealer/Rules/HP/Spell', 'Strong Health Potion')
  16. setsetting('Looting/LootList/health potion/Destination', 'lootbpp')
  17. setsetting('Looting/LootList/strong health potion/Destination', 'mainbp')
  18. setsetting('Supplies/Items/strong health potion/BuyPrice', '100')
  19. setsetting('Supplies/Items/health potion/BuyPrice', '0')
  20. else
  21. setsetting('PotionHealer/Rules/HP/Spell', 'Health Potion')
  22. setsetting('Looting/LootList/health potion/Destination', 'mainbp')
  23. setsetting('Looting/LootList/strong health potion/Destination', 'lootbpp')
  24. setsetting('Supplies/Items/strong health potion/BuyPrice', '0')
  25. setsetting('Supplies/Items/health potion/BuyPrice', '45')
  26. end
  27.  
  28.  
  29. if getuseroption("plateshield") then
  30. setsetting('Looting/LootList/plate shield/Action', 'Drop')
  31. else
  32. setsetting('Looting/LootList/plate shield/Action', 'Ignore')
  33. end
  34.  
  35. if getuseroption("sword") then
  36. setsetting('Looting/LootList/sword/Action', 'Drop')
  37. else
  38. setsetting('Looting/LootList/sword/Action', 'Ignore')
  39. end
  40.  
  41. if getuseroption("mace") then
  42. setsetting('Looting/LootList/mace/Action', 'Drop')
  43. else
  44. setsetting('Looting/LootList/mace/Action', 'Ignore')
  45. end
  46.  
  47. if getuseroption("brasshelmet") then
  48. setsetting('Looting/LootList/brass helmet/Action', 'Drop')
  49. else
  50. setsetting('Looting/LootList/brass helmet/Action', 'Ignore')
  51. end
  52.  
  53.  
  54. if getuseroption("brassarmor") then
  55. setsetting('Looting/LootList/brass armor/Action', 'Drop')
  56. else
  57. setsetting('Looting/LootList/brass armor/Action', 'Ignore')
  58. end
  59.  
  60. if getuseroption("doubleaxe") then
  61. setsetting('Looting/LootList/double axe/Action', 'Drop')
  62. else
  63. setsetting('Looting/LootList/double axe/Action', 'Ignore')
  64. end
  65.  
  66.  
  67. if getuseroption("chainarmor") then
  68. setsetting('Looting/LootList/chain armor/Action', 'Drop')
  69. else
  70. setsetting('Looting/LootList/chain armor/Action', 'Ignore')
  71. end
  72.  
  73. if getuseroption("battleshield") then
  74. setsetting('Looting/LootList/battle shield/Action', 'Drop')
  75. else
  76. setsetting('Looting/LootList/battle shield/Action', 'Ignore')
  77. end
  78.  
  79.  
  80. if getuseroption("bronzeamulet") then
  81. setsetting('Looting/LootList/bronze amulet/Action', 'Drop')
  82. else
  83. setsetting('Looting/LootList/bronze amulet/Action', 'Ignore')
  84. end
  85.  
  86.  
  87. if getuseroption("crossbow") then
  88. setsetting('Looting/LootList/crossbow/Action', 'Drop')
  89. else
  90. setsetting('Looting/LootList/crossbow/Action', 'Ignore')
  91. end
  92.  
  93.  
  94. if getuseroption("platelegs") then
  95. setsetting('Looting/LootList/plate legs/Action', 'Drop')
  96. else
  97. setsetting('Looting/LootList/plate legs/Action', 'Ignore')
  98. end
  99.  
  100.  
  101. if getuseroption("longsword") then
  102. setsetting('Looting/LootList/longsword/Action', 'Drop')
  103. else
  104. setsetting('Looting/LootList/longsword/Action', 'Ignore')
  105. end
  106.  
  107.  
  108. if getuseroption("steelshield") then
  109. setsetting('Looting/LootList/steel shield/Action', 'Drop')
  110. else
  111. setsetting('Looting/LootList/steel shield/Action', 'Ignore')
  112. end
  113.  
  114.  
  115. if getuseroption("powerbolt") then
  116. setsetting('Looting/LootList/power bolt/Action', 'Drop')
  117. else
  118. setsetting('Looting/LootList/power bolt/Action', 'Ignore')
  119. end
  120.  
  121.  
  122. if getuseroption("burstarrow") then
  123. setsetting('Looting/LootList/burst arrow/Action', 'Drop')
  124. else
  125. setsetting('Looting/LootList/burst arrow/Action', 'Ignore')
  126. end
  127.  
  128.  
  129. if getuseroption("piercingbolt") then
  130. setsetting('Looting/LootList/piercing bolt/Action', 'Drop')
  131. else
  132. setsetting('Looting/LootList/piercing bolt/Action', 'Ignore')
  133. end
  134.  
  135.  
  136. if getuseroption("bolt") then
  137. setsetting('Looting/LootList/bolt/Action', 'Drop')
  138. else
  139. setsetting('Looting/LootList/bolt/Action', 'Ignore')
  140. end
  141.  
  142.  
  143. if getuseroption("lootingstyle") then
  144. setsetting('Looting/LootingPolicy', 'Loot After Melee Kill')
  145. else
  146. setsetting('Looting/LootingPolicy', 'Loot After All Dead')
  147. end
  148.  
  149.  
  150. if getuseroption("quickmove") then
  151. setsetting('Looting/MoveItemsQuickly', 'yes')
  152. else
  153. setsetting('Looting/MoveItemsQuickly', 'no')
  154. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement