Lift definition of alt outcomes up one step (#1892)

This commit is contained in:
Carlos Fernandez 2026-06-30 14:48:52 -04:00 committed by GitHub
parent 56b2688fc4
commit 8a6d9a6369
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
};
}
}