feat: added armour passives
This commit is contained in:
parent
cfe2631578
commit
451efd2bb7
17 changed files with 654 additions and 318 deletions
|
|
@ -183,7 +183,7 @@ impl BonusPartDamageBonus {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Display)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Component, Display)]
|
||||
#[cfg_attr(feature = "json", derive(serde::Deserialize, serde::Serialize))]
|
||||
#[cfg_attr(feature = "json", serde(rename_all = "snake_case"))]
|
||||
pub enum ArmourBonusType {
|
||||
|
|
@ -197,3 +197,26 @@ pub enum ArmourBonusType {
|
|||
Kinetokinesis,
|
||||
Impassable,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Component, Display)]
|
||||
pub enum DamageMitigationBonus {
|
||||
Impregnable {
|
||||
mitigation: f32,
|
||||
},
|
||||
Impenetrable {
|
||||
mitigation: f32,
|
||||
},
|
||||
Insurmountable {
|
||||
mitigation: f32,
|
||||
},
|
||||
Impassable {
|
||||
chance: f32,
|
||||
},
|
||||
Kinetokinesis {
|
||||
mitigation: f32,
|
||||
},
|
||||
ActiveKinetokinesis {
|
||||
mitigation: f32,
|
||||
remaining_turns: u16,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue