EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

EnemySquad

An enemy's part in a squad: its role, its claim to lead the march, its share of a foe's strike tokens and the formation it leads in (`ruleset.squad`).

Signature

{ formation: (ContentId)?, lead_priority: (SquadPriority)?, mend: (SquadMend)?, role: (SquadRole)?, token_cost: (TokenCost)?, voice: (VoiceId)? }

Fields

NameTypeMeaning
formationContentIdFormation of the ruleset (`ruleset.squad.formations`) its squad marches in while it leads; absent: the ruleset's march formation.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
lead_prioritySquadPriorityThe living member with the highest leads the squad's march (ties: the oldest); absent: 0.
Range: 0…255; Unit: integer
mendSquadMendHow it mends its squad's members (role `healer`, required there and only there).
roleSquadRoleWhat it does in the squad; `ranged` needs a ranged weapon in hand. Absent: `ranged` with a ranged weapon in hand, else `melee`.
token_costTokenCostShare of its foe's strike tokens one strike of its takes; at least the whole budget (the larger of `melee_tokens` and `ranged_tokens`, at least 2), it holds its foe's whole circle, melee and ranged: it strikes alone (a boss). Absent: 1.
Range: 1…255; Unit: count
voiceVoiceIdVoice whose call lines it speaks in a bubble over its head (`voice.calls`); absent: it calls without words.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: voice