mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
f
This commit is contained in:
parent
1228eb0105
commit
810d74baa5
11 changed files with 220 additions and 17 deletions
|
|
@ -176,7 +176,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
// }
|
||||
|
||||
// Consume resources
|
||||
// await this.consume(config);
|
||||
await this.consume(config);
|
||||
|
||||
if (Hooks.call(`${CONFIG.DH.id}.postUseAction`, this, config) === false) return;
|
||||
|
||||
|
|
@ -229,9 +229,9 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
// return roll;
|
||||
// }
|
||||
|
||||
doFollowUp(config) {
|
||||
return !config.hasRoll;
|
||||
}
|
||||
// doFollowUp(config) {
|
||||
// return !config.hasRoll;
|
||||
// }
|
||||
|
||||
async consume(config, successCost = false) {
|
||||
const actor= this.actor.system.partner ?? this.actor,
|
||||
|
|
@ -301,13 +301,6 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
get hasDamagePart() {
|
||||
return this.damage?.parts?.length;
|
||||
}
|
||||
|
||||
get modifiers() {
|
||||
if (!this.actor) return [];
|
||||
const modifiers = [];
|
||||
/** Placeholder for specific bonuses **/
|
||||
return modifiers;
|
||||
}
|
||||
/* ROLL */
|
||||
|
||||
/* SAVE */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue