Fix scripts !

This commit is contained in:
2026-01-29 11:43:28 +01:00
parent 0e8237c233
commit 752a6701c0
104 changed files with 195 additions and 193 deletions

View File

@@ -24,7 +24,7 @@ async function rollTable(characteristics, formula, name) {
}
const characteristics = new Set();
await rollTable(characteristics, "2d10", this.effet.name)
await rollTable(characteristics, "2d10", this.effect.name)
if (characteristics.has("*")) {
characteristics.delete("*");
@@ -41,4 +41,4 @@ if (characteristics.has("*")) {
characteristics.add(result);
}
this.effet.setFlag("wfrp4e", "characteristicsToSwap", Array.from(characteristics));
this.effect.setFlag("wfrp4e", "characteristicsToSwap", Array.from(characteristics));