PwQt / magic-items-2

This module for Foundry VTT and specific for the DnD5e system, adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.
https://github.com/PwQt/magic-items-2
MIT License
18 stars 7 forks source link

Support Custom Spell Attack Bonus #170

Open tmcnulty14 opened 3 months ago

tmcnulty14 commented 3 months ago

When adding spells to a Magic Item, there is a field for entering a custom/override for the Spell Save DC.

It would be useful to be able to enter a custom/override for the Spell Attack Bonus instead / as well, for spells that rely on spell attacks instead.

(Alternatively, this could be calculated by subtracting 8 from the custom Spell Save DC per the standard formula)

I currently am trying to add Fire Bolt to a Magic Item and it always uses the actor's default spellcasting trait for spell attacks.

[Possible Bug] It also seems like it also might not be adding proficiency bonus to the attack bonus: the bonus is a flat +4, which equals the actor's spellcasting ability modifier, without their proficiency bonus.