Tensura Power Limits 1.2.0
Curse Maven Snippet
What's new
Tensura: Power Limits 1.2.0
New EP cap settings (ep.toml)
- saveRate (default
50): how much of the EP earned at your cap is saved, in percent. At 50, farming at the cap only saves half of what you earn, so it's slower than earning below it. Set it to100to save everything, like before. EP held back from an evolution, an awakening or a Harvest Festival is always saved in full. - refillLostEp (default
true): whether saved EP also fills back EP you lose below your cap, like Tensura's death penalty or EP drained by a skill. Withfalse, saved EP only comes back when your cap goes up, so EP lost on death has to be earned again. - commandsSkipCap (default
true): whether EP given by commands ignores the cap. That covers ops typing them, and also command blocks, datapack functions and quest rewards that run a command. Withfalse, that EP is capped like any other gain. An op can still go past the cap with/powerlimits bypass.
Upgrading: saveRate is new and defaults to 50, so players save half as much EP at the cap as on 1.1.0. Set saveRate = 100 in ep.toml to keep the old behaviour.
Fix: EP caps on races with hidden evolutions
Some races only offer an evolution to certain players. For example, a race added by another mod may only show an extra evolution once you have a spirit at Lord level, or a sin skill. With cap = "evolution", the mod worked out such a race's cap once and then used it for everyone. If the first player it was worked out for didn't have the hidden evolution, every player of that race got the lower cap. That included players who did have it, so they could get stuck below the EP that evolution needs until the server restarted or /powerlimits reload ran.
Each player's cap now comes from the evolutions offered to them, so the hidden one always counts when they have it. Gaining the Lord spirit or sin skill later raises the cap straight away.
Tested
- Every race's cap against every evolution it offers, for a normal player, one with a Lord spirit and one with a sin skill. Covers Tensura's races and an addon with branching spider and ogre lines.
- Every evolution step of those lines played through: EP from kills stops at the cap, the cap always covers the next evolution, and the evolution goes through.
- Whole lines from the first form to each final form.
- Gaining a Lord spirit while already at the cap, through the Labyrinth's Praying Path and by setting it directly.
- Players over their cap (like after an awakening) dying, coming back from the End and relogging keep their EP.
- The three new settings.
- The full 1.1.0 test plan again.
Good to know
When a race offers several evolutions, its cap is what the most expensive one needs. If you build up to that and then pick a cheaper evolution, you can end up above your new cap. You keep that EP (with the default whenOverCap = "keep") and just stop gaining until the cap passes you. It never blocks evolving.
This mod has no additional files