Various fixes for spell and ranged attacks

This commit is contained in:
2026-05-23 00:11:58 +02:00
parent e417b61625
commit 2770774aa3
5 changed files with 19 additions and 9 deletions
+2 -1
View File
@@ -261,7 +261,8 @@ export default class LethalFantasyActor extends Actor {
weapon: weapon,
weaponSkillModifier: skill.weaponSkillModifier,
rollKey: rollKey,
combat: foundry.utils.duplicate(this.system.combat)
combat: foundry.utils.duplicate(this.system.combat),
isRangedAttack: weapon.system.weaponType === "ranged"
}
if (rollType === "weapon-damage-small" || rollType === "weapon-damage-medium") {
rollTarget.grantedDice = this.system.granted.damageDice