forked from public/foundryvtt-wh4-lang-fr-fr
Fix scripts !
This commit is contained in:
@@ -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));
|
||||
Reference in New Issue
Block a user