Advertisement
Hsuwan

Untitled

Nov 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.64 KB | None | 0 0
  1. on right click:
  2. if {死亡狀態::%player%} is set:
  3. stop
  4. if name of player's tool contains "紅色藥水":
  5. cancel event
  6. remove 1 of player's tool from player's tool
  7. heal player by 20 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  8. send "&a你使用了&C紅色藥水&a,恢復 &c20 &aHP"
  9. stop
  10. if name of player's tool contains "橘色藥水":
  11. cancel event
  12. remove 1 of player's tool from player's tool
  13. heal player by 50 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  14. send "&a你使用了&C橘色藥水&a,恢復 &c50 &aHP"
  15. stop
  16. if name of player's tool contains "白色藥水":
  17. cancel event
  18. remove 1 of player's tool from player's tool
  19. heal player by 150 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  20. send "&a你使用了&C白色藥水&a,恢復 &c150 &aHP"
  21. stop
  22. if name of player's tool contains "紅色藥丸":
  23. cancel event
  24. remove 1 of player's tool from player's tool
  25. heal player by 100 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  26. send "&a你使用了&C紅色藥丸&a,恢復 &c100 &aHP"
  27. stop
  28. if name of player's tool contains "橘色藥丸":
  29. cancel event
  30. remove 1 of player's tool from player's tool
  31. heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  32. send "&a你使用了&C橘色藥丸&a,恢復 &c200 &aHP"
  33. stop
  34. if name of player's tool contains "白色藥丸":
  35. cancel event
  36. remove 1 of player's tool from player's tool
  37. heal player by 300 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  38. send "&a你使用了&C白色藥丸&a,恢復 &c300 &aHP"
  39. stop
  40. if name of player's tool contains "片裝巧克力":
  41. cancel event
  42. remove 1 of player's tool from player's tool
  43. heal player by 500 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  44. send "&a你使用了&C片裝巧克力&a,恢復 &c500 &aHP"
  45. stop
  46. if name of player's tool contains "水煮蛋":
  47. cancel event
  48. remove 1 of player's tool from player's tool
  49. heal player by 80 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  50. send "&a你使用了&C水煮蛋&a,恢復 &c80 &aHP"
  51. stop
  52. if name of player's tool contains "豬肉乾":
  53. cancel event
  54. remove 1 of player's tool from player's tool
  55. heal player by 130 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  56. send "&a你使用了&C豬肉乾&a,恢復 &c130 &aHP"
  57. stop
  58. if name of player's tool contains "特級肋眼牛排":
  59. cancel event
  60. remove 1 of player's tool from player's tool
  61. heal player by 750 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  62. send "&a你使用了&C肋眼牛排&a,恢復 &c750 &aHP"
  63. stop
  64. if name of player's tool contains "糖葫蘆":
  65. cancel event
  66. remove 1 of player's tool from player's tool
  67. heal player by 1000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  68. send "&a你使用了&C糖葫蘆&a,恢復 &c1000 &aHP"
  69. stop
  70. if name of player's tool contains "東京名產辣雞丼":
  71. cancel event
  72. remove 1 of player's tool from player's tool
  73. heal player by 250 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  74. send "&a你使用了&C辣雞丼&a,恢復 &c250 &aHP"
  75. stop
  76. if name of player's tool contains "富士山名產蘋果":
  77. cancel event
  78. remove 1 of player's tool from player's tool
  79. heal player by 400 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  80. send "&a你使用了&C富士山名產蘋果&a,恢復 &c400 &aHP"
  81. stop
  82. if name of player's tool contains "松坂名產和牛":
  83. cancel event
  84. remove 1 of player's tool from player's tool
  85. heal player by 325 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  86. send "&a你使用了&C富士山名產蘋果&a,恢復 &c325 &aHP"
  87. stop
  88. if name of player's tool contains "大碗拉麵":
  89. cancel event
  90. remove 1 of player's tool from player's tool
  91. heal player by 5
  92. send "&a你使用了&C大碗拉麵&a,恢復 &c50%% &aHP"
  93. stop
  94. if name of player's tool contains "海草汁":
  95. cancel event
  96. remove 1 of player's tool from player's tool
  97. heal player by 450 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  98. send "&a你使用了&C海草汁&a,恢復 &c450 &aHP"
  99. stop
  100. if name of player's tool contains "菇菇寶貝餅乾":
  101. cancel event
  102. remove 1 of player's tool from player's tool
  103. heal player by 250 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  104. send "&a你使用了&C菇菇寶貝餅乾&a,恢復 &c250 &aHP"
  105. stop
  106. if name of player's tool contains "菇菇寶貝軟糖":
  107. cancel event
  108. remove 1 of player's tool from player's tool
  109. heal player by 700 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  110. send "&a你使用了&C菇菇寶貝軟糖&a,恢復 &c700 &aHP"
  111. stop
  112. if name of player's tool contains "新鮮菇菇寶貝":
  113. cancel event
  114. remove 1 of player's tool from player's tool
  115. heal player by 2000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  116. send "&a你使用了&C菇菇姑姑寶貝&a,恢復 &c2000 &aHP"
  117. stop
  118. if name of player's tool contains "蟹肉棒":
  119. cancel event
  120. remove 1 of player's tool from player's tool
  121. heal player by 150 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  122. send "&a你使用了&C蟹肉棒&a,恢復 &c150 &aHP"
  123. stop
  124. if name of player's tool contains "豬肉滿福堡" or "勁辣雞腿堡" or "雙層起司牛肉堡" or "麥香魚":
  125. cancel event
  126. remove 1 of player's tool from player's tool
  127. heal player by 75 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  128. send "&a你食用了&c麥當勞經典食物&a,恢復 &c75 &aHP"
  129. stop
  130. if name of player's tool contains "鯛魚燒":
  131. cancel event
  132. remove 1 of player's tool from player's tool
  133. heal player by 1000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  134. send "&a你食用了&c鯛魚燒&a,恢復 &c1000 &aHP"
  135. stop
  136. if name of player's tool contains "中秋奢華燒肉":
  137. cancel event
  138. remove 1 of player's tool from player's tool
  139. heal player by 3.5
  140. send "&a你食用了&e中秋&6奢華&c燒肉&a,恢復 &c35%% &aHP"
  141. stop
  142. if name of player's tool contains "中秋高級燒肉":
  143. cancel event
  144. remove 1 of player's tool from player's tool
  145. heal player by 350 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  146. send "&a你食用了&c中秋高級燒肉&a,恢復 &c350 &aHP"
  147. stop
  148. if name of player's tool contains "搖頭丸":
  149. cancel event
  150. remove 1 of player's tool from player's tool
  151. heal player by 400 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  152. apply jump boost 8 to the player for 10 second
  153. send "&c你&6服&e用&a了&b搖&9頭&5丸&a,恢復 &c400 &aHP"
  154. stop
  155. if name of player's tool contains "綠水靈果凍":
  156. cancel event
  157. remove 1 of player's tool from player's tool
  158. heal player by 600 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  159. send "&a你食用了&C綠水靈果凍&a,恢復 &c600 &aHP"
  160. stop
  161. if name of player's tool contains "綠水靈糖果":
  162. cancel event
  163. remove 1 of player's tool from player's tool
  164. heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  165. send "&a你食用了&C綠水靈糖果&a,持續恢復3次 &c200 &aHP"
  166. wait 20 ticks
  167. heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  168. wait 20 ticks
  169. heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  170. stop
  171. if name of player's tool contains "超酷聖結石":
  172. cancel event
  173. remove 1 of player's tool from player's tool
  174. heal player by 2
  175. send "&6你BANG了&c超酷的結石哥哥&6,結石哥哥讓周圍玩家回復 &c20%% &6HP" to player
  176. loop entities in radius 10 of player:
  177. if loop-entity is a player:
  178. heal loop-entity by 2
  179. spawn 15 of particle heart offset by 0.1, 0.5, 0.1 at location of loop-entity
  180. play raw sound "random.explode" at player with pitch 1 volume 2
  181. send "&6你被&c超酷的結石哥哥&6BANG了,結石哥哥讓你回復 &c20%% &6HP" to loop-entity
  182. stop
  183. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement