Preflight worm-ride arrivals for bot candidates
This commit is contained in:
1 parent
3d95db88cc
commit
583cd97a25
6 files changed
+108
-2
No files matched your search
+3
-2
@@ -100,7 +100,7 @@ import { sandmasterDefaultChoice } from './sandmaster-movement';
|
||||
import { sandmasterWormCollection } from './sandmaster-worm';
|
||||
import { richeseCardDefinition } from './richese-cards';
|
||||
import { presenceAt } from './force-presence';
|
||||
import { botArrivalBlock } from './bot-arrival';
|
||||
import { botArrivalBlock, botWormRideArrivalBlock } from './bot-arrival';
|
||||
import { validateCohortSelection, type OrnithopterMode } from './ornithopter';
|
||||
import { fighterCount, isAdvisor } from './advisors';
|
||||
import { casualtyOptions, maxCombatDial, maxCombatSupport, type CombatForces } from './combat';
|
||||
@@ -2667,7 +2667,8 @@ function policyActions(g: GameView): Action[] {
|
||||
...destinations(g)
|
||||
.filter(
|
||||
(to) =>
|
||||
to.t !== d.territory && botEntryAllowed(g, me, to.t, to.s, 'move'),
|
||||
to.t !== d.territory && botEntryAllowed(g, me, to.t, to.s, 'move') &&
|
||||
!botWormRideArrivalBlock(g, to.t, to.s),
|
||||
)
|
||||
.slice(0, 16)
|
||||
.map(
|
||||
|
||||
Reference in new issue
Block a user