unhardcode hp

This commit is contained in:
Sendou
2020-07-13 23:39:34 +03:00
parent a9bc6e113a
commit 5a81e6cd42
2 changed files with 4 additions and 1 deletions

View File

@@ -1334,6 +1334,7 @@
"Frames before taking damage from enemy ink": "Frames before taking damage from enemy ink",
"Ink Resistance Up also allows you to jump higher and strafe faster while shooting in enemy ink": "Ink Resistance Up also allows you to jump higher and strafe faster while shooting in enemy ink",
"hp / frame": "hp / frame",
"hp": "hp",
"Limit on the damage enemy ink can deal on you": "Limit on the damage enemy ink can deal on you",
"Run speed in enemy ink": "Run speed in enemy ink",
"Sub Weapon damage (indirect)": "Sub Weapon damage (indirect)",

View File

@@ -1280,7 +1280,9 @@ export default function useAbilityEffects(
},
{
title: t("analyzer;Limit on the damage enemy ink can deal on you"),
effect: `${parseFloat((effectLimit[0] * 100 - 0.05).toFixed(1))}hp`,
effect: `${parseFloat((effectLimit[0] * 100 - 0.05).toFixed(1))}${t(
"analyzer;hp"
)}`,
effectFromMax: effectLimit[1],
ability: "RES" as Ability,
ap: amount,