Compare commits

...

13 Commits

Author SHA1 Message Date
Dandaedre 342b2105c6 Bump db
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-08-07 19:33:03 +02:00
Dandaedre 8238a4bf2f Adds antimat & pierce 2026-08-07 19:04:21 +02:00
Dandaedre 26b4b31684 Cost added to wpns
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-08-07 16:19:02 +02:00
Dandaedre dd9999b347 Modules & DB 2026-08-03 16:50:54 +02:00
Dandaedre 4dc5a5f03e
Bump 2026-08-01 03:38:51 +02:00
Dandaedre 61206c7a88
Small display
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-31 23:53:35 +02:00
Dandaedre a9dc404da0
New db 2026-07-31 05:48:15 +02:00
Dandaedre 2bfccc4175
Typo on thresholds
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-30 22:46:10 +02:00
Dandaedre 395c03621f
Better thresholds
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-30 17:05:42 +02:00
Dandaedre b5f4b8daf0
More balancing
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-30 05:14:55 +02:00
Dandaedre ba8e6c09f3
Balancing & some display features
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-30 04:04:03 +02:00
Dandaedre d7914c6eaa
thresholds
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-29 20:39:52 +02:00
Dandaedre f34d581522
Naming & Creatures
Build Successful The build was successful
Ravenous/ravenous-tools/pipeline/head This commit looks good Details
2026-07-29 04:28:53 +02:00
15 changed files with 83 additions and 102 deletions

4
.gitmodules vendored
View File

@ -1,4 +1,4 @@
[submodule "ravenous_databases"] [submodule "ravenous_databases"]
path = ravenous_databases path = ravenous_databases
# url = git@git.dandaedre.com:Ravenous/ravenous_databases.git url = git@git.dandaedre.com:Ravenous/ravenous_databases.git
url = https://proxy.dandaedre.com/gitea/Ravenous/ravenous_databases.git # url = https://proxy.dandaedre.com/gitea/Ravenous/ravenous_databases.git

View File

@ -6,7 +6,7 @@ resolver = "3"
# edition = "2024" # edition = "2024"
# license = "MIT OR Apache-2.0" # license = "MIT OR Apache-2.0"
[workspace.package] [workspace.package]
version = "0.3.26" version = "0.3.34"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -62,7 +62,7 @@ pub fn make_pdf(args: &MakeConfig, _config: &Config) -> Result<()> {
Some(MakeTargets::Clean) => make_clean(args), Some(MakeTargets::Clean) => make_clean(args),
None => { None => {
let file = make_file(args); let file = make_file(args);
launch_subprocess(args, file).unwrap(); launch_subprocess(args, file).context("Launching PdfLatex")?;
} }
} }
Ok(()) Ok(())

View File

