I checked the sheet, but it's not making a whole lot of sense. I've tried several times and tried changing some values. @{selected|npc_INT-mod} seemed to work, but @{selected|npc_caster_level} doesn't, nor either of the codes provided prior work. I'm wondering if I'm screwing up the formula or if the attributes are incorrect. The one most suspect is that second one, which is the same for both a PC and a NPC, even though the sheets are very different. I found the ones I used at <a href="https://wiki.roll20.net/Pathfinder_by_Roll20" rel="nofollow">https://wiki.roll20.net/Pathfinder_by_Roll20</a> [Edit] I think I'm struggling with this because I don't want to name the NPC, but use a general formula that could be applied to several NPC sheets quickly, as the same goes for several character sheet formulas. I would use the compendium instead, but the spells in question are a bit unique in their formula. If I could find an example of a spell that used something similar, I think I could figure this out quickly. [End Edit]