diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb2b1a9e..739113e1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.8.27 Release: +## Bug Fixes: +- Booming Blade +- Green-Flame Blade + # 0.8.26 Release: ## New Content: - Spells: Booming Blade and Green-Flame Blade diff --git a/scripts/macros/spells/boomingBlade.js b/scripts/macros/spells/boomingBlade.js index eea2685c9..a73d72a86 100644 --- a/scripts/macros/spells/boomingBlade.js +++ b/scripts/macros/spells/boomingBlade.js @@ -13,7 +13,7 @@ async function item({speaker, actor, token, character, item, args, scope, workfl if (!selection) [selection] = await chris.selectDocument('Attack with what weapon?', weapons); if (!selection) return; let level = chris.levelOrCR(workflow.actor); - let diceNumber = 1 + Math.floor((level + 1) / 6); + let diceNumber = Math.floor((level + 1) / 6); let weapon; if (level > 4) { let weaponData = duplicate(selection.toObject()); @@ -73,7 +73,7 @@ async function item({speaker, actor, token, character, item, args, scope, workfl 'chris-premades': { 'spell': { 'boomingBlade': { - 'diceNumber': diceNumber + 'diceNumber': diceNumber + 1 } } } diff --git a/scripts/macros/spells/greenFlameBlade.js b/scripts/macros/spells/greenFlameBlade.js index 671980740..31e4dac4d 100644 --- a/scripts/macros/spells/greenFlameBlade.js +++ b/scripts/macros/spells/greenFlameBlade.js @@ -13,7 +13,7 @@ export async function greenFlameBlade({speaker, actor, token, character, item, a if (!selection) [selection] = await chris.selectDocument('Attack with what weapon?', weapons); if (!selection) return; let level = chris.levelOrCR(workflow.actor); - let diceNumber = 1 + Math.floor((level + 1) / 6); + let diceNumber = Math.floor((level + 1) / 6); let weapon; if (level > 4) { let weaponData = duplicate(selection.toObject());