Fix lint
This commit is contained in:
parent
f19ada7a1c
commit
614db16e41
2 changed files with 4 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ export class CharacterPhysical extends CharacterBase implements DynamicPhysical
|
||||||
this.projectileStrength = Math.min(
|
this.projectileStrength = Math.min(
|
||||||
settings.playerMaxStrength,
|
settings.playerMaxStrength,
|
||||||
this.projectileStrength +
|
this.projectileStrength +
|
||||||
settings.playerStrengthRegenerationPerSeconds * deltaTimeInSeconds,
|
settings.playerStrengthRegenerationPerSeconds * deltaTimeInSeconds,
|
||||||
);
|
);
|
||||||
|
|
||||||
this.regenerateHealth(deltaTimeInSeconds);
|
this.regenerateHealth(deltaTimeInSeconds);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
declare global {
|
declare global {
|
||||||
|
// `T` must stay to merge with the global `Array<T>` (otherwise TS2428), but it
|
||||||
|
// is unused by the x/y aliases below.
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
interface Array<T> {
|
interface Array<T> {
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue