Support staged group Guild transport
Verify and publish checkpoint container / container (push) Successful in 12m5s
Verify and publish checkpoint container / container (push) Successful in 12m5s
This commit is contained in:
1 parent
478b38f5de
commit
2fe97ddd1f
10 files changed
+424
-23
No files matched your search
@@ -423,6 +423,7 @@ export function GameTable({
|
||||
const guildTransport =
|
||||
useGuildSecret ||
|
||||
me.faction === 'guild' ||
|
||||
!!g.coalitionFunding && groupGuildShipmentRate(g.players, me.id, g.coalitionState) ||
|
||||
g.players.some((p) => p.faction === 'guild' && p.id === me.ally);
|
||||
const [botFaction, setBotFaction] = useState('');
|
||||
const [botDifficulty, setBotDifficulty] = useState<Difficulty>('Medium');
|
||||
@@ -897,6 +898,8 @@ export function GameTable({
|
||||
type: 'guildShip',
|
||||
...(useGuildSecret ? {nexus: guildSecretEvent} : {}),
|
||||
...payment,
|
||||
...(g.coalitionFunding && currentCoalitionShares.length && !useGuildSecret && !includesNoField
|
||||
? {allyPayment:0, coalitionContributions:currentCoalitionShares} : {}),
|
||||
...movementGroup,
|
||||
territory: selected,
|
||||
sector,
|
||||
@@ -910,11 +913,15 @@ export function GameTable({
|
||||
sector,
|
||||
amount,
|
||||
...payment,
|
||||
...(g.coalitionFunding && currentCoalitionShares.length
|
||||
? {allyPayment:0, coalitionContributions:currentCoalitionShares} : {}),
|
||||
};
|
||||
const returnTransportAction: Action = {
|
||||
type: 'guildShip',
|
||||
...(useGuildSecret ? {nexus: guildSecretEvent} : {}),
|
||||
...payment,
|
||||
...(g.coalitionFunding && currentCoalitionShares.length && !useGuildSecret && !includesNoField
|
||||
? {allyPayment:0, coalitionContributions:currentCoalitionShares} : {}),
|
||||
...movementGroup,
|
||||
territory: 'reserves',
|
||||
amount,
|
||||
|
||||
Reference in new issue
Block a user