feat: Vue3로 새롭게 작성한 메인 페이지 #229

Merged
Hide_D merged 61 commits from ng_main into devel 2023-03-09 02:25:31 +09:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit a72cfc8e1c - Show all commits
+2 -1
View File
@@ -13,4 +13,5 @@ export { getNPCColor } from "./getNPCColor";
export { isValidObjKey } from "./isValidObjKey";
export { nextExpLevelRemain } from "./nextExpLevelRemain";
export { postFilterNationCommandGen } from "./postFilterNationCommandGen";
export { isTechLimited, convTechLevel, getMaxRelativeTechLevel } from "./techLevel";
export { isTechLimited, convTechLevel, getMaxRelativeTechLevel } from "./techLevel";
export { calcTournamentTerm } from "./tournament";
+4
View File
@@ -0,0 +1,4 @@
import { clamp } from 'lodash-es';
export function calcTournamentTerm(turnTerm: number): number{
return clamp(turnTerm, 5, 120);
}