feat #245 - calc bonus dmg for NPCs

This commit is contained in:
Samuel Lopez
2025-10-18 09:59:51 +02:00
committed by samulopez
parent 42986bf559
commit 3eaebc6631
4 changed files with 28 additions and 60 deletions
+1 -1
View File
@@ -1211,7 +1211,7 @@ export default class DGActorSheet extends DGSheetMixin(ActorSheetV2) {
let diceFormula = item.system.damage;
const { skill } = item.system;
if (
this.actor.type === "agent" &&
(this.actor.type === "agent" || this.actor.type === "npc") &&
(skill === "unarmed_combat" || skill === "melee_weapons")
) {
diceFormula +=