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

Method getLeadershipBonus

game/state/battle/battle.cpp:3715–3718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3713}
3714
3715int BattleScore::getLeadershipBonus()
3716{
3717 return (100 + 3 * casualtyPenalty) * (combatRating + friendlyFire + liveAlienCaptured) / 100;
3718}
3719
3720int BattleScore::getTotal()
3721{

Callers 1

BattleDebriefingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected