Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- the victim's display name is "Sword Skeleton":
- add 1 * {expb::%attacker%} or 2 * {expb::%attacker%} or 3 * {expb::%attacker%} to {exp::%attacker%}
- on death:
- the victim's display name is "&4ソードスケルトン":
- if {expb::%attacker%} = 1:
- add 4 or 5 or 6 to {exp::%attacker%}
- if {expb::%attacker%} = 2:
- add 8 or 10 or 12 to {exp::%attacker%}
- on death:
- the victim's display name is "&4下っ端ゴブリン":
- if {expb::%attacker%} = 1:
- add 12 or 16 or 20 to {exp::%attacker%}
- if {expb::%attacker%} = 2:
- add 24 or 32 or 40 to {exp::%attacker%}
- on death:
- the victim's display name is "&4廃墟蜘蛛":
- if {expb::%attacker%} = 1:
- add 6 or 8 or 10 to {exp::%attacker%}
- if {expb::%attacker%} = 2:
- add 12 or 16 or 20 to {exp::%attacker%}
- on left click:
- if tool is paper:
- player have paper named "&a経験値ブースト2倍" with lore "&b約10分間獲得経験値が2倍になる" and "&b左クリックで使用する"
- send "&b経験値ブーストを使用しました!" to player
- set {expb::%player%} to 2
- add 600 to {expb2::%player%}
- remove paper named "&a経験値ブースト2倍" with lore "&b約10分間獲得経験値が2倍になる" and "&b左クリックで使用する" from player
- command /expb <player>:
- permission: op
- trigger:
- send "&6このプレイヤーの経験値倍増率:%{expb::%player%}%経過時間:%{expb1::%player%}%" to player
- every second in "world":
- loop all players:
- if {expb::%loop-Player%} = 2:
- if {expb1::%loop-player%} < {expb2::%loop-player%}:
- add 1 to {expb1::%loop-player%}
- if {expb1::%loop-player%} >= {expb2::%loop-player%}:
- send "&c経験値ブーストが切れました!" to loop-player
- set {expb::%loop-player%} to 1
- set {expb1::%loop-player%} to 0
- on join:
- set {expb::%player%} to 1
- set {expb1::%player%} to 1
Advertisement
Add Comment
Please, Sign In to add comment