execute as @e[type=#enemy_mobs_only] at @s if entity @e[type=area_effect_cloud,tag=malachite_field,distance=..3] run damage @s 1 kiwi2:malachite_field by @p[nbt={Inventory:[{id:"minecraft:player_head",Slot:103b,components:{"minecraft:custom_data":{malachite_bascinet:1b}}},{id:"minecraft:leather_chestplate",Slot:102b,components:{"minecraft:custom_data":{malachite_chestplate:1b}}},{id:"minecraft:leather_leggings",Slot:101b,components:{"minecraft:custom_data":{malachite_leggings:1b}}},{id:"minecraft:leather_boots",Slot:100b,components:{"minecraft:custom_data":{malachite_boots:1b}}}]}]
particle dust{color:[0.451,0.851,0.557],scale:0.4} ~ ~1 ~ 0.5 0.7 0.5 1 1
execute if predicate kiwi2:chance_random_5 run particle electric_spark ~ ~1 ~ 0.5 0.7 0.5 0 1
execute if entity @s[nbt={HurtTime:5s}] if predicate kiwi2:chance_random_20 run function kiwi2:reward_chest/day_40_59/malachite_set_fx_field