diff --git a/Cargo.toml b/Cargo.toml index 915b82e..365c980 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "3" # edition = "2024" # license = "MIT OR Apache-2.0" [workspace.package] -version = "0.3.31" +version = "0.3.32" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/monsters/src/monster_render.rs b/crates/monsters/src/monster_render.rs index fd1983e..b851b0e 100644 --- a/crates/monsters/src/monster_render.rs +++ b/crates/monsters/src/monster_render.rs @@ -111,7 +111,13 @@ impl ToRow for DamageReport { fn to_row(&self) -> Row { vec![ match self.showcase { - Showcase::Balancing => shorten_string(&self.name, 20).to_cell().fg(Color::Green), + Showcase::Balancing => format!( + "[{}]{}", + self.stance.to_string().chars().nth(0).unwrap_or(' '), + shorten_string(&self.name, 15) + ) + .to_cell() + .fg(Color::Green), Showcase::Display => self.stance.to_string().to_cell().fg(Color::DarkGrey), }, dim_if_not!( diff --git a/helper_config.toml b/helper_config.toml index 705b6f4..ce4fd58 100644 --- a/helper_config.toml +++ b/helper_config.toml @@ -277,7 +277,7 @@ master_part = ''' {{#each phase as | attack_group |}} \hline {{#each attack_group.attacklist}} -\SetCell{bg={{{../color}}}} & {{{name}}} & {{{attack_type}}} & {{{prerequisites}}} & {{{targetting}}} & {{{cost_fatigue}}} & {{{cost_action}}} & {{{element}}} & {{{damage_fatigue}}} &{{{damage_regular}}} {{{success}}}& {{#if armor_break}} {{{armor_break}}}\arbreakk{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\ +\SetCell{bg={{{../color}}}} & {{{name}}} & {{{attack_type}}} & {{{prerequisites}}} & {{{targetting}}} & {{{cost_fatigue}}} & {{{cost_action}}} & {{{element}}} & {{{damage_fatigue}}} & {{{damage_regular}}} {{{success}}} & {{#if armor_break}} {{{armor_break}}}\arbreakk{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\ {{/each}} {{#if description_final}}\SetCell{bg={{{color}}}} & \SetCell[c=12]{j} {{{description_final}}} & & & & & & & & & & \\ {{/if}} \hline diff --git a/ravenous_databases b/ravenous_databases index dfa02e2..fabb0cd 160000 --- a/ravenous_databases +++ b/ravenous_databases @@ -1 +1 @@ -Subproject commit dfa02e2130a471080a14482f3481b9582f7be6e9 +Subproject commit fabb0cdc19ea1413e594dc54f02bfd521fd41fa4