add skills

This commit is contained in:
tresabhi committed 2026-10-13 20:37:53 -05:00
1 parent bc6257a0c3
commit 1416d64e34
20 files changed
+196 -55

No files matched your search

@@ -2,7 +2,7 @@ import {
alias,
formatCompact,
tankIcon,
TIER_ROMAN_NUMERALS,
romanize,
} from "@blitzkit/core";
import {
EngineDefinition,
@@ -93,7 +93,7 @@ function ModuleButton({
top: isTank ? 8 : 4,
}}
>
{TIER_ROMAN_NUMERALS[tier]}
{romanize(tier)}
</Text>
{unlock.cost!.value > 0 && (
@@ -1,3 +1,4 @@
import { MAX_SKILL_LEVEL } from "@blitzkit/core";
import { InfoCircledIcon } from "@radix-ui/react-icons";
import {
Button,
@@ -59,7 +60,7 @@ export function Skills() {
onClick={() => {
Tankopedia.mutate((draft) => {
Object.keys(draft.skills).forEach((skill) => {
draft.skills[skill] = 7;
draft.skills[skill] = MAX_SKILL_LEVEL;
});
});
}}