vLhLxM5n
Język: Skript
|
Autor: Anonimowy
on place: if player's tool is chest: if name of player's tool is "&8[&7&lMagiczna Skrzynka&8]": cancel event on right click: if player's tool is chest: if name of player's tool is "&8[&7&lMagiczna Skrzynka&8]": chance of 50%: drop 20 dirt chance of 10%: drop 5 diamond chance of 10%: drop 1 311 of protection 4 and unbreaking 3 chance of 5%: drop 5 emerald chance of 10%: drop 1 310 of protection 4 and unbreaking 3 chance of 80%: drop 64 Iron ingot chance of 10%: drop 1 diamond boots of protection 4 and unbreaking 3 chance of 10%: drop 1 diamond leggings of protection 4 and unbreaking 3 chance of 10%: drop 1 diamond pickaxe of effciency 5 and unbreaking 3 and Fortune 3 chance of 100% remove 1 chest named "&8[&7&lMagiczna Skrzynka&8]" from player's inventory command /skrzynka [<player>] [<text>]: permission: magiczna.skrzynka trigger: if arg 1 is not set: if arg 2 is not set: send "&f&oPoprawne uzycie &c&o/&f&oskrzynka [nick] [ilosc]" if arg 1 is set: if arg 2 is set: execute console command "give %arg 1% chest %arg 2% name:&8[&7&lMagiczna Skrzynka&8]" send "&2&lMc-Pexa &f&o>> &a&lOtrzymales &9&lMagiczna skrzynke &2&lx&a&l%arg 2% &a&l!" to player-arg options: szansa: 3% item: chest named "&8[&7&lMagiczna Skrzynka&8]" on break: if event-block is stone: chance of {@szansa}: add {@item} to player