Skip to content

Commit

Permalink
fix: optimize transport
Browse files Browse the repository at this point in the history
  • Loading branch information
mindrunner committed Sep 17, 2024
1 parent 0b4bf20 commit f67d1bf
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/main/basedbot/fleet-strategies/get-fleet-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import { Game } from '@staratlas/sage'
import { Player } from '../lib/sage/state/user-account'
import { WorldMap } from '../lib/sage/state/world-map'

import { atlasnetFcStrategy } from './atlasnet-fc-strategy'
import { atlasnetLuStrategy } from './atlasnet-lu-strategy'

Check warning on line 6 in src/main/basedbot/fleet-strategies/get-fleet-strategy.ts

View workflow job for this annotation

GitHub Actions / lint

Dependency cycle via ../fsm/mine:15=>../lib/sage/act/load-cargo:8=>../../../basedbot:12

Check warning on line 6 in src/main/basedbot/fleet-strategies/get-fleet-strategy.ts

View workflow job for this annotation

GitHub Actions / lint

Dependency cycle via ../fsm/mine:15=>../lib/sage/act/load-cargo:8=>../../../basedbot:12
import { atlasnetQtStrategy } from './atlasnet-qt-strategy'
import { disbandAllStrategy } from './disband-all-strategy'
import { mainnetLuStrategy } from './mainnet-lu-strategy'
import { StrategyConfig } from './strategy-config'

Expand All @@ -20,17 +19,17 @@ export const getFleetStrategy = (
case 'AePY3wEoUFcFuXeUU9X26YK6tNKQMZovBgvY54LK2B8N':
return mainnetLuStrategy(map, player, game)
case 'CgHvzwGbwWv3CwLTvEgeqSKeD8EwMdTfiiCG3dFrKVVC':
return atlasnetFcStrategy(150)(map, player, game, 'mud')
// return disbandAllStrategy(map, player, game)
// return atlasnetFcStrategy(150)(map, player, game, 'mud')
return disbandAllStrategy(map, player, game)
case '9KBrgWVjsmdZ3YEjcsa3wrbbJREgZgS7vDbgoz2aHaNm':
return atlasnetFcStrategy(15)(map, player, game, 'ustur')
// return disbandAllStrategy(map, player, game)
// return atlasnetFcStrategy(15)(map, player, game, 'ustur')
return disbandAllStrategy(map, player, game)
case 'FUwHSqujzcPD44SDZYJXuk73NbkEyYQwcLMioHhpjbx2':
return atlasnetFcStrategy(2)(map, player, game, 'oni')
// return disbandAllStrategy(map, player, game)
// return atlasnetFcStrategy(2)(map, player, game, 'oni')
return disbandAllStrategy(map, player, game)
case '34ghznSJCYEMrS1aC55UYZZUuxfuurA9441aKnigmYyz':
return atlasnetQtStrategy(1)(map, player, game, 'le.local')
// return disbandAllStrategy(map, player, game)
// return atlasnetQtStrategy(1)(map, player, game, 'le.local')
return disbandAllStrategy(map, player, game)
default:
throw new Error('Unknown strategy')
}
Expand Down

0 comments on commit f67d1bf

Please sign in to comment.