Skip to content

Commit

Permalink
Minor bug fix with missile spells getting the wrong spellcasting modi…
Browse files Browse the repository at this point in the history
…fier
  • Loading branch information
Vauryx committed May 4, 2022
1 parent e10a6c8 commit 68764bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apps/missile-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export class MissileDialog extends FormApplication {
let caster = canvas.tokens.get(this.data.caster);
const casterActor = game.actors.get(caster.data.actorId);
const item = this.data.item;
let rollData = casterActor.getRollData();
let rollData = item.getRollData();
const rollMod = rollData.mod;
let damageBonus = rollData.bonuses[this.data.actionType]?.damage || "";
const chatMessage = await game.messages.get(this.data.itemCardId);
Expand Down

0 comments on commit 68764bf

Please sign in to comment.