mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 01:23:25 +00:00
improved algorithm for calculating player name location
This commit is contained in:
@@ -15,12 +15,15 @@ export const devConfig = new class extends DefaultConfig {
|
||||
player(): PlayerConfig {
|
||||
return devPlayerConfig
|
||||
}
|
||||
numBots(): number {
|
||||
return 500
|
||||
}
|
||||
}
|
||||
|
||||
export const devPlayerConfig = new class extends DefaultPlayerConfig {
|
||||
startTroops(playerInfo: PlayerInfo): number {
|
||||
if (playerInfo.isBot) {
|
||||
return 10
|
||||
return 5000
|
||||
}
|
||||
return 5000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user