In my character sheet, I have a weapon that uses SPELL as its attack and damage types, however when rolling hit/damage with this, the modifier is pulling from my INT mod (4) instead of my Spell Attack Bonus (7), making the roll incorrect. Here are images showcasing these:
[My Spell Attack Bonus]
[My weapon] (I put 6 to the bonuses instead of 3 to compensate for the incorrect values used, but this is not ideal)
[The output of rolling them]
If I re-create this weapon via Macros, it also shows that it's using "4[INT]", and not "7[SPELL]" like it should.