Rework SP Recovery Formular (Buff)

Imported from legacy Flarum.
Original author: Mindless (Flarum #24)

Hey there Mindless again :slight_smile:

As i noticed on different Chars, the natural SP recovery is quite low here.
I think it follows the original Formular of non-Renewal 99/50.

This is the original Renewal Formular:

var SPR = 1;
SPR += Math.floor( MAX_SP / 100 );
SPR += Math.floor( INT / 6 );
SPR = Math.floor( SPR * (1 + SPR_MOD * 0.01) );
if (INT >= 120) {
SPR += 4;
SPR += Math.floor(INT / 2 - 60);
}

It reads Base value of 1. Then +1 for every 100 SP and +1 for every 6 INT. Increase by modifiers. Finally, if INT is at least 120, +4 and another +1 for every 2 INT above 120.

I suggest the following:

var SPR = 5;
SPR += Math.floor( MAX_SP / 25 );
SPR += Math.floor( INT / 4 );
SPR = Math.floor( SPR * (1 + SPR_MOD * 0.01) );
if (INT >= 120) {
SPR += 4;
SPR += Math.floor(INT / 2 - 60);
}

Which reads Base value of 5. Then +1 for every 25 SP and +1 for every 4 INT. Increase by modifiers. Finally, if INT is at least 120, +4 and another +1 for every 2 INT above 120.

May we can discuss this topic :slight_smile:

Greetings Mindless

Imported from legacy Flarum.
Original author: Muh (Flarum #1)

Hi there,

thank you for your suggestion.

As there are plenty ways of recovering SP (equip, procs, leech, buffs, food, potions) we do not see the need to change the base recovery at this point.
If there’d be a deviation to the official formula we’d reinvestigate it.