database_monsters #166

Merged
Dandaedre merged 2 commits from database_monsters into main 2026-07-28 19:19:10 +02:00
6 changed files with 7 additions and 8 deletions

View File

@ -105,7 +105,7 @@ impl From<&RefinedEquipement> for ExportableEquipement {
(&Some(WeaponBaseShape::Ranged), Some(WeaponBaseSize::SuperHeavy)) => parmure += 1,
_ => (),
}
special.push(format!(r"\Gls{{parmure}} {parmure}"));
special.push(format!(r"\glssymbol{{parmure}} {parmure}"));
}
if value.inner.range != 0 {
let mut range = value.inner.range;

View File

@ -318,8 +318,7 @@ impl EquipementTargets {
(EquipementTargets::Weapons, WeaponBaseShape::Slash) => true,
(EquipementTargets::Weapons, WeaponBaseShape::Ranged) => true,
(EquipementTargets::Weapons, WeaponBaseShape::Exotic) => true,
// You can apply weapon modifiers to shields, not the best behaviour but well
(EquipementTargets::Weapons, WeaponBaseShape::Shields) => true,
// (EquipementTargets::Weapons, WeaponBaseShape::Shields) => true,
(EquipementTargets::Armors, WeaponBaseShape::Armors) => true,
(EquipementTargets::Shields, WeaponBaseShape::Shields) => true,
(EquipementTargets::Ranged, WeaponBaseShape::Ranged) => true,

View File

@ -241,7 +241,7 @@ fn stupid_adjective_fix(name_base: &str, adj: String) -> String {
"Hast" => masc(),
"Marteau" => masc(),
"Arc" => masc(),
"Bouclier" => masc(),
// "Bouclier" => masc(),
_ => adj,
}
}

View File

@ -34,7 +34,7 @@ impl ToTex for RefinedEquipementList {
for i in 0..data.len() - 1 {
if data[i].category != data[i + 1].category
&& data[i + 1].category == Some(super::WeaponBaseShape::Shields)
// && data[i + 1].category == Some(super::WeaponBaseShape::Shields)
{
data[i].needs_break = true;
}

View File

@ -244,10 +244,10 @@ master_part = '''
\rb{Initiative} & \rb{Valeur} & \rb{Actions} & \rb{Valeur} & \rb{Actions} & & \rb{Force} & \rb{Perception} & \rb{Volonté} & \rb{Res Alt} & \rb{Torque} & \rb{Vigilance} & \rb{Fatigue} & & \rb{Marche} & \rb{Trot} & \rb{Course} & \rb{Vol} & & \rb{Bon. Phy} {{#if stats.elemental_bonus_dmg}}& \rb{Bon. Élém} {{/if}}\\
{{#each init_full}}
{{#if @index}}
\SetCell{font=\footnotesize} $i_{{(plus @index 1)}} $ & ${{{p1_value}}} $ & {{{pt1_actions}}} & ${{{p2_value}}} $ & {{{p2_actions}}} \\
\SetCell{font=\footnotesize} $i_{{(plus @index 1)}} $ & ${{{p1_value}}} $ & {{{p1_actions}}} & ${{{p2_value}}} $ & {{{p2_actions}}} \\
{{else}}
{{#with ../stats~}}
\SetCell{font=\footnotesize} $i_1 $ & ${{{p1_init}}} $ & $4 $A & ${{{p2_init}}} $ & $4 $A & & ${{{strength}}} $ & ${{{perception}}} $ & ${{{willpower}}} $ & ${{{alteration_resistance}}} $ & ${{{torque}}} $ & ${{{awareness}}} $ & ${{{fatigue}}} $ & & ${{{mvt_walk}}} $ & ${{{mvt_trot}}} $ & ${{{mvt_run}}} $ & ${{{mvt_flight}}} $ & & ${{{physical_bonus_dmg}}} $ {{#if elemental_bonus_dmg}} & ${{elemental_bonus_dmg}} $ {{/if}} \\
\SetCell{font=\footnotesize} $i_1 $ & ${{{p1_init}}} $ & ${{{p1_actions}}} $A & ${{{p2_init}}} $ & ${{{p1_actions}}} $A & & ${{{strength}}} $ & ${{{perception}}} $ & ${{{willpower}}} $ & ${{{alteration_resistance}}} $ & ${{{torque}}} $ & ${{{awareness}}} $ & ${{{fatigue}}} $ & & ${{{mvt_walk}}} $ & ${{{mvt_trot}}} $ & ${{{mvt_run}}} $ & ${{{mvt_flight}}} $ & & ${{{physical_bonus_dmg}}} $ {{#if elemental_bonus_dmg}} & ${{elemental_bonus_dmg}} $ {{/if}} \\
{{/with}}
{{/if}}
{{/each}}

@ -1 +1 @@
Subproject commit 8e6a31899f87f3cfe6de856238457161ebb811c2
Subproject commit 99d2b53d89d54ca4a2043f4f86122fc3dcf0b281