mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
MISC: Add achievements for BN14 (#2140)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { Board, BoardState, PointState } from "../Types";
|
||||
|
||||
import { Player } from "@player";
|
||||
import { GoOpponent, GoColor } from "@enums";
|
||||
import { GoOpponent, GoColor, FactionName } from "@enums";
|
||||
import { newOpponentStats } from "../Constants";
|
||||
import { getAllChains, getPlayerNeighbors } from "./boardAnalysis";
|
||||
import { getKomi, resetAI } from "./goAI";
|
||||
@@ -77,6 +77,10 @@ export function endGoGame(boardState: BoardState) {
|
||||
Factions[factionName].setFavor(newFavor);
|
||||
statusToUpdate.rep += repToAdd;
|
||||
}
|
||||
|
||||
if (factionName === FactionName.Illuminati && statusToUpdate.winStreak >= 10) {
|
||||
Player.giveAchievement("IPVGO_WINNING_STREAK");
|
||||
}
|
||||
}
|
||||
|
||||
statusToUpdate.nodePower +=
|
||||
|
||||
Reference in New Issue
Block a user