Respect storm sector for rides into mobile stronghold
Verify and publish checkpoint container / container (push) Failing after 10m28s
Verify and publish checkpoint container / container (push) Failing after 10m28s
This commit is contained in:
1 parent
0d55333d5d
commit
ac1f32c859
11 files changed
+324
-3
No files matched your search
@@ -140,6 +140,7 @@ import { SandmasterMovement } from './sandmaster-movement';
|
||||
import { SandmasterWormChoice } from './sandmaster-worm';
|
||||
import { sandmasterWormCollection, sandmasterCunningCollection } from '@/game/sandmaster-worm';
|
||||
import { fremenCunningPublicDestinationBlock } from '@/game/nexus-fremen-cunning';
|
||||
import { wormRideDestinationBlock } from '@/game/worm-ride-destination';
|
||||
import { ResidualPoison, BattleLeaderOpportunity } from './residual-poison';
|
||||
import { PortableSnooper } from './portable-snooper';
|
||||
import {
|
||||
@@ -634,6 +635,8 @@ export function GameTable({
|
||||
? { ...baseSandmasterRide, key: selectedRidePile.key, before: selectedRidePile.before } : baseSandmasterRide;
|
||||
const cunningDestinationBlocked = g.decision?.kind === 'nexusFremenCunningRide' && source
|
||||
? fremenCunningPublicDestinationBlock(g, me.id, source, { territory: selected, sector }) : null;
|
||||
const wormDestinationBlocked = g.decision?.kind === 'wormRide'
|
||||
? wormRideDestinationBlock(g, selected, sector) : null;
|
||||
const [exchangeCards, setExchangeCards] = useState<Record<string, boolean>>(
|
||||
{},
|
||||
);
|
||||
@@ -4181,6 +4184,7 @@ export function GameTable({
|
||||
</label>
|
||||
))}
|
||||
{destination}
|
||||
{wormDestinationBlocked && <p className="notice">{wormDestinationBlocked}</p>}
|
||||
{me.elites &&
|
||||
Object.entries(rideForces)
|
||||
.filter(
|
||||
@@ -4218,7 +4222,7 @@ export function GameTable({
|
||||
(g.decision as { territory: string }).territory,
|
||||
),
|
||||
),
|
||||
})}
|
||||
}, !!wormDestinationBlocked)}
|
||||
{actionButton('Stay in this territory', {
|
||||
type: 'decision',
|
||||
accept: false,
|
||||
|
||||
Reference in new issue
Block a user