Skip to content

Commit

Permalink
last-minute cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelad02 committed May 21, 2024
1 parent 15c4916 commit 7e78543
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- feature: Support the system's new concentration rolls with sources and messages with `flags.adv-reminder.message.ability.concentration` (system already handles advantage/disadvantage)
- feature: Support `flags.midi-qol.grants.critical.range` for conditions like Paralyzed that turn hits into crits if the attacker is adjacent. Does not currently work with Ready Set Roll, will just be ignored.
- feature: Apply conditions directly bases on the `statuses` instead of adding Midi's flags to status effects

# 3.4.1

Expand Down
9 changes: 0 additions & 9 deletions src/reminders.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ export class AttackReminder extends BaseReminder {
updateOptions(options) {
this._message();

// quick return if there are no flags
//if (isEmpty(this.actorFlags) && isEmpty(this.targetFlags)) return;

// build the active effect keys applicable for this roll
const advKeys = [
"advantage.all",
Expand Down Expand Up @@ -185,9 +182,6 @@ class AbilityBaseReminder extends BaseReminder {
updateOptions(options) {
this._message();

// quick return if there are no flags
//if (isEmpty(this.actorFlags)) return;

// get the active effect keys applicable for this roll
const advKeys = this.advantageKeys;
const disKeys = this.disadvantageKeys;
Expand Down Expand Up @@ -364,9 +358,6 @@ export class CriticalReminder extends BaseReminder {
updateOptions(options, critProp = "critical") {
this._message();

// quick return if there are no flags
//if (isEmpty(this.actorFlags) && isEmpty(this.targetFlags)) return;

// build the active effect keys applicable for this roll
const critKeys = ["critical.all", `critical.${this.actionType}`];
const normalKeys = ["noCritical.all", `noCritical.${this.actionType}`];
Expand Down

0 comments on commit 7e78543

Please sign in to comment.