try to balance a bit
This commit is contained in:
parent
6cea0e97e9
commit
d35344f910
10 changed files with 141 additions and 48 deletions
|
|
@ -90,6 +90,10 @@ impl Health {
|
|||
}
|
||||
self.current / self.max
|
||||
}
|
||||
|
||||
pub fn max_out(&mut self) {
|
||||
self.current = self.max;
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Health {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue