(&self, healer_id: UnitID)
| 1717 | } |
| 1718 | |
| 1719 | fn ok_if_overcharge_ready(&self, healer_id: UnitID) -> Result<(), GameError> { |
| 1720 | let healer = self.my_unit(healer_id)?; |
| 1721 | healer.ok_if_overcharge_unlocked()?; |
| 1722 | healer.ok_if_ability_ready()?; |
| 1723 | Ok(()) |
| 1724 | } |
| 1725 | |
| 1726 | /// Whether the healer is ready to overcharge. Tests whether the healer's |
| 1727 | /// ability heat is sufficiently low. |
no test coverage detected