arbron / fvtt-summoner

Easy to use interface for configuring and summoning actors within DnD5e.
MIT License
4 stars 4 forks source link

[BUG] - Summoning not taking the feature's ability modifier, instead taking the summoner's spellcasting modifier #32

Closed Zanderaf closed 4 months ago

Zanderaf commented 1 year ago

Describe the bug A creature's to-hit bonus is improperly calculated when its summoned. It looks like its taking the modifier from the character's spellcasting stat, instead of the modifier of the feature or spell.

To Reproduce Steps to reproduce the behavior:

  1. Create a spell or feature with the Summoning action type.
  2. Ex. 1: Set its Spellcasting ability score to intellgence, and set the feature/spell to use wisdom.
  3. Make sure it matches to hit.
  4. See error

Expected behavior it will take the summoner's spellcasting modifier, in this case intelligence, instead of the modifier the action type was set to. It was my expectation that the effect would the the Ability modifier of the action type, but its taking it from the summoner's spellcasting ability modifier. While this is alright for spells, multiclassing becoming a bit of issue for one.

Screenshots If applicable, add screenshots to help explain your problem.

Environment: