I am just screwing around with NBT atm and i cant seem to get it to work. It is not returning any errors. It might be because I am running an outdated version, but i am using the Tuke-Nuke fork. I am running a 1.12.2 server.
When I damage the mob, it is suppose to return the NBT of the attacker's weapon. It only returns "<none>" though.
When I check the item's nbt in the gui, it isn't changed.
code_language.skript:
on damage:
add "{AttackDamage:123}" to nbt of attacker's tool
broadcast "%nbt of attacker's tool%"
When I damage the mob, it is suppose to return the NBT of the attacker's weapon. It only returns "<none>" though.
When I check the item's nbt in the gui, it isn't changed.