Fixed DSN rolling; removed console messages; chat message clean up

This commit is contained in:
Chris Ryan 2025-12-04 21:18:09 +10:00
parent bfc84bdb2d
commit 2e6a17d787
9 changed files with 11 additions and 21 deletions

View file

@ -119,7 +119,6 @@ export default class DualityRoll extends D20Roll {
/** @inheritDoc */
static fromData(data) {
console.log("data", data);
data.terms[0].class = foundry.dice.terms.Die.name;
data.terms[2].class = foundry.dice.terms.Die.name;
return super.fromData(data);
@ -175,9 +174,6 @@ export default class DualityRoll extends D20Roll {
static async buildEvaluate(roll, config = {}, message = {}) {
await super.buildEvaluate(roll, config, message);
console.log("roll", config);
console.log("config", config);
console.log("message", message);
await setDiceSoNiceForDualityRoll(
roll,