From d1b51f9242e923aa1ec3a3b2334b33ee72b62ddb Mon Sep 17 00:00:00 2001 From: Peterlankton <61578137+Kapuzenjoe@users.noreply.github.com> Date: Wed, 27 Nov 2024 19:53:17 +0100 Subject: [PATCH] Update reminders.js --- src/reminders.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/reminders.js b/src/reminders.js index fc8dd19..89cc865 100644 --- a/src/reminders.js +++ b/src/reminders.js @@ -271,15 +271,16 @@ export class SkillReminder extends AbilityCheckReminder { /** @override */ get advantageKeys() { - return super.advantageKeys.concat(["advantage.skill.all", `advantage.skill.${this.skillId}`]); + return [ + "advantage.skill.all", + `advantage.skill.${this.skillId}`]; } /** @override */ get disadvantageKeys() { - return super.disadvantageKeys.concat([ + return [ "disadvantage.skill.all", - `disadvantage.skill.${this.skillId}`, - ]); + `disadvantage.skill.${this.skillId}`,]; } /** @override */ @@ -321,17 +322,15 @@ export class DeathSaveReminder extends AbilityBaseReminder { super(actor, null); } + /** @override */ /** @override */ get advantageKeys() { - return super.advantageKeys.concat(["advantage.ability.save.all", "advantage.deathSave"]); + return ["advantage.deathSave"]; } /** @override */ get disadvantageKeys() { - return super.disadvantageKeys.concat([ - "disadvantage.ability.save.all", - "disadvantage.deathSave", - ]); + return ["disadvantage.deathSave"]; } }