#execute if predicate survivalplus:25chance run enchant @s survivalplus:player_smite
#execute if data entity @s equipment.mainhand.components."minecraft:enchantments" run function survivalplus:tools
execute if predicate survivalplus:25chance run tag @s add resistme
execute if predicate survivalplus:25chance run tag @s[tag=!resistme] add strongme
execute if items entity @s[predicate=survivalplus:25chance] weapon.mainhand #minecraft:swords run function survivalplus:mobs/trial_chamber/add_player_smite