@ -3,6 +3,7 @@
use comfy_table::modifiers; use comfy_table::modifiers;
use config::monsters::BalanceArgs; use config::monsters::BalanceArgs;
use indexmap::IndexMap;
use crate::{ use crate::{
Config, Connection, Config, Connection,
@ -12,9 +13,8 @@ use crate::{
monster_structs::{PlayerBalancing, ProfileStance}, monster_structs::{PlayerBalancing, ProfileStance},
}; };
pub mod attack_analysis; pub mod attack_analysis;
pub mod helpers;
use std::collections::HashMap;
pub mod defense_analysis; pub mod defense_analysis;
pub mod helpers;
pub mod monster_analysis_structs; pub mod monster_analysis_structs;
/// Shows balancing information for monsters and players. /// Shows balancing information for monsters and players.
@ -53,7 +53,7 @@ pub fn show_balancing_data(
.filter(|v| &v.profile_hse == player_level) .filter(|v| &v.profile_hse == player_level)
.collect::<Vec<PlayerBalancing>>(); .collect::<Vec<PlayerBalancing>>();
let profiles: HashMap<ProfileStance, PlayerBalancing> = available_profiles let profiles: IndexMap<ProfileStance, PlayerBalancing> = available_profiles
.into_iter() .into_iter()
.map(|profile| (profile.profile_stance, profile)) .map(|profile| (profile.profile_stance, profile))
.collect(); .collect();

View File

@ -8,15 +8,15 @@ use crate::{
monster_structs::{PlayerBalancing, ProfileStance}, monster_structs::{PlayerBalancing, ProfileStance},
}; };
use config::monsters::BalanceArgs; use config::monsters::BalanceArgs;
use indexmap::IndexMap;
use more_fields::FieldsAsSlice; use more_fields::FieldsAsSlice;
use std::cmp::max; use std::cmp::max;
use std::collections::HashMap;
/// Returns the Balancing profile, and eventually the other profiles as well /// Returns the Balancing profile, and eventually the other profiles as well
pub fn all_attacks( pub fn all_attacks(
args: &BalanceArgs, args: &BalanceArgs,
attack: &monster_analysis_structs::MonsterBalancingAttack, attack: &monster_analysis_structs::MonsterBalancingAttack,
victims: &HashMap<ProfileStance, PlayerBalancing>, victims: &IndexMap<ProfileStance, PlayerBalancing>,
mode: DefenseMode, mode: DefenseMode,
) -> Vec<DamageReport> { ) -> Vec<DamageReport> {
let mut balancing = vec![ let mut balancing = vec![
@ -72,9 +72,14 @@ pub fn attack_player(
}) })
.sum::<f64>(); .sum::<f64>();
let damage_incoming = avg_damage_incomming; let damage_incoming = avg_damage_incomming;
let damage_tanked = (damage_incoming - (victim.protection + victim.strength) as f64).max(0.0); let mut damage_tanked =
let armor_loss = (damage_incoming - (victim.protection + victim.strength) as f64).max(0.0);
let mut armor_loss =
(damage_incoming - victim.protection as f64).clamp(0.0, attack.armor_break as f64); (damage_incoming - victim.protection as f64).clamp(0.0, attack.armor_break as f64);
if avg_successes_left > 0. {
armor_loss += attack.antimaterial as f64;
damage_tanked += attack.armor_pierce.min(victim.protection) as f64;
}
let report = DamageReport { let report = DamageReport {
damage_incoming, damage_incoming,
damage_tanked, damage_tanked,

View File

@ -8,13 +8,14 @@ use crate::{
monster_structs::{CreatureBodyPart, FullMonster, PlayerBalancing, ProfileHSE, ProfileStance}, monster_structs::{CreatureBodyPart, FullMonster, PlayerBalancing, ProfileHSE, ProfileStance},
}; };
use config::monsters::BalanceArgs; use config::monsters::BalanceArgs;
use indexmap::IndexMap;
use more_fields::FieldsAsSlice; use more_fields::FieldsAsSlice;
use std::{collections::HashMap, ops::AddAssign}; use std::ops::AddAssign;
pub(crate) fn display_player_attacks( pub(crate) fn display_player_attacks(
args: &BalanceArgs, args: &BalanceArgs,
creature: &FullMonster, creature: &FullMonster,
profiles: &HashMap<ProfileStance, PlayerBalancing>, profiles: &IndexMap<ProfileStance, PlayerBalancing>,
mode: DefenseMode, mode: DefenseMode,
) { ) {
let _ = mode; let _ = mode;
@ -25,7 +26,7 @@ pub(crate) fn display_player_attacks(
fn report_from_profile( fn report_from_profile(
args: &BalanceArgs, args: &BalanceArgs,
creature: &FullMonster, creature: &FullMonster,
profiles: &HashMap<ProfileStance, PlayerBalancing>, profiles: &IndexMap<ProfileStance, PlayerBalancing>,
) -> Vec<DefenseReport> { ) -> Vec<DefenseReport> {
creature creature
.body_parts .body_parts
@ -405,7 +406,7 @@ pub struct DefenseReport {
pub(crate) fn display_monster_attacks( pub(crate) fn display_monster_attacks(
args: &BalanceArgs, args: &BalanceArgs,
creature: FullMonster, creature: FullMonster,
profiles: &HashMap<ProfileStance, PlayerBalancing>, profiles: &IndexMap<ProfileStance, PlayerBalancing>,
mode: DefenseMode, mode: DefenseMode,
) { ) {
let attacks: Vec<monster_analysis_structs::MonsterBalancingAttack> = creature.into(); let attacks: Vec<monster_analysis_structs::MonsterBalancingAttack> = creature.into();

View File

@ -29,6 +29,8 @@ impl From<FullMonster> for Vec<MonsterBalancingAttack> {
target_damage: sub_attack.target_damage_category.into(), target_damage: sub_attack.target_damage_category.into(),
target_ab: sub_attack.target_ab_category.into(), target_ab: sub_attack.target_ab_category.into(),
target_stance: sub_attack.target_stance.into(), target_stance: sub_attack.target_stance.into(),
antimaterial: from_opt_i64(sub_attack.antimaterial.as_ref()),
armor_pierce: from_opt_i64(sub_attack.armor_pierce.as_ref()),
} }
}) })
.filter(|sub| !sub.damage.is_empty()) .filter(|sub| !sub.damage.is_empty())
@ -76,6 +78,10 @@ pub struct MonsterBalancingAttack {
pub target_ab: ArmorBreakCategory, pub target_ab: ArmorBreakCategory,
#[TEXT(name = "stance_t")] #[TEXT(name = "stance_t")]
pub target_stance: ProfileStance, pub target_stance: ProfileStance,
#[SKIP(name = "AM")]
pub antimaterial: i64,
#[SKIP(name = "AP")]
pub armor_pierce: i64,
} }
pub struct DamageDone { pub struct DamageDone {

View File

@ -34,7 +34,7 @@ pub(crate) fn fetch_all_creature_data(
filter: Option<&str>, filter: Option<&str>,
) -> Result<Vec<FullMonster>, anyhow::Error> { ) -> Result<Vec<FullMonster>, anyhow::Error> {
let list_creatures = let list_creatures =
generic_deserialize::<CreatureData>(connection, "creature", filter, Some("id"))?; generic_deserialize::<CreatureData>(connection, "creature", filter, Some("sort_id"))?;
let mut finished_creatures = Vec::new(); let mut finished_creatures = Vec::new();
for creature in list_creatures.iter() { for creature in list_creatures.iter() {
// println!("Working on {}@{}", creature.id, creature.name); // println!("Working on {}@{}", creature.id, creature.name);

View File

@ -29,12 +29,18 @@ macro_rules! template_load {
} }
handlebars_helper!(plus: |x:i64 ,y:Option<i64>| x+y.unwrap_or(0)); handlebars_helper!(plus: |x:i64 ,y:Option<i64>| x+y.unwrap_or(0));
handlebars_helper!(threshold_bonus: |threshold:i64, size:i64| {
let mal = (threshold-6-size).min(-2);
let bon = threshold-mal-6;
format!("{:+}{:+}",mal,bon)
});
fn load_templates(config: &Config) -> Result<Handlebars<'_>> { fn load_templates(config: &Config) -> Result<Handlebars<'_>> {
let mut templates = Handlebars::new(); let mut templates = Handlebars::new();
template_load!(templates, &config.monster, common_part); template_load!(templates, &config.monster, common_part);
template_load!(templates, &config.monster, master_part); template_load!(templates, &config.monster, master_part);
templates.register_helper("plus", Box::new(plus)); templates.register_helper("plus", Box::new(plus));
templates.register_helper("threshold_bonus", Box::new(threshold_bonus));
Ok(templates) Ok(templates)
} }

View File

@ -96,11 +96,28 @@ macro_rules! dim_if_not {
} }
}}; }};
} }
macro_rules! attr_if_not {
($self:ident, $content:expr, $attribute:expr) => {{
match $self.showcase {
Showcase::Display => $content
// .add_attribute(Attribute::Dim)
.add_attribute($attribute),
// .fg(Color::DarkGrey)
Showcase::Balancing => $content,
}
}};
}
impl ToRow for DamageReport { impl ToRow for DamageReport {
fn to_row(&self) -> Row { fn to_row(&self) -> Row {
vec![ vec![
match self.showcase { 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), Showcase::Display => self.stance.to_string().to_cell().fg(Color::DarkGrey),
}, },
dim_if_not!( dim_if_not!(
@ -111,12 +128,16 @@ impl ToRow for DamageReport {
) )
.to_cell() .to_cell()
), ),
format!("{}", self.fatigue,) attr_if_not!(
.to_cell() self,
.add_attribute(match self.fatigue == 0 { format!("{}", self.fatigue,)
true => Attribute::Hidden, .to_cell()
false => Attribute::NoHidden, .add_attribute(match self.fatigue == 0 {
}), true => Attribute::Hidden,
false => Attribute::NoHidden,
}),
Attribute::Hidden
),
dim_if_not!( dim_if_not!(
self, self,
format!("{:.1} [>{:.1}]", self.successes_left, self.threshold) format!("{:.1} [>{:.1}]", self.successes_left, self.threshold)
@ -143,7 +164,7 @@ impl ToRow for DamageReport {
}, },
) )
), ),
dim_if_not!(self, self.damage_expected.to_cell()), attr_if_not!(self, self.damage_expected.to_cell(), Attribute::Hidden),
dim_if_not!( dim_if_not!(
self, self,
format!("{:.1}/{:.1}", self.armor_loss, self.player_integrity) format!("{:.1}/{:.1}", self.armor_loss, self.player_integrity)
@ -160,7 +181,7 @@ impl ToRow for DamageReport {
}, },
) )
), ),
dim_if_not!(self, self.armor_expected.to_cell()), attr_if_not!(self, self.armor_expected.to_cell(), Attribute::Hidden),
] ]
.into() .into()
} }
@ -240,6 +261,7 @@ impl ToCell for ProfileStance {
ProfileStance::Defensive => Into::<Cell>::into(format!("{self:?}")).fg(Color::Blue), ProfileStance::Defensive => Into::<Cell>::into(format!("{self:?}")).fg(Color::Blue),
ProfileStance::Offensive => Into::<Cell>::into(format!("{self:?}")).fg(Color::Red), ProfileStance::Offensive => Into::<Cell>::into(format!("{self:?}")).fg(Color::Red),
ProfileStance::Neutral => Into::<Cell>::into(format!("{self:?}")).fg(Color::Yellow), ProfileStance::Neutral => Into::<Cell>::into(format!("{self:?}")).fg(Color::Yellow),
ProfileStance::NoDefense => Into::<Cell>::into(format!("{self:?}")).fg(Color::DarkRed),
} }
} }
} }

