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

Method getAggression

src/Ruleset/Unit.cpp:201–204  ·  view source on GitHub ↗

* Gets the aggression. Determines the chance of revenge and taking cover. * @return The unit's aggression. */

Source from the content-addressed store, hash-verified

199 * @return The unit's aggression.
200 */
201int Unit::getAggression() const
202{
203 return _aggression;
204}
205
206/**
207 * Gets the unit's special ability.

Callers 4

thinkMethod · 0.45
setupAttackMethod · 0.45
evaluateAIModeMethod · 0.45
evaluateAIModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected