Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every minecraft tick:
- loop all players:
- if {tad.player.cost.%loop-player%} is not set:
- set {tad.player.cost.%loop-player%} to 0
- command /draw:
- trigger:
- play sound "block.note.click" at player
- open chest with 2 row named "Draw Menu" to player
- format slot 0 of player with gold nugget named "&d&l所持コスト: %{tad.player.cost.%player%}%" to be unstealable
- format slot 9 of player with barrier named "&7&lメニューを閉じる" to close
- format slot 2 of player with wool:0 named "&a&lBuild Tier I" with lore "&d必要コスト: 3" to be unstealable
- format slot 3 of player with wool:0 named "&e&lBuild Tier II" with lore "&d必要コスト: 8" to be unstealable
- format slot 4 of player with wool:0 named "&c&lBuild Tier III" with lore "&d必要コスト: 17" to be unstealable
- format slot 11 of player with spectral arrow named "&a&lBattle Tier I" with lore "&d必要コスト: 3" to be unstealable
- format slot 12 of player with spectral arrow named "&e&lBattle Tier II" with lore "&d必要コスト: 8" to be unstealable
- format slot 13 of player with spectral arrow named "&c&lBattle Tier III" with lore "&d必要コスト: 17" to be unstealable
- format slot 6 of player with blaze powder named "&a&lBuff Tier I" with lore "&d必要コスト: 3" to be unstealable
- format slot 7 of player with blaze powder named "&e&lBuff Tier II" with lore "&d必要コスト: 8" to be unstealable
- format slot 8 of player with blaze powder named "&c&lBuff Tier III" with lore "&d必要コスト: 17" to be unstealable
- format slot 15 of player with nether star named "&b&lSpecial A" with lore "&d必要コスト: 15" to be unstealable
- format slot 17 of player with nether star named "&b&lSpecial B" with lore "&d必要コスト: 15" to be unstealable
- command /card <player> <integer>:
- permission: skript.tad
- trigger:
- if arg 2 is 2:
- if {tad.player.cost.%arg 1%} is more than or equal to 3:
- set {_random} to random integer between 1 to 17
- if {_random} is more than 5:
- if {_random} is more than 10:
- if {_random} is more than 15:
- if {_random} is more than 16:
- #17
- else
- #16
- else:
- #11-15
- else:
- #6-10
- else:
- #1-5
Add Comment
Please, Sign In to add comment