mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
lint
This commit is contained in:
parent
7455b80466
commit
a9d5ff9bc9
@ -1,6 +1,5 @@
|
|||||||
// Class definition for a single Augmentation object
|
// Class definition for a single Augmentation object
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { IMap } from "../types";
|
|
||||||
|
|
||||||
import { Faction } from "../Faction/Faction";
|
import { Faction } from "../Faction/Faction";
|
||||||
import { Factions } from "../Faction/Factions";
|
import { Factions } from "../Faction/Factions";
|
||||||
|
@ -11,10 +11,6 @@ import { Settings } from "../../Settings/Settings";
|
|||||||
import { numeralWrapper } from "../../ui/numeralFormat";
|
import { numeralWrapper } from "../../ui/numeralFormat";
|
||||||
import { StaticAugmentations } from "../StaticAugmentations";
|
import { StaticAugmentations } from "../StaticAugmentations";
|
||||||
|
|
||||||
interface IAugmentedStats {
|
|
||||||
[index: string]: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
function calculateAugmentedStats(): Multipliers {
|
function calculateAugmentedStats(): Multipliers {
|
||||||
let augP: Multipliers = defaultMultipliers();
|
let augP: Multipliers = defaultMultipliers();
|
||||||
for (const aug of Player.queuedAugmentations) {
|
for (const aug of Player.queuedAugmentations) {
|
||||||
|
@ -8,8 +8,6 @@ import { ResearchMap } from "./ResearchMap";
|
|||||||
|
|
||||||
import { IMap } from "../types";
|
import { IMap } from "../types";
|
||||||
|
|
||||||
import { numeralWrapper } from "../ui/numeralFormat";
|
|
||||||
|
|
||||||
interface IConstructorParams {
|
interface IConstructorParams {
|
||||||
children?: Node[];
|
children?: Node[];
|
||||||
cost: number;
|
cost: number;
|
||||||
|
@ -10,7 +10,7 @@ import { Factions } from "../Faction/Factions";
|
|||||||
import { dialogBoxCreate } from "../ui/React/DialogBox";
|
import { dialogBoxCreate } from "../ui/React/DialogBox";
|
||||||
import { Reviver, Generic_toJSON, Generic_fromJSON, IReviverValue } from "../utils/JSONReviver";
|
import { Reviver, Generic_toJSON, Generic_fromJSON, IReviverValue } from "../utils/JSONReviver";
|
||||||
|
|
||||||
import { exceptionAlert, isIError } from "../utils/helpers/exceptionAlert";
|
import { exceptionAlert } from "../utils/helpers/exceptionAlert";
|
||||||
import { getRandomInt } from "../utils/helpers/getRandomInt";
|
import { getRandomInt } from "../utils/helpers/getRandomInt";
|
||||||
|
|
||||||
import { GangMemberUpgrade } from "./GangMemberUpgrade";
|
import { GangMemberUpgrade } from "./GangMemberUpgrade";
|
||||||
|
@ -17,7 +17,6 @@ import {
|
|||||||
GangMemberAscension,
|
GangMemberAscension,
|
||||||
EquipmentStats,
|
EquipmentStats,
|
||||||
GangTaskStats,
|
GangTaskStats,
|
||||||
GangTerritory,
|
|
||||||
GangOtherInfoObject,
|
GangOtherInfoObject,
|
||||||
} from "../ScriptEditor/NetscriptDefinitions";
|
} from "../ScriptEditor/NetscriptDefinitions";
|
||||||
import { InternalAPI, NetscriptContext } from "../Netscript/APIWrapper";
|
import { InternalAPI, NetscriptContext } from "../Netscript/APIWrapper";
|
||||||
|
@ -7,7 +7,7 @@ import { CONSTANTS } from "../Constants";
|
|||||||
import { calculateSkill } from "./formulas/skill";
|
import { calculateSkill } from "./formulas/skill";
|
||||||
import { calculateIntelligenceBonus } from "./formulas/intelligence";
|
import { calculateIntelligenceBonus } from "./formulas/intelligence";
|
||||||
import { IPerson } from "./IPerson";
|
import { IPerson } from "./IPerson";
|
||||||
import { defaultMultipliers, mergeMultipliers, Multipliers } from "./Multipliers";
|
import { defaultMultipliers, mergeMultipliers } from "./Multipliers";
|
||||||
|
|
||||||
// Base class representing a person-like object
|
// Base class representing a person-like object
|
||||||
export abstract class Person implements IPerson {
|
export abstract class Person implements IPerson {
|
||||||
|
Loading…
Reference in New Issue
Block a user