Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Fix flurry of blows attack roll
Browse files Browse the repository at this point in the history
  • Loading branch information
Rughalt committed Apr 2, 2021
1 parent bf86365 commit 5404067
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/apps/attack-roll-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,19 @@
var manyshotCount = 0;
var baseExtraAttacks = {{extraAttacksCount}};
var isRapidShot = false;
var isFlurryOfBlows = false;
if ($("input[data-feat='rapid-shot']").length) {
isRapidShot = $("input[data-feat='rapid-shot']").is(":checked");
}
if ($("input[data-feat='flurry-of-blows']").length) {
isFlurryOfBlows = $("input[data-feat='flurry-of-blowst']").is(":checked");
}
if (isRapidShot) {
baseExtraAttacks = baseExtraAttacks + 1;
}
if (isFlurryOfBlows) {
baseExtraAttacks = baseExtraAttacks + 1;
}
if ($("input[data-feat='manyshot']").length) {
isManyshot = $("input[data-feat='manyshot']").is(":checked");
manyshotCount = parseInt($("input[name='manyshot-count']").val())
Expand Down

0 comments on commit 5404067

Please sign in to comment.