* Get whether the unit is affected by fatal wounds. * Normally only soldiers are affected by fatal wounds. * @return Is the unit affected by wounds? */
| 2219 | * @return Is the unit affected by wounds? |
| 2220 | */ |
| 2221 | bool BattleUnit::isWoundable() const |
| 2222 | { |
| 2223 | return (_type=="SOLDIER" || (Options::alienBleeding && _faction != FACTION_PLAYER && _armor->getSize() == 1)); |
| 2224 | } |
| 2225 | /** |
| 2226 | * Get whether the unit is affected by morale loss. |
| 2227 | * Normally only small units are affected by morale loss. |
no test coverage detected