mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
MISC: Remove unnecessary dependency in Person class (#1534)
This commit is contained in:
@@ -48,6 +48,7 @@ import { Multipliers, mergeMultipliers } from "../Multipliers";
|
||||
import { getFactionAugmentationsFiltered } from "../../Faction/FactionHelpers";
|
||||
import { Augmentations } from "../../Augmentation/Augmentations";
|
||||
import { getAugCost } from "../../Augmentation/AugmentationHelpers";
|
||||
import type { MoneySource } from "../../utils/MoneySourceTracker";
|
||||
|
||||
export class Sleeve extends Person implements SleevePerson {
|
||||
currentWork: SleeveWork | null = null;
|
||||
@@ -529,6 +530,10 @@ export class Sleeve extends Person implements SleevePerson {
|
||||
return false;
|
||||
}
|
||||
|
||||
travelCostMoneySource(): MoneySource {
|
||||
return "sleeves";
|
||||
}
|
||||
|
||||
takeDamage(amt: number): boolean {
|
||||
if (typeof amt !== "number") {
|
||||
console.warn(`Player.takeDamage() called without a numeric argument: ${amt}`);
|
||||
|
||||
Reference in New Issue
Block a user