Connect stable occupied Homeworld income sharing and native protections

This commit is contained in:
Quintine committed 2026-10-05 09:12:41 +11:00
1 parent 84d2ba1d3d
commit 5e902e384d
24 files changed
+1536 -41

No files matched your search

+6 -1
View File
@@ -2685,6 +2685,11 @@ function policyActions(g: GameView): Action[] {
return caladanReinforcementActions(g);
if (d.kind === 'grummanCollection')
return grummanCollectionActions(g);
if (d.kind === 'homeworldOccupiedIncome') {
const offer = g.homeworldOccupiedIncome;
return offer && !offer.blocked ? [{ type: 'decision', event: offer.event,
world: offer.world, ownAmount: offer.amount }] : [];
}
if (d.kind === 'battleCards')
return [
{
@@ -3625,7 +3630,7 @@ function policyActions(g: GameView): Action[] {
if (b.preparation) {
if (b.preparation.owner !== me.id) return [];
if (b.preparation.kind === 'voice')
return level === 0
return level === 0 || b.preparation.blocked
? [{ type: 'declineBattlePower' }]
: [
{