for context, im trying to make a plugin where when you land a critical hit from a tall height it does more damage, kinda like the mace, just a set amount of damage and not an increase per block fallen
what i have:
on damage:
if attacker's offhand tool is amethyst shard named "&fᴀɴᴇᴍᴏ sʜᴀʀᴅ":
if block below attacker is air:
damage victim by 2
execute console command "execute at %victim% run particle minecraft:explosion ~ ~ ~ 0 0 0 1 10 force"
it does extra damage even with a normal crit (not good)
what i have:
on damage:
if attacker's offhand tool is amethyst shard named "&fᴀɴᴇᴍᴏ sʜᴀʀᴅ":
if block below attacker is air:
damage victim by 2
execute console command "execute at %victim% run particle minecraft:explosion ~ ~ ~ 0 0 0 1 10 force"
it does extra damage even with a normal crit (not good)