TemplePlus icon indicating copy to clipboard operation
TemplePlus copied to clipboard

stat_level_get doesn't pull correct information for saving throws

Open AugustDrake opened this issue 2 years ago • 0 comments

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.

AugustDrake avatar Apr 07 '23 20:04 AugustDrake