(&self, mage_id: UnitID)
| 1615 | } |
| 1616 | |
| 1617 | fn ok_if_blink_ready(&self, mage_id: UnitID) -> Result<(), GameError> { |
| 1618 | let mage = self.my_unit(mage_id)?; |
| 1619 | mage.ok_if_blink_unlocked()?; |
| 1620 | mage.ok_if_ability_ready()?; |
| 1621 | Ok(()) |
| 1622 | } |
| 1623 | |
| 1624 | /// Whether the mage is ready to blink. Tests whether the mage's ability |
| 1625 | /// heat is sufficiently low. |
no test coverage detected