MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getReactionValue

Method getReactionValue

game/state/shared/agent.cpp:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244int Agent::getReactionValue() const
245{
246 return modified_stats.reactions * modified_stats.time_units / current_stats.time_units;
247}
248
249int Agent::getTULimit(int reactionValue) const
250{

Callers 5

onReachGoalMethod · 0.80
spendTUMethod · 0.80
spendRemainingTUMethod · 0.80
handleCollisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected