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

Add Min flag and add -max as option for max flag

This commit is contained in:
Ean Milligan
2025-04-27 16:58:51 -04:00
parent 5bef3878cc
commit 4207021fa9
8 changed files with 78 additions and 46 deletions

View File

@@ -84,7 +84,8 @@ export const apiRoll = async (query: Map<string, string>, apiUserid: bigint): Pr
noDetails: query.has('nd'),
superNoDetails: query.has('snd'),
spoiler: query.has('s') ? '||' : '',
maxRoll: query.has('m'),
maxRoll: query.has('m') || query.has('max'),
minRoll: query.has('min'),
nominalRoll: query.has('n'),
gmRoll: query.has('gms'),
gms: query.has('gms') ? (query.get('gms') || '').split(',') : [],