Advertisement
ALPHADOIDE

Untitled

Apr 9th, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. on rightclick on entity:
  2. if display name of event-entity is "&dピッケル強化":
  3. if player's held item is wood pickaxe:
  4. if {point::%player%} >= {next%player%}:
  5. add 1 to {upgrade%player%}
  6. remove {next%player%} from {point::%player%}
  7. remove wooden pickaxe from player
  8. set {next%player%} to {next%player%} * 1.7
  9. set {next%player%} to round({next%player%})
  10. set {_tool%player%} to wood pickaxe
  11. evaluate "enchant {_tool%player%} with efficiency %{upgrade%player%} - 1%"
  12. give {_tool%player%} named "&2[Level%{upgrade%player%} - 1% &l&d木ピッケル]" to player
  13. else:
  14. send "&e%{next%player%}-{point::%player%}%P足りません!" to player
  15. else:
  16. send "&eピッケルを持ってください!" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement