I've been trying to make lore damage, (Damage based on an item's lore) but It doesn't work. The skript loads without error but the damage does not occur in-game.
P.S.
I am aware that I would have to make lore damage for every possible weapon damage in my server with this method, if anyone knows if it is possible to make a work-around I would greatly appreciate to know.
code_language.skript:
on damage:
attacker is holding a sword
1 of sword's lore is "&7Damage: &r255"
set damage to 127.5
P.S.
I am aware that I would have to make lore damage for every possible weapon damage in my server with this method, if anyone knows if it is possible to make a work-around I would greatly appreciate to know.