So im trying to make a system so I can make a sword do 30% of the base attack. But I need to find the base damage to do so. This is what I have got for now and it only says "generic attack damage"
on damage:
if uncolored name of the tool of attacker is "Archer's Knife":
set {damage.%attacker%} to attack damage
send "%{damage.%attacker%}%" to attacker
else:
cancel event
send "&cThis aint a weapon! Or Is it just a bug! If you believe this is a bug please report it to admins!" to attacker
on damage:
if uncolored name of the tool of attacker is "Archer's Knife":
set {damage.%attacker%} to attack damage
send "%{damage.%attacker%}%" to attacker
else:
cancel event
send "&cThis aint a weapon! Or Is it just a bug! If you believe this is a bug please report it to admins!" to attacker