Support Advanced native Homeworld return
Verify and publish checkpoint container / container (push) Successful in 11m10s
Verify and publish checkpoint container / container (push) Successful in 11m10s
This commit is contained in:
1 parent
1cf90f1328
commit
89569e92a1
14 files changed
+429
-39
No files matched your search
@@ -147,7 +147,7 @@ export function homeworldShipmentChoice(
|
||||
return result;
|
||||
}
|
||||
if (
|
||||
view.guildTransportCanceled &&
|
||||
!view.advanced && view.guildTransportCanceled &&
|
||||
me.faction === 'guild' &&
|
||||
destination === 'homeworld:guild'
|
||||
) {
|
||||
@@ -266,9 +266,9 @@ export function homeworldShipmentActions(
|
||||
const targets = worlds
|
||||
.filter(
|
||||
(world) =>
|
||||
(world.native !== me.id || me.faction === 'guild') &&
|
||||
(view.advanced || world.native !== me.id || me.faction === 'guild') &&
|
||||
!(
|
||||
view.guildTransportCanceled &&
|
||||
!view.advanced && view.guildTransportCanceled &&
|
||||
me.faction === 'guild' &&
|
||||
world.native === me.id
|
||||
) &&
|
||||
@@ -306,12 +306,8 @@ export function homeworldShipmentActions(
|
||||
sourceGroups.push(imperial);
|
||||
const actions: Action[] = [];
|
||||
for (const target of targets) {
|
||||
if (
|
||||
target.world.native === me.id &&
|
||||
target.world.side === 'high' &&
|
||||
target.strength === 0
|
||||
)
|
||||
continue;
|
||||
if (!view.advanced && target.world.native === me.id &&
|
||||
target.world.side === 'high' && target.strength === 0) continue;
|
||||
const required = Math.max(
|
||||
1,
|
||||
target.strength + [0, 1, 2, 3][difficulty] - target.existing,
|
||||
|
||||
Reference in new issue
Block a user