Current Target Save & Action without roll chat message

This commit is contained in:
Dapoolp 2025-08-02 20:56:42 +02:00
parent 74df2c4e87
commit b31c14bf76
14 changed files with 224 additions and 205 deletions

View file

@ -26,7 +26,6 @@ export default class CostField extends fields.ArrayField {
}
static calcCosts(costs) {
// console.log(costs, CostField.getResources.call(this, costs));
const resources = CostField.getResources.call(this, costs);
return costs.map(c => {
c.scale = c.scale ?? 1;

View file

@ -57,7 +57,11 @@ export default class TargetField extends fields.SchemaField {
name: actor.actor.name,
img: actor.actor.img,
difficulty: actor.actor.system.difficulty,
evasion: actor.actor.system.evasion
evasion: actor.actor.system.evasion,
saved: {
value: null,
success: null
}
};
}
}