Skip to content

Commit

Permalink
Update combat.js readd Sarmdice to Bonus Dice
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendare authored Dec 18, 2024
1 parent 5946e3e commit 1298827
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/apps/roll-dialog/combat.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ export class CombatRollDialog extends CommonRollDialog {
swarmDice: actor.type === "npc" && actor.isSwarm ? actor.system.combat.health.toughness.value : 0,
}

fields.bonusDice = data.combat.swarmDice;

fields.attack = weapon.system.isMelee ? actor.system.combat.melee.relative : actor.system.combat.accuracy.relative

data.showDualWielding = actor.items.filter(i => i.isAttack && i.equipped).length >= 2;
Expand Down

0 comments on commit 1298827

Please sign in to comment.