Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3715
int BattleScore::getLeadershipBonus()
3716
{
3717
return (100 + 3 * casualtyPenalty) * (combatRating + friendlyFire + liveAlienCaptured) / 100;
3718
}
3719
3720
int BattleScore::getTotal()
3721
{
Callers
1
BattleDebriefing
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected