execute store result score $arachne_help_count kattersstructures.arachne run random value 1..3

execute if score $arachne_help kattersstructures.arachne matches ..1 at @s run return run summon cave_spider ~ ~ ~ {Health:2f,Tags:["nmr_speed_set","nmr_resized"],CustomName:"Spider Brood",active_effects:[{id:"minecraft:weaving",amplifier:1,duration:2,show_particles:0b},{id:"minecraft:wind_charged",amplifier:1,duration:-1,show_particles:0b}],attributes:[{id:"minecraft:armor",base:0},{id:"minecraft:follow_range",base:48},{id:"minecraft:gravity",base:0.02},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:2},{id:"minecraft:safe_fall_distance",base:128},{id:"minecraft:scale",base:0.25},{id:"minecraft:step_height",base:2},{id:"minecraft:explosion_knockback_resistance",base:1}]}
execute if score $arachne_help kattersstructures.arachne matches ..2 at @s run return run summon cave_spider ~ ~ ~ {Health:2f,Tags:["nmr_speed_set","nmr_resized"],CustomName:"Spider Brood",active_effects:[{id:"minecraft:weaving",amplifier:1,duration:2,show_particles:0b},{id:"minecraft:wind_charged",amplifier:1,duration:-1,show_particles:0b}],attributes:[{id:"minecraft:armor",base:0},{id:"minecraft:follow_range",base:48},{id:"minecraft:gravity",base:0.02},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:2},{id:"minecraft:safe_fall_distance",base:128},{id:"minecraft:scale",base:0.25},{id:"minecraft:step_height",base:2},{id:"minecraft:explosion_knockback_resistance",base:1}]}
execute if score $arachne_help kattersstructures.arachne matches ..3 at @s run return run summon cave_spider ~ ~ ~ {Health:2f,Tags:["nmr_speed_set","nmr_resized"],CustomName:"Spider Brood",active_effects:[{id:"minecraft:weaving",amplifier:1,duration:2,show_particles:0b},{id:"minecraft:wind_charged",amplifier:1,duration:-1,show_particles:0b}],attributes:[{id:"minecraft:armor",base:0},{id:"minecraft:follow_range",base:48},{id:"minecraft:gravity",base:0.02},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:2},{id:"minecraft:safe_fall_distance",base:128},{id:"minecraft:scale",base:0.25},{id:"minecraft:step_height",base:2},{id:"minecraft:explosion_knockback_resistance",base:1}]}
