guruflex

Untitled

Sep 7th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. # SK DiabloDrops by GuruFlex
  2. # Version 0.1
  3. options:
  4.  
  5.  
  6. #--------------#
  7. # Commands #
  8. #--------------#
  9. playerCommand1: &6/tome &f- &eDrops a identity tome at your feet .
  10. playerCommand2: &6/tome tomechance (%) &f- &eSets your tome drop Chance.
  11. playerCommand3: &6/tome unidentifieditem (%) &f- &eSets your unidentified item drop Chance.
  12. playerCommand4: &6/tome identifieditem (%) &f- &eSets your identified item drop Chance.
  13. #--------------#
  14. # Chance #
  15. #--------------#
  16. {identityTomeChance}: 40
  17. {unidentifiedItemChance}: 50
  18. {identifiedItemChance}: 30
  19.  
  20. variables:
  21. {prefix::9} = "&aAcrobat's"
  22. {prefix::8} = "&bAmber"
  23. {prefix::7} = "&cAngel's"
  24. {prefix::6} = "&dArcadian"
  25. {prefix::5} = "&aBlazing"
  26. {prefix::4} = "&bBlessed"
  27. {prefix::3} = "&aBronze"
  28. {prefix::2} = "&aCaptain's"
  29. {prefix::1} = "&dChilling"
  30. {prefix::29} = "&eBrutal"
  31. {prefix::28} = "&9Burgundy"
  32. {prefix::27} = "&cBurning"
  33. {prefix::26} = "&aCelestial"
  34. {prefix::25} = "&cChromatic"
  35. {prefix::24} = "&dFaithful"
  36. {prefix::23} = "&bExpert's"
  37. {prefix::22} = "&9Fanatic"
  38. {prefix::21} = "&6Fool's"
  39. {prefix::19} = "&dFreezing"
  40. {prefix::18} = "&dGlacial"
  41. {prefix::17} = "&cGrinding"
  42. {prefix::16} = "&bGreat Wyrm's"
  43. {prefix::15} = "&aHawkeye"
  44. {prefix::14} = "&6Holy"
  45. {prefix::13} = "&9Jade"
  46. {prefix::12} = "&aKeeper's"
  47. {prefix::11} = "&dKenshi's"
  48. {prefix::20} = "&cKing's"
  49. {prefix::10} = "&bNature's"
  50. {suffix::9} = "&eLuck"
  51. {suffix::8} = "&9Nirvana"
  52. {suffix::7} = "&bPerformance"
  53. {suffix::6} = "&aShock"
  54. {suffix::5} = "&9Skill"
  55. {suffix::4} = "&3Storms"
  56. {suffix::3} = "&5Wraith"
  57. {suffix::2} = "&9Quickness"
  58. {suffix::1} = "&aReadiness"
  59. {suffix::29} = "&aBlight"
  60. {suffix::28} = "&6Brilliance"
  61. {suffix::27} = "&9Chance"
  62. {suffix::26} = "&dDexterity"
  63. {suffix::25} = "&cEnergy"
  64. {suffix::24} = "&aEnlightenment"
  65. {suffix::23} = "&bGiant"
  66. {suffix::22} = "&eHaste"
  67. {suffix::21} = "&cHealth"
  68. {suffix::19} = "&9Jackal"
  69. {suffix::18} = "&bLeech"
  70. {suffix::17} = "&aMemory"
  71. {suffix::16} = "&6Might"
  72. {suffix::15} = "&9Titan"
  73. {suffix::14} = "&eVampire"
  74. {suffix::13} = "&aVenom"
  75. {suffix::12} = "&eWealth"
  76. {suffix::11} = "&dWolf"
  77. {suffix::20} = "&cTiger"
  78. {suffix::10} = "&bSwords"
  79.  
  80.  
  81.  
  82.  
  83. #-----------#
  84. # Commands #
  85. #-----------#
  86.  
  87.  
  88. command /identitytome [<text>] [<text>]:
  89. permission: DiabloDrops.admin
  90. permission message: &b&lYou can not use this &b&l command!
  91. description: identity tome
  92. aliases: tome
  93. usage: /identitytome [args..]
  94. trigger:
  95. if arg 1 is "help":
  96. message "&aDiabloDrops {@playerCommand1}"
  97. message "&aDiabloDrops {@playerCommand2}"
  98. message "&aDiabloDrops {@playerCommand3}"
  99. message "&aDiabloDrops {@playerCommand4}"
  100. stop
  101. if arg 1 is "tomechance":
  102. set {identityTomeChance} to arg 2
  103. stop
  104. if arg 1 is "unidentifieditem":
  105. set {unidentifiedItemChance} to arg 2
  106. stop
  107. if arg 1 is "identifieditem":
  108. set {identifiedItemChance} to arg 2
  109. stop
  110. else:
  111. drop a Written Book named "&dIdentity Tome" at player
  112.  
  113.  
  114. #-----------#
  115. # Axes #
  116. #-----------#
  117.  
  118.  
  119. on death:
  120. victim is not a player:
  121. set {_tool} to bow, sword, or axe
  122. chance of {identifiedItemChance}%:
  123. drop {_tool} named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " at victim
  124. chance of {unidentifiedItemChance}%:
  125. drop {_tool} named "&k12345678" at victim
  126. chance of {identityTomeChance}%:
  127. drop Written Book named "&dIdentity Tome" at victim
  128.  
  129.  
  130. #-----------#
  131. # Axes #
  132. #-----------#
  133.  
  134. on rightclick with Written Book:
  135. if the player is holding a Written Book named "&dIdentity Tome":
  136. cancel event
  137. remove 1 Written Book named "&dIdentity Tome" from player
  138.  
  139. #-----------#
  140. # Swords #
  141. #-----------#
  142. if player has a diamond sword named "&k12345678":
  143. remove 1 diamond Sword named "&k12345678" from player
  144. give diamond Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  145. stop
  146. if player has a gold sword named "&k12345678":
  147. remove 1 gold Sword named "&k12345678" from player
  148. give gold Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  149. stop
  150. if player has a iron sword named "&k12345678":
  151. remove 1 iron Sword named "&k12345678" from player
  152. give iron Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  153. stop
  154. if player has a stone sword named "&k12345678":
  155. remove 1 stone Sword named "&k12345678" from player
  156. give stone Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  157. stop
  158. if player has a wood sword named "&k12345678":
  159. remove 1 wood Sword named "&k12345678" from player
  160. give wood Sword named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  161. stop
  162. #-----------#
  163. # Axes #
  164. #-----------#
  165. if player has a gold axe named "&k12345678":
  166. remove 1 gold axe named "&k12345678" from player
  167. give gold axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  168. stop
  169. if player has a diamond axe named "&k12345678":
  170. remove 1 diamond axe named "&k12345678" from player
  171. give diamond axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  172. stop
  173. if player has a iron axe named "&k12345678":
  174. remove 1 iron axe named "&k12345678" from player
  175. give iron axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  176. stop
  177. if player has a stone axe named "&k12345678":
  178. remove 1 stone axe named "&k12345678" from player
  179. give stone axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  180. stop
  181. if player has a wood axe named "&k12345678":
  182. remove 1 wood axe named "&k12345678" from player
  183. give wood axe named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  184. stop
  185. #-----------#
  186. # Bow #
  187. #-----------#
  188. if player has a bow named "&k12345678":
  189. remove 1 bow named "&k12345678" from player
  190. give bow named "%{prefix::%random integer between 1 and 29%}% %{suffix::%random integer between 1 and 29%}% " to the player
  191. stop
Advertisement
Add Comment
Please, Sign In to add comment