mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
linting
This commit is contained in:
parent
3eb9c4a2e2
commit
7f288665d3
@ -1743,11 +1743,7 @@ export function regenerateHp(this: IPlayer, amt: number): void {
|
|||||||
|
|
||||||
export function hospitalize(this: IPlayer): number {
|
export function hospitalize(this: IPlayer): number {
|
||||||
const cost = getHospitalizationCost(this);
|
const cost = getHospitalizationCost(this);
|
||||||
SnackbarEvents.emit(
|
SnackbarEvents.emit(`You've been Hospitalized for ${numeralWrapper.formatMoney(cost)}`, ToastVariant.WARNING, 2000);
|
||||||
`You've been Hospitalized for ${numeralWrapper.formatMoney(cost)}`,
|
|
||||||
ToastVariant.WARNING,
|
|
||||||
2000,
|
|
||||||
);
|
|
||||||
|
|
||||||
this.loseMoney(cost, "hospitalization");
|
this.loseMoney(cost, "hospitalization");
|
||||||
this.hp = this.max_hp;
|
this.hp = this.max_hp;
|
||||||
|
Loading…
Reference in New Issue
Block a user