summaryrefslogtreecommitdiff
path: root/src/playerstate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerstate.rs')
-rw-r--r--src/playerstate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playerstate.rs b/src/playerstate.rs
index 4117bad..e27af1d 100644
--- a/src/playerstate.rs
+++ b/src/playerstate.rs
@@ -116,7 +116,7 @@ impl PlayerState {
capacity: self.inventory_capacity
}),
ComponentWrapper::Health(Health{health: self.health, maxhealth: self.maximum_health}),
- ComponentWrapper::Fighter(Fighter{attack: Attack::new(5)}),
+ ComponentWrapper::Fighter(Fighter{attack: Attack::new(5), cooldown: 8}),
ComponentWrapper::Healing(Healing{delay: 50, health: 1, next_heal: None})
]
}