This commit is contained in:
@@ -192,6 +192,7 @@ export default class LethalFantasyMonster extends foundry.abstract.TypeDataModel
|
||||
const attacksSet = this.attackMode === "ranged" ? this.rangedAttacks : this.attacks
|
||||
rollTarget = foundry.utils.duplicate(attacksSet[rollKey])
|
||||
rollTarget.rollKey = rollKey
|
||||
rollTarget.attackMode = this.attackMode
|
||||
if (rollType === "monster-defense") {
|
||||
rollTarget.isRangedDefense = game.lethalFantasy?.nextDefenseData?.isRanged ?? false
|
||||
}
|
||||
@@ -269,7 +270,7 @@ export default class LethalFantasyMonster extends foundry.abstract.TypeDataModel
|
||||
return
|
||||
}
|
||||
rollTarget = skill
|
||||
rollTarget.weapon = weapon
|
||||
rollTarget.weapon = foundry.utils.duplicate(weapon)
|
||||
rollTarget.weaponSkillModifier = skill.weaponSkillModifier
|
||||
rollTarget.rollKey = rollKey
|
||||
rollTarget.combat = foundry.utils.duplicate(this.combat)
|
||||
|
||||
Reference in New Issue
Block a user