mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 22:38:34 +02:00
IPVGO: Provide API for getting game stats per opponent (#1255)
Give users access to wins, losses, stat bonuses, and favor gained
This commit is contained in:
committed by
GitHub
parent
35c32e2871
commit
b53c35126e
@@ -18,6 +18,7 @@ import {
|
||||
getGameState,
|
||||
getLiberties,
|
||||
getOpponentNextMove,
|
||||
getStats,
|
||||
getValidMoves,
|
||||
handlePassTurn,
|
||||
makePlayerMove,
|
||||
@@ -85,6 +86,9 @@ export function NetscriptGo(): InternalAPI<NSGo> {
|
||||
getControlledEmptyNodes: () => () => {
|
||||
return getControlledEmptyNodes();
|
||||
},
|
||||
getStats: () => () => {
|
||||
return getStats();
|
||||
},
|
||||
},
|
||||
cheat: {
|
||||
getCheatSuccessChance: (ctx: NetscriptContext) => () => {
|
||||
|
||||
Reference in New Issue
Block a user