Merge pull request 'Adding some new values to InnerStats struct and renaming two for more clarity' (#26) from edit_InnerStats into main

Reviewed-on: #26
This commit is contained in:
Frédéric CAMPO 2025-02-10 20:58:22 +01:00
commit 5279365511
1 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,8 @@
// #[derive(Default)]
#[allow(clippy::missing_docs_in_private_items)]
pub struct InnerStats {
id: usize,
name: String,
rarity: u8,
cost: u8,
difficulty: u8,
@ -22,8 +24,8 @@ pub struct InnerStats {
damage_type: DamageMod,
protection: u8,
integrity: u8,
two_handed: u8,
one_handed: u8,
torque_two_handed: Option<u8>,
torque_one_handed: Option<u8>,
dodge: u8,
parry: u8,
speed: u8,
@ -31,7 +33,7 @@ pub struct InnerStats {
category: WeaponCategory,
special: Vec<String>,
action_cost: u8,
reload_cost: u8,
reload_cost: Option<u8>,
range: u8,
agility_bonus: u8,
}