View File

@ -203,6 +203,12 @@ pub struct MonsterSingleAttack {
/// Armor_break of the ability. /// Armor_break of the ability.
#[INTEGER] #[INTEGER]
pub armor_break: Option<i64>, pub armor_break: Option<i64>,
/// armor_pierce of the ability.
#[INTEGER]
pub armor_pierce: Option<i64>,
/// antimaterial of the ability.
#[INTEGER]
pub antimaterial: Option<i64>,
/// Action‑point cost (used in systems where actions and fatigue are separate). /// Action‑point cost (used in systems where actions and fatigue are separate).
#[INTEGER] #[INTEGER]
pub cost_action: Option<String>, pub cost_action: Option<String>,
@ -295,77 +301,6 @@ pub struct GroupedResists {
inner: IndexMap<String, Vec<Option<String>>>, inner: IndexMap<String, Vec<Option<String>>>,
} }
// / Counts how many items in `list` have a **Some** value for the given `field`.
// /
// / # Example
// / ```
// / let pierced = count_present!(part_list, piercing);
// / ```
// macro_rules! count_present {
// ($list:expr, $field:ident) => {
// // We keep everything inside its own block so that it behaves like a single expression.
// let $field = $list
// .body_parts
// .iter()
// .filter(|v| v.$field.is_some())
// .count();
// };
// }
// impl GroupedResists {
// pub fn from_list_body_parts(part_list: CreatureListBodyParts) -> Self {
// let mut inner: IndexMap<String, Vec<Option<String>>> = IndexMap::new();
// count_present!(part_list, slash);
// count_present!(part_list, blunt);
// count_present!(part_list, piercing);
// count_present!(part_list, celestial);
// count_present!(part_list, fire);
// count_present!(part_list, magma);
// count_present!(part_list, earth);
// count_present!(part_list, wood);
// count_present!(part_list, abyssal);
// count_present!(part_list, wind);
// count_present!(part_list, water);
// count_present!(part_list, ice);
// count_present!(part_list, thunder);
// if slash > 0 {
// for part in part_list.body_parts {
// let key = &part.body_part_name;
// if let Some(values) = inner.get_mut(key) {
// let value = part_list.get(key).to_owned();
// values.push(value);
// }
// println!("{}", part.body_part_name);
// println!("{}", slash);
// }
// }
// // for elt in &[
// // "slash",
// // "blunt",
// // "piercing",
// // "celestial",
// // "fire",
// // "magma",
// // "earth",
// // "wood",
// // "abyssal",
// // "wind",
// // "water",
// // "ice",
// // "thunder",
// // ] {}
// // if slash > 0 { // inner.insert(
// // "slash".to_string(),
// // part_list
// // .body_parts
// // .iter()
// // .map(|v| v.slash.clone())
// // .collect(),
// // );
// // }
// Self { inner }
// }
// }
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, FieldsAsSlice)] #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, FieldsAsSlice)]
/// All creature stats used in combat calculations. /// All creature stats used in combat calculations.
pub struct CreatureStats { pub struct CreatureStats {
@ -400,6 +335,8 @@ pub struct CreatureStats {
#[INTEGER] #[INTEGER]
pub resistance_transcendentale: i64, pub resistance_transcendentale: i64,
#[INTEGER] #[INTEGER]
pub size_bonus_to_hit: i64,
#[INTEGER]
pub mvt_walk: i64, pub mvt_walk: i64,
#[INTEGER] #[INTEGER]
pub mvt_trot: i64, pub mvt_trot: i64,
@ -498,6 +435,7 @@ pub struct PlayerBalancing {
pub enum ProfileStance { pub enum ProfileStance {
Defensive, Defensive,
Offensive, Offensive,
NoDefense,
#[default] #[default]
Neutral, Neutral,
} }

View File

@ -71,6 +71,7 @@ pub struct ExportableEquipement {
pub vitesse: String, pub vitesse: String,
pub discretion: String, pub discretion: String,
pub difficulty: String, pub difficulty: String,
pub cost: String,
pub special: String, pub special: String,
pub needs_break: bool, pub needs_break: bool,
} }
@ -145,6 +146,7 @@ impl From<&RefinedEquipement> for ExportableEquipement {
category: value.inner.category_base, category: value.inner.category_base,
special: special.join(", "), special: special.join(", "),
needs_break: false, needs_break: false,
cost: value.inner.cost.to_string(),
} }
} }
} }

View File

@ -149,6 +149,7 @@ end_empty = ""
[monster] [monster]
common_part = ''' common_part = '''
{{#with data}} {{#with data}}
\section{ {{{~name~}}} }
\begin{tblr}{ \begin{tblr}{
vspan=even, hspan=minimal, vspan=even, hspan=minimal,
colspec={X[-1] X[-1]}, colspec={X[-1] X[-1]},
@ -168,7 +169,7 @@ Nom & {{{name}}} \\
{{/if}}{{#if default_human_reaction}}Réaction à l'homme & \SetCell{font=\footnotesize} {{{default_human_reaction}}} \\ {{/if}}{{#if default_human_reaction}}Réaction à l'homme & \SetCell{font=\footnotesize} {{{default_human_reaction}}} \\
{{/if}}{{#if variants}}Variantes & \SetCell{font=\footnotesize} {{{variants}}}\\ {{/if}}{{#if variants}}Variantes & \SetCell{font=\footnotesize} {{{variants}}}\\
{{/if}}{{#if size}}Taille & \SetCell{font=\footnotesize} {{{size}}}\\ {{/if}}{{#if size}}Taille & \SetCell{font=\footnotesize} {{{size}}}\\
{{/if}}{{#if traces}}Traces de pas & \SetCell{font=\footnotesize} {{{traces}}}\\ {{/if}}{{#if traces}}Traces & \SetCell{font=\footnotesize} {{{traces}}}\\
{{/if}}{{#if habits}}Mœurs & \SetCell{font=\footnotesize} {{{habits}}} \\ {{/if}}{{#if habits}}Mœurs & \SetCell{font=\footnotesize} {{{habits}}} \\
{{/if}}\end{tblr} {{/if}}\end{tblr}
\vfill \vfill
@ -210,7 +211,7 @@ master_part = '''
\hline \hline
{{#with stats as |s|}} {{#with stats as |s|}}
{{#each ../body_parts.body_parts}} {{#each ../body_parts.body_parts}}
\SetCell{font=\footnotesize} {{{body_part_name}}} & ${{{threshold_p1}}} $ & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p1}}} $ & \SetCell{r,f}\tiny ${{{life_points_p1}}} $ & ${{{threshold_p2}}} $ & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p2}}} $ & \SetCell{r,f}\tiny ${{{life_points_p2}}} $\\ \SetCell{font=\footnotesize} {{{body_part_name}}} & ${{{threshold_p1}}} ${\tiny ({{{threshold_bonus threshold_p1 ../../stats/size_bonus_to_hit~}}}) } & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p1}}} $ & \SetCell{r,f}\tiny ${{{life_points_p1}}} $ & ${{{threshold_p2}}} ${\tiny ({{{threshold_bonus threshold_p1 ../../stats/size_bonus_to_hit~}}}) } & ${{{plus s.strength protection_p1}}}[{{{protection_p1}}}]$ & \SetCell{r,f}\tiny ${{{integrity_p2}}} $ & \SetCell{r,f}\tiny ${{{life_points_p2}}} $\\
{{/each}} {{/each}}
{{/with}} {{/with}}
{{#if data.annotations_master}} {{#if data.annotations_master}}
@ -276,7 +277,7 @@ master_part = '''
{{#each phase as | attack_group |}} {{#each phase as | attack_group |}}
\hline \hline
{{#each attack_group.attacklist}} {{#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}}{{#if armor_pierce}} {{{armor_pierce}}}\arpierce{} {{/if}}{{#if antimaterial}} {{{antimaterial}}}\antimateriel{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\
{{/each}} {{/each}}
{{#if description_final}}\SetCell{bg={{{color}}}} & \SetCell[c=12]{j} {{{description_final}}} & & & & & & & & & & \\ {{#if description_final}}\SetCell{bg={{{color}}}} & \SetCell[c=12]{j} {{{description_final}}} & & & & & & & & & & \\
{{/if}} \hline {{/if}} \hline
@ -348,10 +349,10 @@ template='''
rowhead = 1, rowhead = 1,
} }
\hline \hline
{Forme} & {Maniement} & {\damagew} & + & {R.Max} & \arbreakk & \protection & \integrite & $\mathbb{T}$2 & $\mathbb{T}$1 & {Modes} & {Esq.} & {Par.} & {Vit.} & {Disc.} & {Spécial} & {Diff.} \\ {Forme} & {Maniement} & {\damagew} & + & {R.Max} & \arbreakk & \protection & \integrite & $\mathbb{T}$2 & $\mathbb{T}$1 & {Modes} & {Esq.} & {Par.} & {Vit.} & {Disc.} & {Spécial} & {\aLvl} & {\aCst} \\
\hline \hline
{{#each this}} {{#each this}}
{{name}} & {{maniement}} & {{damage_base}} & {{damage_per}} & {{rmax}} & {{arbreak}} & {{protection}} & {{integrity}} & {{torque_two_handed}} & {{torque_one_handed}} & $\mathbf{ {{{~modes~}}} }$ & {{esquive}} & {{parrade}} & {{vitesse}} & {{discretion}} & {{{special}}} & \ddlvl{ {{~difficulty~}} } \\ {{name}} & {{maniement}} & {{damage_base}} & {{damage_per}} & {{rmax}} & {{arbreak}} & {{protection}} & {{integrity}} & {{torque_two_handed}} & {{torque_one_handed}} & $\mathbf{ {{{~modes~}}} }$ & {{esquive}} & {{parrade}} & {{vitesse}} & {{discretion}} & {{{special}}} & \ddlvl{ {{~difficulty~}} } & \ddlvl{ {{~cost~}} } \\
{{#if needs_break}} {{#if needs_break}}
\hline \hline
\hline \hline

0
monsters.db Normal file
View File

@ -1 +1 @@
Subproject commit 44fa85167e2e10d08f2488a61fb3945495a64265 Subproject commit c5af8a89ccb47b4a4bd57412a13bec90809fc61a