on damage:
victim and attacker are a player
chance of 20%:
remove strength from victim
apply strength to attacker for 3 seconds
stop
chance of 20%:
add 1 to attacker's health
stop
chance of 20%:
strike lightning at victim
stop
uncolored lore of attacker's tool contains "Zaklęcie: Trucizna"
chance of 20%:
remove poison from victim
apply poison to victim for 3 seconds
stop
command /mieczulepsz [<text>]:
trigger:
if arg 1 is "poison":
player has 3 of diamonds
set 1st line of lore of player's tool to "&5Zaklęcie: &aTrucizna"
remove 3 of diamond from player
Masz nawet wszystko, przynajmniej like sie nalezy