Add the derived data for the aura ranges

This commit is contained in:
Oliver-Akins 2025-03-09 00:16:21 -07:00
parent 89b51a01e6
commit 4f35db01b6
5 changed files with 54 additions and 3 deletions

6
module/utils/rank.mjs Normal file
View file

@ -0,0 +1,6 @@
import { gameTerms } from "../gameTerms.mjs";
export function rankToInteger(rankName) {
return Object.values(gameTerms.Rank)
.findIndex(r => r === rankName) + 1;
};