tag @s add triggered_black_flash
attribute @s[tag=triggered_black_flash] attack_knockback modifier add black_flash_knockback 2 add_value

execute store result storage kiwi:black_flash_emulator_attack_damage x int 2.5 run attribute @s attack_damage get

execute as @e[type=#enemy_mobs_only,nbt={HurtTime:10s},limit=1,sort=nearest] at @s run function kiwi3:relics/black_flash_emulator/black_flash_emulator_damage_macro with storage kiwi:black_flash_emulator_attack_damage

schedule function kiwi3:relics/black_flash_emulator/black_flash_emulator_knockback_remove 1t