diff --git a/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue b/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue index 48b67bf5..ab4aa6fc 100644 --- a/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue +++ b/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue @@ -542,9 +542,15 @@ data: { creatureId: this.creatureId, }, - callback({spellId, slotId} = {}){ + callback({spellId, slotId, advantage} = {}){ if (!spellId) return; - doCastSpell.call({spellId, slotId}, error => { + doCastSpell.call({ + spellId, + slotId, + scope: { + $attackAdvantage: advantage, + }, + }, error => { if (!error) return; snackbar({text: error.reason || error.message || error.toString()}); console.error(error); diff --git a/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue b/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue index 04db8066..c3ec9a92 100644 --- a/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue +++ b/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue @@ -105,13 +105,13 @@