execute as @e[type=evoker,tag=!plussed] run loot replace entity @s armor.chest loot survivalplus:evoker_robes
execute as @e[type=evoker,tag=!plussed,nbt={equipment:{head:{id:"minecraft:white_banner"}}}] run data merge entity @s {Team:illager,Tags:[plussed,rare,noreroll,illagercaptain,hatme],Health:30,attributes:[{id:"max_health",base:30f}],drop_chances:{chest:0.08f,head:1f},DeathLootTable:"survivalplus:entities/evoker"}
execute as @e[type=evoker,tag=illagercaptain,tag=hatme,predicate=survivalplus:20chance] run function survivalplus:mobs/hatillager
tag @e remove hatme

execute if score hardmode hardmode matches 1 as @e[type=evoker,predicate=survivalplus:10chance,tag=!plussed] run data merge entity @s {Tags:[crysevok,special,plussed],Team:illager,Health:40,attributes:[{id:"movement_speed",base:0.23f},{id:"max_health",base:40f}],DeathLootTable:"survivalplus:entities/evoker"}
execute as @e[type=evoker,predicate=survivalplus:25chance,tag=!plussed] run data merge entity @s {Tags:[plussed],Team:illager,Health:30,equipment:{mainhand:{id:totem_of_undying}},attributes:[{id:"max_health",base:30f}],drop_chances:{chest:0.15f},DeathLootTable:"survivalplus:entities/evokeralt"}
execute as @e[type=evoker,tag=!plussed] run data merge entity @s {Team:illager,Health:30,attributes:[{id:"max_health",base:30f}],drop_chances:{chest:0.1f},DeathLootTable:"survivalplus:entities/evoker"}
execute as @e[type=evoker,tag=!plussed] run tag @s add plussed