mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 08:00:43 +00:00
slight nerf fake humans
This commit is contained in:
@@ -86,7 +86,7 @@ export class DefaultConfig implements Config {
|
|||||||
mag *= .8
|
mag *= .8
|
||||||
}
|
}
|
||||||
if (attacker.type() == PlayerType.FakeHuman && defender.type() == PlayerType.Bot) {
|
if (attacker.type() == PlayerType.FakeHuman && defender.type() == PlayerType.Bot) {
|
||||||
mag *= .6
|
mag *= .8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ export class DefaultConfig implements Config {
|
|||||||
// console.log(`to add ${toAdd}`)
|
// console.log(`to add ${toAdd}`)
|
||||||
|
|
||||||
if (player.type() == PlayerType.FakeHuman) {
|
if (player.type() == PlayerType.FakeHuman) {
|
||||||
toAdd *= 1.1
|
toAdd *= 1.0
|
||||||
}
|
}
|
||||||
if (player.type() == PlayerType.Bot) {
|
if (player.type() == PlayerType.Bot) {
|
||||||
toAdd *= .7
|
toAdd *= .7
|
||||||
|
|||||||
Reference in New Issue
Block a user