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

Method getIntelligence

src/Ruleset/Unit.cpp:192–195  ·  view source on GitHub ↗

* Gets the intelligence. This is the number of turns the AI remembers your troop positions. * @return The unit's intelligence. */

Source from the content-addressed store, hash-verified

190 * @return The unit's intelligence.
191 */
192int Unit::getIntelligence() const
193{
194 return _intelligence;
195}
196
197/**
198 * Gets the aggression. Determines the chance of revenge and taking cover.

Callers 1

AlienBAIStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected