database_monsters #176
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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!(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit dfa02e2130a471080a14482f3481b9582f7be6e9
|
||||
Subproject commit fabb0cdc19ea1413e594dc54f02bfd521fd41fa4
|
||||
Loading…
Reference in New Issue