Lift definition of alt outcomes up one step

This commit is contained in:
Carlos Fernandez 2026-05-15 22:43:57 -04:00
parent f607e8dfa4
commit 1ffde09568
7 changed files with 71 additions and 63 deletions

View file

@ -0,0 +1,19 @@
import { getDamageBaseFields } from '../fields/action/damageField.mjs';
const fields = foundry.data.fields;
export class AltOutcome extends foundry.abstract.DataModel {
static defineSchema() {
return {
damage: new fields.SchemaField(getDamageBaseFields())
// todo: add effects
};
}
get data() {
return {
...this.parent,
...this
};
}
}