Whether the healer can overcharge the given robot, without taking into account the healer's ability heat. Takes into account only the healer's ability range, and the location of the robot.
(&self, healer_id: UnitID, robot_id: UnitID)
| 1713 | /// account the healer's ability heat. Takes into account only the healer's |
| 1714 | /// ability range, and the location of the robot. |
| 1715 | pub fn can_overcharge(&self, healer_id: UnitID, robot_id: UnitID) -> bool { |
| 1716 | self.ok_if_can_overcharge(healer_id, robot_id).is_ok() |
| 1717 | } |
| 1718 | |
| 1719 | fn ok_if_overcharge_ready(&self, healer_id: UnitID) -> Result<(), GameError> { |
| 1720 | let healer = self.my_unit(healer_id)?; |
nothing calls this directly
no test coverage detected