Implement Ix High paid Cyborg revival bonus

This commit is contained in:
Quintine committed 2026-10-25 19:39:01 +11:00
1 parent 86608f7ea9
commit 052737d0f9
18 files changed
+929 -12

No files matched your search

+4 -2
View File
@@ -426,7 +426,7 @@ export function quoteRevivalResume(
};
if (
pending.kind === 'forces' &&
pending.free > 0 &&
(pending.free > 0 || (pending.ixSuboidBonus ?? 0) > 0) &&
g.techTokens &&
p.faction !== 'tleilaxu'
) {
@@ -464,7 +464,9 @@ export function quoteRevivalResume(
lastFree === undefined || count(lastFree),
'The revival free-income receipt is invalid.',
);
const free = pending.free > 0;
// The physical Homeworld grant is one free-return event within the same
// invoice, without spending the ordinary free-rate ledger.
const free = pending.free > 0 || (pending.ixSuboidBonus ?? 0) > 0;
const reward =
free &&
lastFree !== g.turn &&