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 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 80 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C水煮蛋&a,恢復 &c80 &aHP"
- stop
- if name of player's tool contains "豬肉乾":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 130 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C豬肉乾&a,恢復 &c130 &aHP"
- stop
- if name of player's tool contains "特級肋眼牛排":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 750 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C肋眼牛排&a,恢復 &c750 &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 250 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C辣雞丼&a,恢復 &c250 &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
- send "&a你使用了&C富士山名產蘋果&a,恢復 &c400 &aHP"
- stop
- if name of player's tool contains "松坂名產和牛":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 325 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C富士山名產蘋果&a,恢復 &c325 &aHP"
- stop
- if name of player's tool contains "大碗拉麵":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 5
- 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 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 250 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C菇菇寶貝餅乾&a,恢復 &c250 &aHP"
- stop
- if name of player's tool contains "菇菇寶貝軟糖":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 700 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C菇菇寶貝軟糖&a,恢復 &c700 &aHP"
- stop
- if name of player's tool contains "新鮮菇菇寶貝":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 2000 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你使用了&C菇菇姑姑寶貝&a,恢復 &c2000 &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 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 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
- if name of player's tool contains "綠水靈果凍":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 600 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- send "&a你食用了&C綠水靈果凍&a,恢復 &c600 &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,持續恢復3次 &c200 &aHP"
- wait 20 ticks
- heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- wait 20 ticks
- heal player by 200 / (player's max health + {飾品狀態.%player%::血量增加}) * player's max health
- stop
- if name of player's tool contains "超酷聖結石":
- cancel event
- remove 1 of player's tool from player's tool
- heal player by 2
- send "&6你BANG了&c超酷的結石哥哥&6,結石哥哥讓周圍玩家回復 &c20%% &6HP" to player
- loop entities in radius 10 of player:
- if loop-entity is a player:
- heal loop-entity by 2
- spawn 15 of particle heart offset by 0.1, 0.5, 0.1 at location of loop-entity
- play raw sound "random.explode" at player with pitch 1 volume 2
- send "&6你被&c超酷的結石哥哥&6BANG了,結石哥哥讓你回復 &c20%% &6HP" to loop-entity
- stop
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement