From 5193ff31563d496588038f2e002b3c788a1ac77a Mon Sep 17 00:00:00 2001 From: factubsio <65080026+factubsio@users.noreply.github.com> Date: Mon, 14 Feb 2022 20:00:49 +0000 Subject: [PATCH] Clarify some of the fields in `GangMemberInfo` The most misleading of these is `str_mult`, which is actually the multiplier from equipment. --- src/ScriptEditor/NetscriptDefinitions.d.ts | 35 +++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 6e613ba80..f2773f3ad 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -898,42 +898,75 @@ export interface GangTerritory { * @public */ export interface GangMemberInfo { + /** Name of the gang member */ name: string; - task: string; + /** Currently assigned task */ + task: string; earnedRespect: number; + + /** Hack skill level */ hack: number; + /** Strength skill level */ str: number; + /** Defense skill level */ def: number; + /** Dexterity skill level */ dex: number; + /** Agility skill level */ agi: number; + /** Charisma skill level */ cha: number; + /** Current hack experience */ hack_exp: number; + /** Current strength experience */ str_exp: number; + /** Current defense experience */ def_exp: number; + /** Current dexterity experience */ dex_exp: number; + /** Current agility experience */ agi_exp: number; + /** Current charisma experience */ cha_exp: number; + /** Hack multiplier from equipment */ hack_mult: number; + /** Strength multiplier from equipment */ str_mult: number; + /** Defense multiplier from equipment */ def_mult: number; + /** Dexterity multiplier from equipment */ dex_mult: number; + /** Agility multiplier from equipment */ agi_mult: number; + /** Charisma multiplier from equipment */ cha_mult: number; + /** Hack multiplier from ascensions */ hack_asc_mult: number; + /** Strength multiplier from ascensions */ str_asc_mult: number; + /** Defense multiplier from ascensions */ def_asc_mult: number; + /** Dexterity multiplier from ascensions */ dex_asc_mult: number; + /** Agility multiplier from ascensions */ agi_asc_mult: number; + /** Charisma multiplier from ascensions */ cha_asc_mult: number; + /** Total earned hack experience */ hack_asc_points: number; + /** Total earned strength experience */ str_asc_points: number; + /** Total earned defense experience */ def_asc_points: number; + /** Total earned dexterity experience */ dex_asc_points: number; + /** Total earned agility experience */ agi_asc_points: number; + /** Total earned charisma experience */ cha_asc_points: number; upgrades: string[];