Hey, i can't figure out how to return the slot of the event-item with the "on item damage" event.
I am trying to multiply item damage on my server.
so i tried this and it works 100%. but i can't damage the item because i don't know how to get the slot the item is at. Anyone can help me out?
I am trying to multiply item damage on my server.
so i tried this and it works 100%. but i can't damage the item because i don't know how to get the slot the item is at. Anyone can help me out?
code_language.skript:
on item damage:
broadcast "%item damage%"
add item damage to data value of slot 4 of player
add item damage to data value of slot 4 of player
broadcast "durability %durability of event-item%"
broadcast "max durability %max durability of event-item%"