summon skeleton ~ ~ ~ {Tags:["new","svm_ep.npc","svm_ep.npc_cherry_guardian","svm_ep.power_user","svm_ep.flora_user"],Health:40,CanPickUpLoot:1b,OnGround:1b,PersistenceRequired:1b,Attributes:[{Name:"generic.max_health",Base:40f}]}
execute as @e[tag=new] run loot replace entity @s weapon loot svm_ep:items/cherry_katana
execute as @e[tag=new] run item replace entity @s armor.chest with leather_chestplate[minecraft:dyed_color=15888545,custom_name='[{"text":"Cherry Guardian\'s Chestplate","italic":false}]'] 1
execute as @e[tag=new] run item replace entity @s armor.head with cherry_leaves
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:speed infinite 0 true
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:speed infinite 1 true
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:strength infinite 0 true
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:strength infinite 1 true
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:resistance infinite 0 true
execute if predicate svm_ep:chance/25_percent run effect give @e[tag=new] minecraft:resistance infinite 1 true
tag @e remove new