#strongbrick
execute as @a[predicate=!survivalplus:strongbrick] run attribute @s attack_damage modifier remove 7122a6b0-3036-11ee-be56-0242ac120002
execute as @a[predicate=survivalplus:strongbrick] run attribute @s attack_damage modifier add 7122a6b0-3036-11ee-be56-0242ac120002 .6 add_multiplied_base
#flippers
execute as @a run attribute @s water_movement_efficiency modifier remove dc99c783-c33f-4773-e94b-231e48c98981
execute as @a run attribute @s water_movement_efficiency modifier remove 4c5fa1b3-dd14-4e2c-ada1-76ab8ffcfb58
#raincoat
execute as @a run attribute @s movement_speed modifier remove bc99c783-d33f-5773-b94b-e31e48c98981
execute as @a run attribute @s water_movement_efficiency modifier remove 5db53408-f4ba-45a7-b2f1-187e9bfefd84
execute as @a[predicate=survivalplus:raincoat,predicate=survivalplus:is_wet] run attribute @s movement_speed modifier add bc99c783-d33f-5773-b94b-e31e48c98981 .25 add_multiplied_base
execute as @a[predicate=survivalplus:raincoat,predicate=survivalplus:is_wet] run attribute @s water_movement_efficiency modifier add 5db53408-f4ba-45a7-b2f1-187e9bfefd84 .05 add_value
#minerpick
execute as @a run attribute @s movement_speed modifier remove bc11c783-d21f-4373-d94b-a21e48c67411
execute if entity @a[predicate=survivalplus:minerpick] run function survivalplus:tools/minerpick
#2hand
execute as @a run attribute @s attack_speed modifier remove noattackspeed
execute as @a[predicate=survivalplus:2hand] unless predicate survivalplus:airoffhand run function survivalplus:tools/2handdebuff
#fastpants
execute as @a[predicate=!survivalplus:fastpants/fastpants] run attribute @s movement_speed modifier remove 2c0d36fa-d485-4d9c-8120-8022ffd6b1dc
#mining debuff
execute as @a[predicate=!survivalplus:tool] run attribute @s minecraft:block_break_speed modifier add 9cb8a25d-e8dc-4f80-b5c8-1ef1824684e1 -.6 add_multiplied_base
execute as @a[predicate=survivalplus:tool] run attribute @s minecraft:block_break_speed modifier remove 9cb8a25d-e8dc-4f80-b5c8-1ef1824684e1
#swim up no armor
execute as @a run attribute @s minecraft:water_movement_efficiency modifier remove 8a8fe40b-8a64-458c-965e-608719928d31
execute as @a[predicate=survivalplus:swimming,predicate=survivalplus:noarmor] run attribute @s minecraft:water_movement_efficiency modifier add 8a8fe40b-8a64-458c-965e-608719928d31 .1 add_value
#knockback lowhp
execute as @a[scores={Health=11..}] run attribute @s minecraft:attack_knockback modifier remove b9f1bf68-f28d-4d1c-b5bf-ab13cdf4db8c
execute as @a[scores={Health=..10}] run attribute @s minecraft:attack_knockback modifier add b9f1bf68-f28d-4d1c-b5bf-ab13cdf4db8c .2 add_value
#space hat
execute as @a run attribute @s gravity modifier remove cfacffdd-acad-4a10-8503-83c8d707ce59
execute as @a[predicate=survivalplus:spacehat,predicate=survivalplus:gliding] run attribute @s gravity modifier add cfacffdd-acad-4a10-8503-83c8d707ce59 .4 add_multiplied_base
execute as @a run attribute @s attack_damage modifier remove 41c50d51-5b8f-43f1-9cb8-b998ad81b1ea
execute as @a[predicate=survivalplus:spacehat,nbt={OnGround:0b}] run attribute @s attack_damage modifier add 41c50d51-5b8f-43f1-9cb8-b998ad81b1ea -.3 add_multiplied_total
