SO now a problem i have that it does this
on inventory click:
if name of item is "&7Stone Club [Lv 1]":
if the 6th line of lore of item contains "&7Upgrade Progress: 0 / 2":
if player has 2 stone hoe:
remove 2 stone hoe from player's inventory
give player a unbreakable glowing stone hoe named "&7Stone Club [Lv 1]" with lore "&7Confusion I||&7---------------------||&7Attack Damage: 8||&7Attack Speed: 0.4||&7---------------------||&7Upgrade Progress: 1 / 2||&7Rarity: Common"
set {_damage} to 8
set {_speed} to -3.6
add "{AttributeModifiers:[{AttributeName:""generic.attackDamage"",Name:""generic.attackDamage"",Amount:%{_damage}%,Operation:0,UUIDLeast:324464,UUIDMost:154531,Slot:""mainhand""},{AttributeName:""generic.attackSpeed"",Name:""generic.attackSpeed"",Amount:%{_speed}%,Operation:0,UUIDLeast:8055,UUIDMost:772149,Slot:""mainhand""}]}" to nbt of player's tool
#Stone Club
Now what it does is it creates everything except the attack damage/speed and it is the last piece of this puzzle so please help me one last time!
(i have already tried stone hoe on the end doesnt work)
on inventory click:
if name of item is "&7Stone Club [Lv 1]":
if the 6th line of lore of item contains "&7Upgrade Progress: 0 / 2":
if player has 2 stone hoe:
remove 2 stone hoe from player's inventory
give player a unbreakable glowing stone hoe named "&7Stone Club [Lv 1]" with lore "&7Confusion I||&7---------------------||&7Attack Damage: 8||&7Attack Speed: 0.4||&7---------------------||&7Upgrade Progress: 1 / 2||&7Rarity: Common"
set {_damage} to 8
set {_speed} to -3.6
add "{AttributeModifiers:[{AttributeName:""generic.attackDamage"",Name:""generic.attackDamage"",Amount:%{_damage}%,Operation:0,UUIDLeast:324464,UUIDMost:154531,Slot:""mainhand""},{AttributeName:""generic.attackSpeed"",Name:""generic.attackSpeed"",Amount:%{_speed}%,Operation:0,UUIDLeast:8055,UUIDMost:772149,Slot:""mainhand""}]}" to nbt of player's tool
#Stone Club
Now what it does is it creates everything except the attack damage/speed and it is the last piece of this puzzle so please help me one last time!
(i have already tried stone hoe on the end doesnt work)