Skip to content

Commit

Permalink
fix: Removes support for MAP-5 and MAP-10 in Skill Actions, they brok…
Browse files Browse the repository at this point in the history
…e at some point (and have never worked for escape anyway).
  • Loading branch information
xdy committed Dec 31, 2022
1 parent 9f5772d commit db3804b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/module/feature/skill-actions/skill-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ export class SkillAction {

this.variants.addBasicVariant(skill, data.extra, data.label);

if (
this.hasTrait("attack") &&
this.pf2eItem.slug !== "escape" // For some reason escape MAP doesn't work
) {
this.variants.addMapVariant(skill, data.extra, -5);
this.variants.addMapVariant(skill, data.extra, -10);
}
// if (
// this.hasTrait("attack") &&
// this.pf2eItem.slug !== "escape" // For some reason escape MAP doesn't work
// ) {
// this.variants.addMapVariant(skill, data.extra, -5);
// this.variants.addMapVariant(skill, data.extra, -10);
// }

if (
this.actor.items
Expand Down

0 comments on commit db3804b

Please sign in to comment.