#gold nugget tag, so they don't get it
tag @s add GKQMARK


tag @s add SkeleChange
execute at @s positioned ~ ~280 ~ run loot spawn ~ ~ ~ loot minecraft:misc/skeletonchamp
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"PoiSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/poisonskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"BliSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/blindskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"LeviSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/leviskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"DamSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/damskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"WeakSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/weakskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"WithSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/withskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"KnockSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/knockskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"FireSkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/fireskele
execute at @s positioned ~ ~280 ~ run execute if entity @e[distance=..2,nbt={Item:{tag:{display:{Lore:["\"SpookySkel\""]}}}}] run function zzzzdonotuse:champions/skeletontypes/spookyskele
execute at @s positioned ~ ~280 ~ run kill @e[type=item,distance=..2]

#execute at @e[limit=1,name=SpawnerSheep,sort=nearest] run summon spawner_minecart ~ ~11.5 ~ {NoGravity:1,id: spawner_minecart,OnGround: 0,MaxNearbyEntities:100,Type: 0,Items: [],Delay: 1,MinSpawnDelay: 1,MaxSpawndelay: 1,SpawnCount: 1,SpawnRange:0,RequiredPlayerRange: 1032767,SpawnData:{id:"minecraft:item",Item:{id:stone,Count:1}},SpawnPotentials: [{ Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"PoiSkel\""]}}}},Weight:10},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"BliSkel\""]}}}},Weight:12},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"LeviSkel\""]}}}},Weight:8},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"DamSkel\""]}}}},Weight:5},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"WeakSkel\""]}}}},Weight:12},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"WithSkel\""]}}}},Weight:10},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"KnockSkel\""]}}}},Weight:10},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"FireSkel\""]}}}},Weight:5},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"STATUS\""]}}}},Weight:0},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"SPOODER\""]}}}},Weight:0},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"SLOWFALL\""]}}}},Weight:0},{Entity:{id:"item",Item:{id:dirt,Damage:0,Count:1,tag:{display:{Lore:["\"FOLLOWER\""]}}}},Weight:0},{Entity:{id:"item",Item:{id:stone,Damage:0,Count:1,tag:{display:{Lore:["\"None\""]}}}},Weight:0}]}
