updates
This commit is contained in:
parent
5368464042
commit
937f44defe
100 changed files with 10185 additions and 2042 deletions
|
|
@ -12,7 +12,7 @@ export interface GameRecord {
|
|||
locations: [number, number];
|
||||
stats: Record<StatKey, [number, number]>;
|
||||
cardUse: Record<string, CardUse>;
|
||||
/** Card names in each player's decks (Avatars, Servers and main deck). */
|
||||
/** Card names in each player's decks (Anomalies, Servers and main deck). */
|
||||
decks: [string[], string[]];
|
||||
}
|
||||
|
||||
|
|
@ -92,15 +92,15 @@ export function formatSummary(sum: BatchSummary, labels: [string, string]): stri
|
|||
row('Attack win rate', pct(g.attacksWon[0], g.attacks[0]), pct(g.attacksWon[1], g.attacks[1])),
|
||||
both('Combats tied (health rule: stalemates)', 'combatsTied'),
|
||||
both('Damage dealt (health rule)', 'damageDealt'),
|
||||
both('Avatars destroyed', 'avatarsDestroyed'),
|
||||
both('Anomalies destroyed', 'anomaliesDestroyed'),
|
||||
both('Recalls (health rule)', 'recalls'),
|
||||
both('Firewalls placed', 'firewallsPlaced'),
|
||||
both('Firewalls upgraded', 'firewallsUpgraded'),
|
||||
both('Firewalls cleared', 'firewallsCleared'),
|
||||
both('RAM from captures', 'ramFromCaptures'),
|
||||
both('RAM from salvage', 'ramFromSalvage'),
|
||||
both('RAM spent on Firewalls', 'ramOnFirewalls'),
|
||||
both('RAM spent on cards', 'ramOnCards'),
|
||||
both('Bandwidth from captures', 'bandwidthFromCaptures'),
|
||||
both('Bandwidth from salvage', 'bandwidthFromSalvage'),
|
||||
both('Bandwidth spent on Firewalls', 'bandwidthOnFirewalls'),
|
||||
both('Bandwidth spent on cards', 'bandwidthOnCards'),
|
||||
both('Cards salvaged', 'cardsSalvaged'),
|
||||
both('Hardware installed', 'hardwareInstalled'),
|
||||
both('Hardware lost in combat', 'hardwareLost'),
|
||||
|
|
@ -109,8 +109,8 @@ export function formatSummary(sum: BatchSummary, labels: [string, string]): stri
|
|||
both('Executions played', 'executionsPlayed'),
|
||||
both('Abilities used', 'abilitiesUsed'),
|
||||
both('Combats ended early', 'combatsEnded'),
|
||||
both('RAM from card effects', 'ramFromEffects'),
|
||||
both('RAM spent on Abilities', 'ramOnAbilities'),
|
||||
both('Bandwidth from card effects', 'bandwidthFromEffects'),
|
||||
both('Bandwidth spent on Abilities', 'bandwidthOnAbilities'),
|
||||
both('Cards drawn', 'cardsDrawn'),
|
||||
row('Locations at game end', fmt(sum.locations[0]), fmt(sum.locations[1])),
|
||||
'',
|
||||
|
|
@ -179,7 +179,7 @@ export function formatCardReport(rows: CardReport[]): string {
|
|||
for (const r of rows) {
|
||||
if (r.kind !== kind) {
|
||||
kind = r.kind;
|
||||
out.push(` ${{ avatar: 'Avatars', server: 'Servers', program: 'Programs', hardware: 'Hardware', execution: 'Executions' }[kind] ?? kind}`);
|
||||
out.push(` ${{ anomaly: 'Anomalies', server: 'Servers', program: 'Programs', hardware: 'Hardware', execution: 'Executions' }[kind] ?? kind}`);
|
||||
}
|
||||
const se = r.inDeck ? Math.sqrt((r.deckWinRate * (1 - r.deckWinRate)) / r.inDeck) : 0;
|
||||
out.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue