Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on entity:
- entity's display name is "Kowal Teodor":
- set {item.%player%} to false
- clear {itemid.%player%}
- execute console command "kowal 1 %player%"
- on inventory click:
- if clicked item is any sword or axe:
- if "%clicked type%" is "RIGHT":
- set {_Slot} to clicked slot
- set {itemid.%player%} to clicked item
- set slot {_Slot} of player to air
- set {item.%player%} to true
- execute console command "kowal 1 %player%"
- command /kowal [<text>] [<player>]:
- permission: admin
- trigger:
- if arg 1 is "oddaj":
- send "dziala" to player-arg
- give 1 of {itemid.%player-arg%} to player-arg
- set {item.%player-arg%} to false
- clear {itemid.%player-arg%}
- execute console command "kowal 1 %player-arg%"
- if arg 1 is "1":
- open chest with 3 rows named "&6&lKowal Teodor" to player-arg
- wait 2 tick
- play "CHEST_OPEN" to player-arg at volume 1
- format slot 17 of player-arg with 1 of 35:5 named "&6&lUlepsz" with lore "&b=======================================||&2Ulepszenie na 1:||&aKamien 10x||&2Ulepszenie na 2:||&aMagiczna stal 3x||&2Ulepszenie na 3:||&aKrwawy Kamień 2x||&a||&cJeżeli ulepszenie się niepowodzi item zostanie usunięty||&b=======================================" to close then run ""
- format slot 0 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 1 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 2 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 9 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 11 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 18 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 19 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 20 of player-arg with 1 of 160:0 named "&2" with lore "" to be unstealable
- format slot 22 of player-arg with 1 of anvil named "&6&lSystem ulepszania" with lore "&b=======================================||&2Ulepszenie na 1:||&aSzansa 50%%||&aPodnosi Atak/Obrone o 2%%||&2Ulepszenie na 2:||&aSzansa 30%%||&aPodnosi Atak/Obrone o 1%%||&aZmniejsza szybkosc ataku o 2%%||&2Ulepszenie na 3:||&aSzans: 10%%||&aPodnosi Wszystkie atrybuty o 4%%||&b=======================================" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement