diff options
Diffstat (limited to 'src/playerstate.rs')
| -rw-r--r-- | src/playerstate.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playerstate.rs b/src/playerstate.rs index 4ccd6af..c7b5f8c 100644 --- a/src/playerstate.rs +++ b/src/playerstate.rs @@ -15,7 +15,8 @@ use crate::{ Healing, Movable, AttackType, - Autofight + Autofight, + Faction }, Result, aerr, @@ -134,7 +135,8 @@ impl PlayerState { ComponentWrapper::Fighter(Fighter{attack: AttackType::Attack(5), cooldown: 8, range: 1}), ComponentWrapper::Healing(Healing{delay: 50, health: 1, next_heal: None}), ComponentWrapper::Movable(Movable{cooldown: 2}), - ComponentWrapper::Autofight(Autofight::default()) + ComponentWrapper::Autofight(Autofight::default()), + ComponentWrapper::Faction(Faction::Good) ] } } |
