#################################################
# Star Level System Expanded - Raid Settings
#################################################

GlobalSettings: {}
Raids:
- Name: army_eikthyr
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_eikthyr
    NotRequiredGlobalKeys:
    - defeated_gdking
  Spawns:
  - PrefabName: Greyling
    SpawnInterval: 4
    MaxSpawned: 20
    LevelMax: 5
    UseRaidLevelSystem: true
  - PrefabName: Neck
    CreatureAI: Alerted
    SpawnInterval: 6
    MaxSpawned: 10
    LevelMax: 5
    UseRaidLevelSystem: true
  - PrefabName: Boar
    CreatureAI: Alerted
    SpawnInterval: 6
    MaxSpawned: 10
    LevelMax: 5
    UseRaidLevelSystem: true
  StartMessage: $event_eikthyrarmy_start
  EndMessage: $event_eikthyrarmy_end
  ForceEnvironment: Misty
- Name: foresttrolls
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_eikthyr
    NotRequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Troll
    CreatureAI: AgitatedByBuild
    SpawnInterval: 30
    MaxSpawned: 9
    SpawnGroupSize: 2
    LevelMax: 3
    UseRaidLevelSystem: true
    CustomCreatureLevelUpChance:
      1: 50
      2: 25
      3: 20
      4: 15
      5: 7
      6: 3
      7: 1
  StartMessage: $event_foresttrolls_start
  EndMessage: $event_foresttrolls_end
  ForceEnvironment: DeepForest_Mist
- Name: army_theelder
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_gdking
    NotRequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Greydwarf
    SpawnInterval: 3
    MaxSpawned: 20
    SpawnGroupSize: 3
    LevelMax: 5
    UseRaidLevelSystem: true
  - PrefabName: Greydwarf_Elite
    CreatureAI: AgitatedByBuild
    SpawnInterval: 8
    MaxSpawned: 6
    LevelMax: 5
    UseRaidLevelSystem: true
  - PrefabName: Greydwarf_Shaman
    CreatureAI: Alerted
    SpawnInterval: 8
    MaxSpawned: 4
    LevelMax: 5
    UseRaidLevelSystem: true
  StartMessage: $event_gdkingarmy_start
  EndMessage: $event_gdkingarmy_end
  ForceEnvironment: DeepForest_Mist
- Name: skeletons
  Duration: 90
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - defeated_gdking
    NotRequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Skeleton
    CreatureAI: Alerted
    SpawnInterval: 4
    MaxSpawned: 20
    SpawnGroupSize: 3
    LevelMax: 20
  - PrefabName: Skeleton_Poison
    CreatureAI: Alerted
    SpawnInterval: 6
    MaxSpawned: 8
    LevelMax: 20
  StartMessage: $event_skeletons_start
  EndMessage: $event_skeletons_end
  ForceEnvironment: Crypt
- Name: blobs
  Duration: 90
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_gdking
    NotRequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Blob
    SpawnInterval: 4
    MaxSpawned: 20
    SpawnGroupSize: 2
    LevelMax: 12
    UseRaidLevelSystem: true
  - PrefabName: BlobElite
    SpawnInterval: 8
    MaxSpawned: 8
    LevelMax: 12
    UseRaidLevelSystem: true
  StartMessage: $event_blobs_start
  EndMessage: $event_blobs_over
  ForceEnvironment: SwampRain
- Name: ghosts
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Ghost
    CreatureAI: AgitatedByBuild
    SpawnInterval: 30
    MaxSpawned: 12
    LevelMax: 16
    UseRaidLevelSystem: true
  - PrefabName: Wraith
    CreatureAI: AgitatedByBuild
    SpawnInterval: 30
    MaxSpawned: 12
    LevelMax: 16
    UseRaidLevelSystem: true
  StartMessage: $event_ghosts_start
  EndMessage: $event_ghosts_end
  ForceEnvironment: Ghosts
- Name: surtlings
  RaidCoolDownMinutes: 120
  Activation:
    Biomes:
    - Swamp
    - Meadows
    - BlackForest
    RequiredGlobalKeys:
    - defeated_gdking
    NotRequiredGlobalKeys:
    - defeated_bonemass
  Spawns:
  - PrefabName: Surtling
    SpawnInterval: 4
    MaxSpawned: 40
    SpawnGroupSize: 2
    LevelMax: 20
    RequiredModifiers:
      Fire: Major
  StartMessage: $event_surtlings_start
  EndMessage: $event_surtlings_end
  ForceEnvironment: Ashlands_CinderRain
- Name: army_bonemass
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_bonemass
    NotRequiredGlobalKeys:
    - defeated_dragon
  Spawns:
  - PrefabName: Skeleton
    CreatureAI: Alerted
    SpawnInterval: 4
    MaxSpawned: 30
    SpawnGroupSize: 2
    LevelMax: 12
    UseRaidLevelSystem: true
  - PrefabName: Blob
    CreatureAI: Alerted
    SpawnInterval: 6
    MaxSpawned: 10
    LevelMax: 12
    UseRaidLevelSystem: true
  - PrefabName: Draugr
    CreatureAI: AgitatedByBuild
    SpawnInterval: 6
    MaxSpawned: 12
    SpawnGroupSize: 2
    LevelMax: 12
    UseRaidLevelSystem: true
  - PrefabName: Draugr_Elite
    MaxSpawned: 4
    LevelMax: 12
    UseRaidLevelSystem: true
  - PrefabName: Draugr_Ranged
    SpawnInterval: 8
    MaxSpawned: 8
    LevelMax: 12
    UseRaidLevelSystem: true
  StartMessage: $event_bonemassarmy_start
  EndMessage: $event_bonemassarmy_end
  ForceEnvironment: SwampRain
- Name: wolves
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - defeated_bonemass
    NotRequiredGlobalKeys:
    - defeated_dragon
  Spawns:
  - PrefabName: Wolf
    SpawnInterval: 4
    MaxSpawned: 20
    SpawnGroupSize: 3
    LevelMax: 16
    UseRaidLevelSystem: true
  - PrefabName: Fenring
    SpawnInterval: 12
    MaxSpawned: 8
    LevelMax: 16
    UseRaidLevelSystem: true
  StartMessage: $event_wolves_start
  EndMessage: $event_wolves_end
  ForceEnvironment: SnowStorm
- Name: cultists
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_dragon
    NotRequiredGlobalKeys:
    - defeated_queen
  Spawns:
  - PrefabName: Ulv
    SpawnInterval: 4
    MaxSpawned: 20
    SpawnGroupSize: 3
    LevelMax: 20
    UseRaidLevelSystem: true
  - PrefabName: Fenring_Cultist
    SpawnInterval: 12
    MaxSpawned: 6
    LevelMax: 20
    UseRaidLevelSystem: true
  StartMessage: $event_caves_start
  EndMessage: $event_caves_end
  ForceEnvironment: SnowStorm
- Name: army_moder
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_dragon
    NotRequiredGlobalKeys:
    - defeated_goblinking
  Spawns:
  - PrefabName: Hatchling
    SpawnInterval: 6
    MaxSpawned: 12
    SpawnGroupSize: 2
    LevelMax: 16
    UseRaidLevelSystem: true
  - PrefabName: Wolf
    SpawnInterval: 6
    MaxSpawned: 12
    SpawnGroupSize: 3
    LevelMax: 16
    UseRaidLevelSystem: true
  - PrefabName: Fenring_Cultist
    CreatureAI: AgitatedByBuild
    SpawnInterval: 12
    MaxSpawned: 6
    LevelMax: 16
    UseRaidLevelSystem: true
  StartMessage: $event_moderarmy_start
  EndMessage: $event_moderarmy_end
  ForceEnvironment: Twilight_Snow
- Name: army_goblin
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_goblinking
    NotRequiredGlobalKeys:
    - defeated_queen
  Spawns:
  - PrefabName: Goblin
    SpawnInterval: 4
    MaxSpawned: 16
    SpawnGroupSize: 2
    LevelMax: 20
    UseRaidLevelSystem: true
  - PrefabName: GoblinArcher
    SpawnInterval: 6
    MaxSpawned: 12
    LevelMax: 20
    UseRaidLevelSystem: true
  - PrefabName: GoblinShaman
    CreatureAI: Alerted
    MaxSpawned: 4
    LevelMax: 20
    UseRaidLevelSystem: true
  - PrefabName: GoblinBrute
    CreatureAI: AgitatedByBuild
    SpawnInterval: 12
    MaxSpawned: 2
    LevelMax: 20
    UseRaidLevelSystem: true
  StartMessage: $event_goblinarmy_start
  EndMessage: $event_goblinarmy_end
  ForceEnvironment: GoblinKing
- Name: bats
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - defeated_goblinking
    NotRequiredGlobalKeys:
    - defeated_queen
  Spawns:
  - PrefabName: Bat
    SpawnInterval: 3
    MaxSpawned: 20
    SpawnGroupSize: 3
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $event_bats_start
  EndMessage: $event_bats_end
  ForceEnvironment: GoblinKing
- Name: gjall_ambush
  Duration: 90
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_queen
    NotRequiredGlobalKeys:
    - defeated_fader
  Spawns:
  - PrefabName: Gjall
    CreatureAI: AgitatedByBuild
    SpawnInterval: 12
    MaxSpawned: 4
    LevelMax: 26
    UseRaidLevelSystem: true
  - PrefabName: Tick
    SpawnInterval: 8
    MaxSpawned: 16
    SpawnGroupSize: 2
    LevelMax: 26
    UseRaidLevelSystem: true
    ModifiersNotAllowed:
    - FireNova
  StartMessage: $event_gjallarmy_start
  EndMessage: $event_gjallarmy_end
  ForceEnvironment: Mistlands_thunder
- Name: army_seekers
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_queen
    NotRequiredGlobalKeys:
    - defeated_fader
  Spawns:
  - PrefabName: Seeker
    SpawnInterval: 4
    MaxSpawned: 12
    LevelMax: 26
    UseRaidLevelSystem: true
  - PrefabName: SeekerBrute
    CreatureAI: AgitatedByBuild
    SpawnInterval: 12
    MaxSpawned: 2
    LevelMax: 26
    UseRaidLevelSystem: true
  - PrefabName: Tick
    SpawnInterval: 8
    MaxSpawned: 6
    LevelMax: 26
    UseRaidLevelSystem: true
  StartMessage: $event_seekerarmy_start
  EndMessage: $event_seekerarmy_end
  ForceEnvironment: Mistlands_thunder
- Name: army_charred
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_queen
    NotRequiredGlobalKeys:
    - defeated_fader
  Spawns:
  - PrefabName: Charred_Twitcher
    SpawnInterval: 4
    MaxSpawned: 16
    SpawnGroupSize: 3
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Charred_Archer
    SpawnInterval: 12
    MaxSpawned: 6
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Charred_Melee
    SpawnInterval: 8
    MaxSpawned: 4
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $event_charredarmy_start
  EndMessage: $event_charredarmy_end
  ForceEnvironment: Ashlands_storm
- Name: army_charred_spawners
  Duration: 90
  RaidCoolDownMinutes: 120
  Activation:
    Chance: 50
    RequiredGlobalKeys:
    - defeated_queen
    NotRequiredGlobalKeys:
    - defeated_fader
  Spawns:
  - PrefabName: Spawner_CharredStone
    SpawnInterval: 4
    MaxSpawned: 4
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: event_charredspawnerarmy_start
  EndMessage: event_charrespawnerarmy_end
  ForceEnvironment: Ashlands_ashrain
- Name: hildir_boss_revenge1
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - hildir1
  Spawns:
  - PrefabName: Skeleton_Hildir
    SpawnInterval: 4
    MaxSpawned: 1
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Skeleton
    SpawnInterval: 6
    MaxSpawned: 16
    SpawnGroupSize: 3
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Skeleton_Poison
    MaxSpawned: 6
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $event_hildirboss1_start
  EndMessage: $event_hildirboss1_end
  ForceEnvironment: Ashlands_ashrain
  ForceMusic: ZCombatEventL2
- Name: hildir_boss_revenge2
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - hildir2
  Spawns:
  - PrefabName: Fenring_Cultist_Hildir
    SpawnInterval: 4
    MaxSpawned: 1
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Ulv
    SpawnInterval: 6
    MaxSpawned: 16
    SpawnGroupSize: 3
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Fenring_Cultist
    MaxSpawned: 4
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $event_hildirboss2_start
  EndMessage: $event_hildirboss2_end
  ForceEnvironment: Twilight_SnowStorm
  ForceMusic: ZCombatEventL3
- Name: hildir_boss_revenge3
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 50
    RequiredGlobalKeys:
    - hildir3
  Spawns:
  - PrefabName: GoblinBruteBros
    SpawnInterval: 4
    MaxSpawned: 1
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Goblin
    SpawnInterval: 6
    MaxSpawned: 16
    SpawnGroupSize: 3
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: GoblinShaman
    MaxSpawned: 2
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $event_hildirboss3_start
  EndMessage: $event_hildirboss3_end
  ForceEnvironment: GoblinKing
  ForceMusic: ZCombatEventL4
- Name: deathlink_surprise
  Duration: 180
  RaidCoolDownMinutes: 120
  Activation:
    NearBaseOnly: false
    Chance: 25
    RequiredGlobalKeys:
    - defeated_fader
    RequiredPlayerKeys:
    - Deathlink
  Spawns:
  - PrefabName: GoblinBruteBros
    SpawnInterval: 180
    MaxSpawned: 1
    Faction: Demon
    LevelMin: 15
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Fenring_Cultist_Hildir
    SpawnInterval: 180
    MaxSpawned: 1
    Faction: Demon
    LevelMin: 20
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Skeleton_Hildir
    SpawnInterval: 180
    MaxSpawned: 1
    Faction: Demon
    LevelMin: 25
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: Skeleton_Poison
    MaxSpawned: 8
    Faction: Demon
    LevelMin: 20
    LevelMax: 30
    UseRaidLevelSystem: true
  - PrefabName: GoblinShaman
    MaxSpawned: 2
    Faction: Demon
    LevelMin: 12
    LevelMax: 30
    UseRaidLevelSystem: true
  StartMessage: $SLS_Secret_event1_start
  EndMessage: $SLS_Secret_event1_end
  ForceEnvironment: Mistlands_thunder
  ForceMusic: ZCombatEventL4

