#slowfall feather
effect give @a[tag=K,tag=KyuSlowFall] minecraft:slow_falling 1 0
effect give @a[tag=K,nbt={SelectedItem:{tag:{kyuslowfall:1b}}}] minecraft:slow_falling 1 0

#lava boots
execute at @a[tag=KyuLavaCharm] run fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 obsidian replace lava

#poison immune trinket
effect clear @a[tag=K,tag=KyuPI] minecraft:poison

#luck modifiers
scoreboard players set @a[tag=K] KyuLuck 0
effect clear @a[tag=K] luck
scoreboard players add @a[predicate=suhc:wearingluckboots] KyuLuck 1
scoreboard players add @a[tag=K,nbt={SelectedItem:{id:"minecraft:rabbit_foot",tag:{display:{Lore:["\"Gives +1 luck when held in your hand.\""]}}}}] KyuLuck 1
scoreboard players add @a[tag=K,nbt={Inventory:[{tag:{kyudubloon:1b}}]}] KyuLuck 1
scoreboard players add @a[tag=K,tag=KyuLuck] KyuLuck 1
scoreboard players add @a[tag=K,scores={KyuLuck20min=1..}] KyuLuck 1
scoreboard players add @a[tag=K,scores={KyuLanternLuck=1..}] KyuLuck 1


#might rework this soon...
effect give @a[tag=K,scores={KyuLuck=1}] luck 5000 0 true
effect give @a[tag=K,scores={KyuLuck=2}] luck 5000 1 true
effect give @a[tag=K,scores={KyuLuck=3}] luck 5000 2 true
effect give @a[tag=K,scores={KyuLuck=4}] luck 5000 3 true
effect give @a[tag=K,scores={KyuLuck=5}] luck 5000 4 true
effect give @a[tag=K,scores={KyuLuck=6}] luck 5000 5 true


#might need
execute as @e[type=minecraft:armor_stand,tag=ChampEffects] run function zzzzdonotuse:halfsec/champeffects1


#ankh shield
execute as @a[predicate=suhc:wearingankhshield] run function zzzzdonotuse:trinketeffect/ankh


#spring boots
execute as @a[predicate=suhc:sneakonground,x_rotation=-90..-30] run execute as @s[predicate=suhc:wearingspringboots] run execute as @s[nbt={OnGround:1b}] run function zzzzdonotuse:modifyarmor/modules/springbootseffect


#offhand actives
execute as @a[predicate=suhc:holdingoffhandactivate] run function zzzzdonotuse:spell/activateoffhandmain




