From 1f9aaf68ca890c7706c7d9693d0b97d9251171cf Mon Sep 17 00:00:00 2001 From: xangelo Date: Thu, 17 Aug 2023 15:28:06 -0400 Subject: [PATCH] feat: increase hp gain rate --- src/shared/player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/player.ts b/src/shared/player.ts index 7762a41..e3af5f7 100644 --- a/src/shared/player.ts +++ b/src/shared/player.ts @@ -26,7 +26,7 @@ export type PlayerWithSkills = Player & { } export function maxHp(constitution: number, playerLevel: number): number { - return Math.ceil((constitution + playerLevel) * 1.3); + return Math.ceil((constitution + (playerLevel * 1.3)) * 1.7); } export function expToLevel(level: number): number { -- 2.25.1