pub enum EncounterTier {
Ordinary,
Elite,
Boss,
}Expand description
What a wave is billed as (DSL v0.7, spec-0023). Consumed by the validation ladder (the run’s combat plan) and — since spec-0016 §1’s undefeated re-seat — by one emission site: a bonfire refreshes a billed wave that is still standing. Nothing about the encounter itself is scaled from it.
Variants§
Ordinary
Trash / pressure. No floor expectation: a bot that wins it cold proves nothing either way. The default.
Elite
A set-piece the content bills as a hard fight (spec-0016’s optional-elite and spawn-and-unleash vocabulary).
Boss
A campaign’s named fight. Same floor rule as elite; the distinction is
for the run report a human reads.
Implementations§
Source§impl EncounterTier
impl EncounterTier
Sourcepub fn token(self) -> &'static str
pub fn token(self) -> &'static str
The kebab tag, as it appears in the DSL and in the emitted combat plan.
Sourcepub fn has_floor_expectation(self) -> bool
pub fn has_floor_expectation(self) -> bool
Does the inverted floor gate (spec-0023) apply to this tier? A fight the content bills as hard carries an expectation the bot can measure; an ordinary one does not.
Trait Implementations§
Source§impl Clone for EncounterTier
impl Clone for EncounterTier
impl Copy for EncounterTier
Source§impl Debug for EncounterTier
impl Debug for EncounterTier
Source§impl Default for EncounterTier
impl Default for EncounterTier
Source§impl<'de> Deserialize<'de> for EncounterTier
impl<'de> Deserialize<'de> for EncounterTier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for EncounterTier
Source§impl JsonSchema for EncounterTier
impl JsonSchema for EncounterTier
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more