Skip to content

Commit

Permalink
Merge pull request #36 from Harkonan/patch-1
Browse files Browse the repository at this point in the history
Update cloudOfDaggers.js
  • Loading branch information
gambit07 authored Oct 6, 2024
2 parents 621a4f8 + 438ac35 commit 0ce7452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/macros/cloudOfDaggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function cloudOfDaggers({tokenUuid, regionUuid, regionScenario, reg

let castLevel = template.getFlag("gambits-premades", "codCastLevel");

let damageDice = castLevel + 2;
let damageDice = (2*(castLevel - 2)) + 4;
let damageRoll = await new CONFIG.Dice.DamageRoll(`${damageDice}d4`).evaluate();
await MidiQOL.displayDSNForRoll(damageRoll, 'damageRoll');

Expand All @@ -57,4 +57,4 @@ export async function cloudOfDaggers({tokenUuid, regionUuid, regionScenario, reg

await new MidiQOL.DamageOnlyWorkflow(effectOriginActor, effectOriginToken, damageRoll.total, "slashing", token ? [token] : [], damageRoll, {itemData: itemData});
return;
}
}

0 comments on commit 0ce7452

Please sign in to comment.