TemplePlus
TemplePlus copied to clipboard
stat_level_get doesn't pull correct information for saving throws
While working on the adept, I found myself messing with Obtain Familiar. For each saving throw, the spell manually counts up your levels in class, separating into levels with good saves or bad saves, manually calculates your base saving throws and then compares them to the familiar's base saving throws. Attempting to replace this with, for example, stat_base_get(stat_save_fortitude) returns the protos value for a blank character and stat_level_get(stat_save_fortitude) gives you the save after modifiers, which is no good.
This has other implications, specifically affecting Stormlord's prerequisites.