MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setSpecialAbility

Method setSpecialAbility

src/Savegame/BattleUnit.cpp:2266–2269  ·  view source on GitHub ↗

* Changes the unit's special ability. * @param specab special ability. */

Source from the content-addressed store, hash-verified

2264 * @param specab special ability.
2265 */
2266void BattleUnit::setSpecialAbility(SpecialAbility specab)
2267{
2268 _specab = specab;
2269}
2270
2271/**
2272 * Get the unit that is spawned when this one dies.

Callers 2

explodeMethod · 0.80
tallyUnitsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected