// MOB CREATED BY BRIAN -- REACTIONBRINEYT

manablight water breathing effect :rev mana regen

conduit power mana flux effect : gives mana

ally.anim_tick = randomizer

halfling ancor tag "halfling-hed-locator"

starting function for enemys

"
#calling the mob's ai

execute as @e[tag=spiritknight_Entity,type=zombie,tag=!scened] at @s run function ampsurv:entity/enemy/spiritknight/scening / Runs Once Sets up the enemy 

execute as @e[tag=spiritknight_Entity,type=zombie,tag=scened] at @s run function ampsurv:entity/enemy/spiritknight/1.core-ai / runs every tick

execute as @e[tag=aj.spiritknight.root,type=item_display] at @s run function ampsurv:entity/enemy/spiritknight/dead-detect" / runs every tick

"

scoreboard/this-player = only for self executes

scoreboard/global-world = only for world executes

halfling root
" 
tag=aj.halfling.root,type=item_display
"
boss.storage1(atk cd) 

 boss.storage2(anim time) 

if boss.storage1(atk cd) or boss.storage2(anim time) > 1 then entity should have no ai

boss.storage2 and boss.storage1 count down. to use it add the entitys time u want and link based off countdown.

use wtc for countdowns
execute if score worldScore wtc_20 matches ..10 if score @s boss.storage1 matches 1.. 
worldScore wtc_20 resets every 20 ticks
wtc_10 resets every 10
we have wtc_4 and wtc_2 too