adds damage types and mods (weak/resist/immune), for all damage events
This commit is contained in:
parent
66013667d8
commit
8a44c94272
12 changed files with 131 additions and 10 deletions
|
|
@ -5,6 +5,7 @@ use super::{
|
|||
HungerClock,
|
||||
HungerState,
|
||||
TakingTurn,
|
||||
DamageType,
|
||||
};
|
||||
use bracket_lib::prelude::*;
|
||||
use specs::prelude::*;
|
||||
|
|
@ -78,7 +79,7 @@ impl<'a> System<'a> for HungerSystem {
|
|||
if hunger_clock.state == HungerState::Starving {
|
||||
add_effect(
|
||||
None,
|
||||
EffectType::Damage { amount: 1 },
|
||||
EffectType::Damage { amount: 1, damage_type: DamageType::Forced },
|
||||
Targets::Entity { target: entity }
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue