import { Sleeve } from "../Sleeve"; import { numeralWrapper } from "../../../ui/numeralFormat"; import * as React from "react"; export function StatsElement(sleeve: Sleeve): React.ReactElement { let style = {}; style = { textAlign: "right" }; return (<>
HP: | {numeralWrapper.format(sleeve.hp, "0,0")} / {numeralWrapper.format(sleeve.max_hp, "0,0")} |
City: | {sleeve.city} |
Hacking: | {numeralWrapper.format(sleeve.hacking_skill, "0,0")} |
Strength: | {numeralWrapper.format(sleeve.strength, "0,0")} |
Defense: | {numeralWrapper.format(sleeve.defense, "0,0")} |
Dexterity: | {numeralWrapper.format(sleeve.dexterity, "0,0")} |
Agility: | {numeralWrapper.format(sleeve.agility, "0,0")} |
Charisma: | {numeralWrapper.format(sleeve.charisma, "0,0")} |
Shock: | {numeralWrapper.format(100 - sleeve.shock, "0,0.000")} |
Sync: | {numeralWrapper.format(sleeve.sync, "0,0.000")} |
Memory: | {numeralWrapper.format(sleeve.memory, "0")} |