Adding some new values to InnerStats struct and renaming two for more clarity
This commit is contained in:
parent
d3ccc315c1
commit
95f7998e5c
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue