1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 09:03:50 -04:00

added 𝜋 char support

This commit is contained in:
Ean Milligan (Bastion)
2022-05-05 02:59:57 -04:00
parent 6b2aae8dfb
commit 6a305d1479
2 changed files with 3 additions and 3 deletions

View File

@@ -820,7 +820,7 @@ const parseRoll = (fullCmd: string, localPrefix: string, localPostfix: string, m
containsCrit: false,
containsFail: false
};
} else if (mathConf[i].toString().toLowerCase() === "pi") {
} else if (mathConf[i].toString().toLowerCase() === "pi" || mathConf[i].toString().toLowerCase() == "𝜋") {
// If the operand is the constant pi, create a SolvedStep for it
mathConf[i] = {
total: Math.PI,