Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if name of player's held item is "&cSlaby Zwiekszony atak":
- if lore of player's held item is "&7Zwieksza atak o 2 razy":
- remove 1 of player's held item from player's inventory
- set {akcesorio.legepotworow.%player%} to true
- send "&2Pomyslnie zalozyles Bon!" to player
- on right click:
- if name of player's held item is "&cSlaby Zwiekszony def":
- if lore of player's held item is "&7Zwieksza def o 10%%":
- remove 1 of player's held item from player's inventory
- set {akcesorio.legepotworow.%player%} to true
- send "&2Pomyslnie zalozyles Bon!" to player
- command /bony:
- trigger:
- open chest with 1 rows named "&6Zalozone akcesoria" to player
- if {akcesorio.legepotworow.%player%} is true:
- format slot 0 of player with 1 of sign named "&cSlaby Zwiekszony atak" with lore "&7Zwieksza atak o 2 razy" to close then run [execute player command "/zdejmijrekawicelege"]
- on damage:
- set damage to damage *2
- if {akcesorio.legepotworoww.%player%} is true:
- format slot 8 of player with 1 of sign named "&cSlaby zwiekszony def" with lore"&7Zwieksza def o 10%%" to close then run [execute player command "/zdejmijrekawicelegen"]
- on damage:
- attacker is a player:
- if victim is a Zombie and skeleton and pigzombie and blaze and wolf:
- if attacker reduce damage by 10%%
- command /zdejmijrekawicelege:
- trigger:
- if {akcesorio.legepotworow.%player%} is true:
- give 1 sign named "&cSlaby Zwiekszony atak" with lore "&7Zwieksza atak o 2 razy" to player
- send "&2Pomyslnie zdjales Bon"
- set {akcesorio.legepotworow.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement