Code: Select all
local percentage = 1 - ((save - p.apply_power)/20)
So as a player progresses further in the game and starts encountering higher level enemies (with greater spell, mind, and attack power) the ability of saving throws to diminish the duration of negative status effects decreases. In many cases having a save of either 1 or of 30 makes no difference and it's better game play to just ignore saving throws all together and invest in other ways to deal with debuffs, like immunities.
In order to make saving throws more useful for everyone, even when they are not stacked. I have changed the formula for the duration to:
Code: Select all
savex = rng.normalFloat((100-savechance)*2,50) -- fraction duration, normal distribution weighted to be small at even odds
percentage = util.bound(savex/100,0,2)
This formula gives a random duration decrease based on the chance to save - the higher the chance to save the more the duration is decreased. This has the effect of increasing the effectiveness of saves at almost all levels, particularly when the saves are relatively low. The results are plotted below: "Base" is the average duration based on the all or nothing save chance. "Failed Save" is the percent of maximum duration of an effect that lands (on a failed save). "Overall" takes both the chance to avoid the effect entirely and the reduced duration if the effect lands into account to give an expected (average) duration. The expected duration on a failed save ranges from ~80% for near 0% save chance to ~20% for near 100% save chance. The nature of the normal distribution makes any duration (within bounds) possible, however, all save bonuses have a positive beneficial effect, statistically speaking.
Edit: Here is an addon that let's you switch back and forth between the regular saves and this new method on the fly from the in game menu. (it also includes options for hit functions and evasion). See http://forums.te4.org/viewtopic.php?f=36&t=35229 and http://forums.te4.org/viewtopic.php?f=39&t=35361.
Edit2: I've uploaded a validation friendly version at http://te4.org/games/addons/tome/altern ... anics-tome