diff --git a/app/imports/api/engine/actions/applyPropertyByType/applyAction.js b/app/imports/api/engine/actions/applyPropertyByType/applyAction.js index 2e78446f..d749990d 100644 --- a/app/imports/api/engine/actions/applyPropertyByType/applyAction.js +++ b/app/imports/api/engine/actions/applyPropertyByType/applyAction.js @@ -163,8 +163,9 @@ function rollAttack(attack, scope) { value = rollDice(1, 20)[0]; resultPrefix = `1d20 [${value}] ${rollModifierText}` } - scope['$attackRoll'] = { value }; + scope['$attackDiceRoll'] = { value }; const result = value + attack.value; + scope['$attackRoll'] = { result }; const { criticalHit, criticalMiss } = applyCrits(value, scope); return { resultPrefix, result, value, criticalHit, criticalMiss }; } diff --git a/app/package.json b/app/package.json index c41c8601..5ce84b96 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "dicecloud", - "version": "2.0.43", + "version": "2.0.44", "description": "Unofficial Online Realtime D&D 5e App", "license": "GPL-3.0", "repository": { diff --git a/app/private/docs/property/skill.md b/app/private/docs/property/skill.md index 51185673..5b25b9ad 100644 --- a/app/private/docs/property/skill.md +++ b/app/private/docs/property/skill.md @@ -1,6 +1,6 @@ # Skills -Skills represent things the creature can be proficient in. Skills can have their values or behavior modifier by [effects](/docs/property/effect), and their proficiencies modified by [proficiencies](/docs/property/proficiency). +Skills represent things the creature can be proficient in. Skills can have their values or behavior modified by [effects](/docs/property/effect), and their proficiencies modified by [proficiencies](/docs/property/proficiency). ---