Skip to content

Commit

Permalink
Update combat.js remove Swarmdice from BonusDice Field
Browse files Browse the repository at this point in the history
Prevents the Bonus Dice from Swarm Rules being Counted Twice once from the Bonus Dice Field and combast.swarmDice Field
  • Loading branch information
Vendare authored Dec 18, 2024
1 parent 887e6c6 commit 7f9d6c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/apps/roll-dialog/combat.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ 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 7f9d6c7

Please sign in to comment.