try to balance a bit

This commit is contained in:
Jim 2025-09-02 17:36:22 -04:00
parent 6cea0e97e9
commit d35344f910
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
10 changed files with 141 additions and 48 deletions

View file

@ -90,6 +90,10 @@ impl Health {
}
self.current / self.max
}
pub fn max_out(&mut self) {
self.current = self.max;
}
}
impl Default for Health {