// priority: 100

// 荒原鹫
let allyUmvuthana = {
    1: {
        units: [
            {
                name: "复仇荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"复仇荒原鹫"}',
                    Attributes: [
                        { Base: 80.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.8, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fury" },
                    mask: 0
                }
            },
            {
                name: "恐惧荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"恐惧荒原鹫"}',
                    Attributes: [
                        { Base: 80.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fear" },
                    mask: 1
                }
            },
            {
                name: "狂暴荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"狂暴荒原鹫"}',
                    Attributes: [
                        { Base: 80.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_rage" },
                    mask: 2
                }
            },
            {
                name: "极乐荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"极乐荒原鹫"}',
                    Attributes: [
                        { Base: 80.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_bliss" },
                    mask: 3
                }
            },
            {
                name: "痛苦荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"痛苦荒原鹫"}',
                    Attributes: [
                        { Base: 80.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_misery" },
                    mask: 4
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "复仇荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"复仇荒原鹫"}',
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fury" },
                    mask: 0
                }
            },
            {
                name: "恐惧荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"恐惧荒原鹫"}',
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fear" },
                    mask: 1
                }
            },
            {
                name: "狂暴荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"狂暴荒原鹫"}',
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_rage" },
                    mask: 2
                }
            },
            {
                name: "极乐荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"极乐荒原鹫"}',
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_bliss" },
                    mask: 3
                }
            },
            {
                name: "痛苦荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"痛苦荒原鹫"}',
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_misery" },
                    mask: 4
                }
            },
            {
                name: "荒原鹫祭司",
                entityType: "mowziesmobs:umvuthana_crane_player",
                count: 2,
                costItem: "minecraft:gold_nugget",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"荒原鹫祭司"}',
                    Attributes: [
                        { Base: 120.0, Name: "minecraft:generic.max_health" },
                        { Base: 0.85, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_faith" },
                    mask: 5
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "复仇荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"复仇荒原鹫"}',
                    Attributes: [
                        { Base: 140.0, Name: "minecraft:generic.max_health" },
                        { Base: 12.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fury" },
                    mask: 0
                }
            },
            {
                name: "恐惧荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"恐惧荒原鹫"}',
                    Attributes: [
                        { Base: 140.0, Name: "minecraft:generic.max_health" },
                        { Base: 12.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_fear" },
                    mask: 1
                }
            },
            {
                name: "狂暴荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"狂暴荒原鹫"}',
                    Attributes: [
                        { Base: 140.0, Name: "minecraft:generic.max_health" },
                        { Base: 12.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_rage" },
                    mask: 2
                }
            },
            {
                name: "极乐荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"极乐荒原鹫"}',
                    Attributes: [
                        { Base: 140.0, Name: "minecraft:generic.max_health" },
                        { Base: 12.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_bliss" },
                    mask: 3
                }
            },
            {
                name: "痛苦荒原鹫",
                entityType: "mowziesmobs:umvuthana_follower_player",
                count: 1,
                costItem: "minecraft:gold_nugget",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"痛苦荒原鹫"}',
                    Attributes: [
                        { Base: 140.0, Name: "minecraft:generic.max_health" },
                        { Base: 12.0, Name: "minecraft: generic.attack_damage" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_misery" },
                    mask: 4
                }
            },
            {
                name: "荒原鹫祭司",
                entityType: "mowziesmobs:umvuthana_crane_player",
                count: 3,
                costItem: "minecraft:gold_nugget",
                costAmount: 6,
                nbt: {
                    CustomName:'{"text":"荒原鹫祭司"}',
                    Attributes: [
                        { Base: 160.0, Name: "minecraft:generic.max_health" },
                        { Base: 1.0, Name: "minecraft:generic.movement_speed" }
                    ],
                    Health: 999,
                    storedMask: { Count: 1, id: "mowziesmobs:umvuthana_mask_faith" },
                    mask: 5
                }
            }
        ]
    }
}

//亡灵军团
let allyUndead = {
    1: {
        units: [
            {
                name: "骷髅兵",
                entityType: "hundred_years_war:hyw_skeleton_archer",
                count: 8,
                costItem: "minecraft:bone_meal",
                costAmount: 16,
                nbt: {
                    CustomName:'{"text":"骷髅兵"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:bone_boots" },
                        { Count: 1, id: "immersive_armors:bone_helmet" }
                    ],
                    MeleeWeapon: { Count: 1, id: "minecraft:stone_sword" },
                    RangedWeapon: { Count: 1, id: "minecraft:bow" },
                    HandItems: [{ Count: 1, id: "minecraft:bow" }],
                    Attributes: [
                        { Base: 30.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 30.0,
                    Health: 30.0
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "骷髅兵",
                entityType: "hundred_years_war:hyw_skeleton_archer",
                count: 12,
                costItem: "minecraft:bone_meal",
                costAmount: 24,
                nbt: {
                    CustomName:'{"text":"骷髅兵"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:bone_boots" },
                        { Count: 1, id: "immersive_armors:bone_leggings" },
                        { Count: 1, id: "immersive_armors:bone_chestplate" },
                        { Count: 1, id: "immersive_armors:bone_helmet" }
                    ],
                    MeleeWeapon: { Count: 1, id: "minecraft:iron_sword" },
                    RangedWeapon: { Count: 1, id: "minecraft:bow" },
                    HandItems: [{ Count: 1, id: "minecraft:bow" }],
                    Attributes: [{ Base: 30.0, Name: "minecraft:generic.max_health" }],
                    MaxHealth: 35.0,
                    Health: 35.0
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "骷髅兵",
                entityType: "hundred_years_war:hyw_skeleton_archer",
                count: 16,
                costItem: "minecraft:bone_meal",
                costAmount: 32,
                nbt: {
                    CustomName:'{"text":"骷髅兵"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:bone_boots" },
                        { Count: 1, id: "immersive_armors:bone_leggings" },
                        { Count: 1, id: "immersive_armors:bone_chestplate" },
                        { Count: 1, id: "immersive_armors:bone_helmet" }
                    ],
                    MeleeWeapon: { Count: 1, id: "minecraft:iron_sword" },
                    RangedWeapon: { Count: 1, id: "minecraft:bow" },
                    HandItems: [{ Count: 1, id: "minecraft:bow" }],
                    Attributes: [
                        { Base: 40.0, Name: "minecraft:generic.max_health" },
                        { Base: 4.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 40.0,
                    Health: 40.0
                }
            }
        ]
    }
}

// 攻城武器
let allySiege = {
    1: {
        units: [
            {
                name: "弩炮",
                entityType: "hundred_years_war:springald",
                count: 2,
                costItem: "minecraft:iron_nugget",
                costAmount: 6,
                nbt: {
                    Attributes: [
                        { Base: 100.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 100.0,
                    Health: 100.0
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "弩炮",
                entityType: "hundred_years_war:springald",
                count: 2,
                costItem: "minecraft:iron_nugget",
                costAmount: 6,
                nbt: {
                    Attributes: [
                        { Base: 150.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 150.0,
                    Health: 150.0
                }
            },
            {
                name: "投石炮",
                entityType: "hundred_years_war:mangonels",
                count: 2,
                costItem: "minecraft:iron_nugget",
                costAmount: 3,
                nbt: {
                    Attributes: [
                        { Base: 150.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 150.0,
                    Health: 150.0
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "弩炮",
                entityType: "hundred_years_war:springald",
                count: 2,
                costItem: "minecraft:iron_nugget",
                costAmount: 6,
                nbt: {
                    Attributes: [
                        { Base: 200.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 200.0,
                    Health: 200.0
                }
            },
            {
                name: "投石炮",
                entityType: "hundred_years_war:mangonels",
                count: 2,
                costItem: "minecraft:iron_nugget",
                costAmount: 3,
                nbt: {
                    Attributes: [
                        { Base: 200.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 200.0,
                    Health: 200.0
                }
            },
            {
                name: "蜂巢炮",
                entityType: "hundred_years_war:nest_of_bees",
                count: 1,
                costItem: "minecraft:iron_block",
                costAmount: 3,
                nbt: {
                    Attributes: [
                        { Base: 200.0, Name: "minecraft:generic.max_health" }
                    ],
                    MaxHealth: 200.0,
                    Health: 200.0
                }
            }
        ]
    }
}

//钢铁的意志
let allyFerrousWroughtnaut={
    1: {
        units: [
            {
                name: "钢铁的意志",
                entityType: "minecraft:iron_golem",
                count: 1,
                costItem: "minecraft:iron_block",
                costAmount: 3,
                nbt: {
                    CustomName:'{"text":"钢铁的意志"}',
                    Attributes: [
                        { Base: 300.0, Name: "minecraft:generic.max_health" },
                        { Base: 2.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 300.0,
                    Health: 300.0
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "钢铁的意志",
                entityType: "minecraft:iron_golem",
                count: 1,
                costItem: "minecraft:iron_block",
                costAmount: 3,
                nbt: {
                    CustomName:'{"text":"钢铁的意志"}',
                    Attributes: [
                        { Base: 320.0, Name: "minecraft:generic.max_health" },
                        { Base: 6.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 320.0,
                    Health: 320.0
                }
            },
            {
                name: "钢铁的残念",
                entityType: "minecraft:iron_golem",
                count: 1,
                costItem: "minecraft:iron_block",
                costAmount: 1,
                nbt: {
                    CustomName:'{"text":"钢铁的残念"}',
                    Attributes: [
                        { Base: 40.0, Name: "minecraft:generic.max_health" },
                        { Base: 2.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 40.0,
                    Health: 40.0
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "钢铁的意志",
                entityType: "minecraft:iron_golem",
                count: 1,
                costItem: "minecraft:iron_block",
                costAmount: 3,
                nbt: {
                    CustomName:'{"text":"钢铁的意志"}',
                    Attributes: [
                        { Base: 360.0, Name: "minecraft:generic.max_health" },
                        { Base: 10.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 360.0,
                    Health: 360.0
                }
            },
            {
                name: "钢铁的残念",
                entityType: "minecraft:iron_golem",
                count: 2,
                costItem: "minecraft:iron_block",
                costAmount: 2,
                nbt: {
                    CustomName:'{"text":"钢铁的残念"}',
                    Attributes: [
                        { Base: 50.0, Name: "minecraft:generic.max_health" },
                        { Base: 4.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 50.0,
                    Health: 50.0
                }
            }
        ]
    }
}

//凋灵骷髅死士
let allyWitherSkeleton={
    1: {
        units: [
            {
                name: "凋灵骷髅收割者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 1,
                costItem: "minecraft:coal_block",
                costAmount: 2,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅收割者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_scythe" }
                    ],
                    Attributes: [{ Base: 45.0, Name: "minecraft:generic.max_health" }],
                    MaxHealth: 45.0,
                    Health: 45.0
                }
            },
            {
                name: "凋灵骷髅蹂躏者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 1,
                costItem: "minecraft:coal_block",
                costAmount: 2,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅蹂躏者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_longsword" },
                        { Count: 1, id: "minecraft:stone_sword" }
                    ],
                    Attributes: [{ Base: 45.0, Name: "minecraft:generic.max_health" }],
                    MaxHealth: 45.0,
                    Health: 45.0
                }
            },
            {
                name: "凋灵骷髅狂暴者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 1,
                costItem: "minecraft:coal_block",
                costAmount: 2,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅狂暴者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_katana" }
                    ],
                    Attributes: [{ Base: 45.0, Name: "minecraft:generic.max_health" }],
                    MaxHealth: 45.0,
                    Health: 45.0
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "凋灵骷髅收割者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 2,
                costItem: "minecraft:coal_block",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅收割者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_scythe" }
                    ],
                    Attributes: [
                        { Base: 60.0, Name: "minecraft:generic.max_health" },
                        { Base: 5.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 60.0,
                    Health: 60.0
                }
            },
            {
                name: "凋灵骷髅蹂躏者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 2,
                costItem: "minecraft:coal_block",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅蹂躏者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_longsword" },
                        { Count: 1, id: "minecraft:stone_sword" }
                    ],
                    Attributes: [
                        { Base: 60.0, Name: "minecraft:generic.max_health" },
                        { Base: 5.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 60.0,
                    Health: 60.0
                }
            },
            {
                name: "凋灵骷髅狂暴者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 1,
                costItem: "minecraft:coal_block",
                costAmount: 2,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅狂暴者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" },
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_katana" }
                    ],
                    Attributes: [
                        { Base: 60.0, Name: "minecraft:generic.max_health" },
                        { Base: 5.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 60.0,
                    Health: 60.0
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "凋灵骷髅收割者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 2,
                costItem: "minecraft:coal_block",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅收割者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [ 
                        { Count: 1, id: "sticknstone:stone_scythe" },
                    ],
                    Attributes: [
                        { Base: 75.0, Name: "minecraft:generic.max_health" },
                        { Base: 6.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 75.0,
                    Health: 75.0
                }
            },
            {
                name: "凋灵骷髅蹂躏者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 2,
                costItem: "minecraft:coal_block",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅蹂躏者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" },
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_longsword" },
                        { Count: 1, id: "minecraft:stone_sword" },
                    ],
                    Attributes: [
                        { Base: 75.0, Name: "minecraft:generic.max_health" },
                        { Base: 6.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 75.0,
                    Health: 75.0
                }
            },
            {
                name: "凋灵骷髅狂暴者",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 2,
                costItem: "minecraft:coal_block",
                costAmount: 4,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅狂暴者"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "immersive_armors:wither_helmet" }
                    ],
                    HandItems: [
                        { Count: 1, id: "sticknstone:stone_katana" },
                    ],
                    Attributes: [
                        { Base: 75.0, Name: "minecraft:generic.max_health" },
                        { Base: 6.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 75.0,
                    Health: 75.0
                }
            },
            {
                name: "凋灵骷髅百夫长",
                entityType: "hundred_years_war:hyw_wither_skeleton",
                count: 1,
                costItem: "minecraft:coal_block",
                costAmount: 6,
                nbt: {
                    CustomName:'{"text":"凋灵骷髅百夫长"}',
                    ArmorItems: [
                        { Count: 1, id: "immersive_armors:wither_boots" },
                        { Count: 1, id: "immersive_armors:wither_leggings" },
                        { Count: 1, id: "immersive_armors:wither_chestplate" },
                        { Count: 1, id: "mowziesmobs:wrought_helmet" },
                    ],
                    HandItems: [{ Count: 1, id: "sticknstone:stone_claymore" }],
                    Attributes: [
                        { Base: 90.0, Name: "minecraft:generic.max_health" },
                        { Base: 8.0, Name: "minecraft:generic.armor" },
                        { Base: 2.0, Name: "minecraft:generic.armor_toughness" }
                    ],
                    ActiveEffects: [
                        {
                            Id: 11,
                            Amplifier: 0,
                            Duration: 6000,
                            ShowParticles: 0
                        }
                    ],
                    AttackDamage:8,
                    MaxHealth: 90.0,
                    Health: 90.0
                }
            }
        ]
    }
}

//复归魂灵
let allyCollectedSouls = {
    1: {
        units: [
            {
                name: "复归匣灵",
                entityType: "dungeonnowloading:sealed_chaos",
                count: 6,
                costItem: "born_in_chaos_v1:phantom_powder",
                costAmount: 24,
                nbt: {
                    CustomName:'{"text":"复归匣灵"}',
                    DespawnTicks:99999,
                    Attributes: [
                        { Base: 50.0, Name: "minecraft:generic.max_health" },
                        { Base: 9.0, Name: "minecraft:generic.attack_damage" },
                        { Base: 8.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 50.0,
                    Health: 50.0
                }
            }
        ]
    },
    2: {
        units: [
            {
                name: "复归匣灵",
                entityType: "dungeonnowloading:sealed_chaos",
                count: 8,
                costItem: "born_in_chaos_v1:phantom_powder",
                costAmount: 32,
                nbt: {
                    CustomName:'{"text":"复归匣灵"}',
                    DespawnTicks:99999,
                    Attributes: [
                        { Base: 60.0, Name: "minecraft:generic.max_health" },
                        { Base: 10.0, Name: "minecraft:generic.attack_damage" },
                        { Base: 10.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 60.0,
                    Health: 60.0
                }
            }
        ]
    },
    3: {
        units: [
            {
                name: "复归匣灵",
                entityType: "dungeonnowloading:sealed_chaos",
                count: 10,
                costItem: "born_in_chaos_v1:phantom_powder",
                costAmount: 40,
                nbt: {
                    CustomName:'{"text":"复归匣灵"}',
                    DespawnTicks:99999,
                    Attributes: [
                        { Base: 75.0, Name: "minecraft:generic.max_health" },
                        { Base: 11.0, Name: "minecraft:generic.attack_damage" },
                        { Base: 12.0, Name: "minecraft:generic.armor" }
                    ],
                    MaxHealth: 75.0,
                    Health: 75.0
                }
            }
        ]
    }
}

