fixed first round effect and migrated logging
This commit is contained in:
parent
b45d04b872
commit
e7d6b74aab
10 changed files with 539 additions and 222 deletions
|
|
@ -2,8 +2,9 @@ use bevy_ecs::prelude::*;
|
|||
|
||||
use crate::{
|
||||
effect::Effects,
|
||||
player::stats::{
|
||||
AdditiveBonus, CritRate, Defence, Dexterity, SimpleStatBonus, Speed, Strength,
|
||||
player::{
|
||||
stats::{AdditiveBonus, CritRate, Defence, Dexterity, SimpleStatBonus, Speed, Strength},
|
||||
BodyPart,
|
||||
},
|
||||
Stages,
|
||||
};
|
||||
|
|
@ -191,6 +192,20 @@ pub enum DrugCooldown {
|
|||
Vicodin,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum EducationPartDamageBonus {
|
||||
Bio2380,
|
||||
}
|
||||
|
||||
impl EducationPartDamageBonus {
|
||||
pub fn dmg_bonus(self, part: BodyPart) -> Option<f32> {
|
||||
match part {
|
||||
BodyPart::Throat => Some(0.10),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Bundle, Default)]
|
||||
pub(crate) struct PassiveBundle {
|
||||
pub merits: Merits,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue