Jala Spell Effect Rebalancing
CoolMike ·
I was looking at Restorate to see if there was a potential bug based on something another player told me.
The code determining how long between upticks in a player’s HP has the same features as a bunch of other code in the game: It has some linear or quadratic function with inputs from the players stats and skills. This input is then adjusted by all the relevant factors. Finally the final number is bound.
In this case we bound the time between 1000 ms and 60,000 ms (!).
My first thought was that a full minute per tick was way too high and should be lowered for all players.
My second thought was that a 1 second lower bound is also too high as players with high stamina will hit this bound very often.
Attached is a plot showing how effective the Jala Spell Restorate is as a function of the players stamina and vigor. At 45 or 50 stamina the Restorate spell does nothing if the players vigor is 160 or higher.
Restorate could be a very powerful support spell for group PVE adventures but it is hamstrung by the bounding. I’m going to go through the various Jala spell effects and make similar charts and we can see if there are other effects that aren’t working in a practical manner.
Together we can make Jala a more fun and effective school for PVE!
Discussion 15
Sign in to join the discussion.
Here is the graph of time per HP by vigor and stamina without considering Jala or Faction bonuses. All these curves are for a player with 100+hp as hit points is part of the equation but only until the player’s max HP is over 100.
Thank you for looking at this!
I’m gearing up to fix this once my container PR is squared away. The work will be fast because my fix is two lines of code.
Anyhow, I want to make it so that the lower bound of amount of time per HP regeneration tick is applied before the jala spell is used and then a second lower bound is applied after the jala spell is used. The effect of HP regen on spellpower is linear and I don’t know a good way to make it less-than-linear in KOD. Keeping the spell power and effect calculation the same and just changing the new lower bound we can create a reference patient and see how spell power and the lower bound effects the player’s actual observed effect of this spell. Here I’ve made a heatmap to show what I mean.
It looks to me that if we want spellpower to matter the lower bound should be either 600 ms or 550 ms. This means that for the first time it will be possible for a player to regain an HP every ~600ms (previously the absolute minimum was every 1000ms). We will want to test to make sure this isn’t too much health.
If it is too much health I would suggest reducing the strength of the spell across all spell-powers and then setting the new after-jala-spell bound to something like 800ms. This would be better than the current situation.
As a reminder in the current situation for most players Restorate does actual nothing. This is because most players are already at the absolute limit of how fast they can regain an HP while hunting the toughest monsters. This is because at 40 stamina and 165 vigor you are already maxed out and therefore the spell doesn’t help you.
In terms of PVP is don’t think this spell will get used much. No amount of extra health regeneration can keep up in PVP and the effect of the spell is anyhow much less than the effectiveness of hospice and major heal.
PS: My reference player in this chart is at 100hp. Since the chart is improvement fraction I don’t think it would look much different for a 60hp player
Here is a chart if we slightly weaken the slope of the spell effect with regards to spell power. Now we can chose a slightly higher new lower bound and still have it so spellpower almost always matters and the spell always has an effect regardless of how high the players vigor gets.
I would also mention that I think it is nearly impossible to get to maximum Jala spell power but I will have to look at the spell power calculation again. The problem is that the design intent was for True Lutes to add 40 spell power but the primary spell power bonus for all schools is capped at 30.
Ok I’ve found a balancing point between lower bound of HP regen rate, jala spellpower scaling, and the player’s vigor and stamina (the scaling of which I’m not changing because the current balance is good).
I’ve got the changes live on my test server. Anyone have any good suggestions for what to test? So far I’ve tested:
I think I should test mid level mobs at max vigor to make sure player HP is still decreasing under the attack of a single Troll or Cave Orc. I also will test a few thrashers to make sure the spell provides some improvement there.
Anyone have any other ideas or concerns?
Mana bomb is another interesting counter-play to the new possible ‘Tank and Run’ strategy. I also am not sure: Does being blinded stop your song?
OK. I’ve got it where I think I want it but one test is giving me pause. At 100hp with 45 stamina and plate armor and with max spell power you can stand next a troll while it punches you until the cows come home and your HP stays within a 10-12hp window. I’m not sure this is a bad situation. Max players routinely shrug off spiders and slimes and ants and nobody is worried about it. With Restorate up now the threshold for caring about a monster seems to be around the level of a troll. Anything that hits harder will of course beat you up if you let it.
Has anyone ever used this spell restorate at very low vigor? The best way forward for this change is to reduce the effectiveness at very low vigors a bit and that allows us to have a reasonable effectiveness for most players at the typical vigor levels that people hunt monsters at. I want to make sure that the reduced effect at vigors less than 80 isn’t a problem. I’ve never seen anyone cast this spell outside of thrashers and even there it does actual nothing.
Can’t speak to a lot of the specifics you’ve got going, but I can confirm that 99% restorate with max spellpower seems to have little to no effect on anything
So any buff is a good buff here
This update has been implemented and I think we can close this thread.