Skip to content

Commit

Permalink
Pass mapIncreases when rollDamage heightens the spell (foundryvtt#14883)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzzy42 committed May 30, 2024
1 parent 1e1d6b6 commit 415d2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/item/spell/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ class SpellPF2e<TParent extends ActorPF2e | null = ActorPF2e | null> extends Ite
// If this isn't a variant, it probably needs to be heightened via overlays
if (!this.isVariant) {
const variant = this.loadVariant({ castRank });
if (variant) return variant.rollDamage(event);
if (variant) return variant.rollDamage(event, mapIncreases);
}

const targetToken =
Expand Down

0 comments on commit 415d2cd

Please sign in to comment.