Enable early native-faction Truthtrance promises
This commit is contained in:
1 parent
8053e1fb26
commit
d5c5342d2d
22 files changed
+1371
-44
No files matched your search
@@ -36,6 +36,14 @@ export function charityAmount(
|
||||
return charityQuote(g, p).total;
|
||||
}
|
||||
|
||||
/** Native phase-opening collection, distinct from a player's ordinary claim. */
|
||||
export function choamOpeningIncome(
|
||||
g: Pick<Game, 'advanced' | 'turn' | 'inflation' | 'players' | 'homeworlds'>,
|
||||
owner: Pick<Player, 'id'>,
|
||||
) {
|
||||
return (2 * g.players.length + homeworldLowBonus(g, owner.id)) * charityMultiplier(g);
|
||||
}
|
||||
|
||||
export function charityPayer(
|
||||
g: Pick<Game, 'players' | 'turn' | 'choamCharity'>,
|
||||
beneficiary?: string,
|
||||
|
||||
Reference in new issue
Block a user