Ajout de la fenêtre de thème astral

Accessible par macro/depuis les fenêtres d'astrologie
This commit is contained in:
2023-03-07 02:28:10 +01:00
parent a810e20eca
commit 80579032ea
13 changed files with 290 additions and 48 deletions

View File

@ -195,17 +195,6 @@ export class RdDResolutionTable {
return Math.max(Math.floor(carac * (diff + 10) / 2), 1);
}
/* -------------------------------------------- */
static isAjustementAstrologique(rollData) {
if (rollData.selectedCarac?.label.toLowerCase().includes('chance')) {
return true;
}
if (rollData.selectedSort?.system.isrituel) {
return true;
}
return false;
}
/* -------------------------------------------- */
static isEchec(rollData) {
switch (rollData.surprise) {