Hsuwan

Untitled

Sep 30th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 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 1000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  44. send "&a你使用了&C糖葫蘆&a,恢復 &c1000 &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 450 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  50. send "&a你使用了&C海草汁&a,恢復 &c450 &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 150 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  56. send "&a你使用了&C蟹肉棒&a,恢復 &c150 &aHP"
  57. stop
  58. if name of player's tool contains "豬肉滿福堡" or "勁辣雞腿堡" or "雙層起司牛肉堡" or "麥香魚":
  59. cancel event
  60. remove 1 of player's tool from player's tool
  61. heal player by 75 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  62. send "&a你食用了&c麥當勞經典食物&a,恢復 &c75 &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 500 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  68. send "&a你食用了&c鯛魚燒&a,恢復 &c500 &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 3.5
  74. send "&a你食用了&e中秋&6奢華&c燒肉&a,恢復 &c35% &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 350 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  80. send "&a你食用了&c中秋高級燒肉&a,恢復 &c350 &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 400 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
  86. apply jump boost 8 to the player for 10 second
  87. send "&c你&6服&e用&a了&b搖&9頭&5丸&a,恢復 &c400 &aHP"
  88. stop
  89. stop
Add Comment
Please, Sign In to add comment