Skip to content

Commit

Permalink
fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelad02 authored Feb 22, 2024
1 parent 1c4a4b4 commit 53d4a57
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ Hooks.once("DAE.setupComplete", () => {

const actionTypes =
game.system.id === "sw5e" ? ["mwak", "rwak", "mpak", "rpak"] : ["mwak", "rwak", "msak", "rsak"];
actionTypes.forEach((actionType) => {
fields.push(`flags.adv-reminder.message.attack.${actionType}`);
fields.push(`flags.adv-reminder.message.damage.${actionType}`);
});
actionTypes.forEach((actionType) => fields.push(`flags.adv-reminder.message.attack.${actionType}`));

Object.keys(CONFIG.DND5E.itemActionTypes).forEach((actionType) =>
fields.push(`flags.adv-reminder.message.damage.${actionType}`)
);

Object.keys(CONFIG.DND5E.abilities).forEach((abilityId) => {
fields.push(`flags.adv-reminder.message.attack.${abilityId}`);
Expand Down

0 comments on commit 53d4a57

Please sign in to comment.