Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if {死亡狀態::%player%} is set:
- stop
- if name of player's tool contains "紅色藥水":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 20 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C紅色藥水&a,恢復 &c20 &aHP"
- stop
- if name of player's tool contains "橘色藥水":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 50 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C橘色藥水&a,恢復 &c50 &aHP"
- stop
- if name of player's tool contains "白色藥水":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 150 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C白色藥水&a,恢復 &c150 &aHP"
- stop
- if name of player's tool contains "紅色藥丸":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 100 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C紅色藥丸&a,恢復 &c100 &aHP"
- stop
- if name of player's tool contains "橘色藥丸":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C橘色藥丸&a,恢復 &c200 &aHP"
- stop
- if name of player's tool contains "白色藥丸":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 300 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C白色藥丸&a,恢復 &c300 &aHP"
- stop
- if name of player's tool contains "糖葫蘆":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 1000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C糖葫蘆&a,恢復 &c1000 &aHP"
- stop
- if name of player's tool contains "海草汁":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 450 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C海草汁&a,恢復 &c450 &aHP"
- stop
- if name of player's tool contains "蟹肉棒":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 150 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C蟹肉棒&a,恢復 &c150 &aHP"
- stop
- if name of player's tool contains "豬肉滿福堡" or "勁辣雞腿堡" or "雙層起司牛肉堡" or "麥香魚":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 75 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你食用了&c麥當勞經典食物&a,恢復 &c75 &aHP"
- stop
- if name of player's tool contains "鯛魚燒":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 500 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你食用了&c鯛魚燒&a,恢復 &c500 &aHP"
- stop
- if name of player's tool contains "中秋奢華燒肉":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 3.5
- send "&a你食用了&e中秋&6奢華&c燒肉&a,恢復 &c35% &aHP"
- stop
- if name of player's tool contains "中秋高級燒肉":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 350 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你食用了&c中秋高級燒肉&a,恢復 &c350 &aHP"
- stop
- if name of player's tool contains "搖頭丸":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 400 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- apply jump boost 8 to the player for 10 second
- send "&c你&6服&e用&a了&b搖&9頭&5丸&a,恢復 &c400 &aHP"
- stop
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement