Under normal condition I would use standard game variables.
Spoiler: if you want to see the solution
Example:
Let's say you have 25 actors, so you reserve like variables 501-525 for capping regen. Then through javascript you can do something like this.
Increase variable (party member's actor ID+500) by 1.
If that actor doesn't have bonus in regen:
---If the variable is under 20:
------increase regen rate by 1
---else if the variable is equal to 20:
------Message: Actor has reached his regen cap of 20.
------increase regen rate by 1
---Else: Actor's regen rate cannot go any higher.
Else:
---if the variable is under 25:
------increase regen rate by 1
---else if the variable is equal to 25:
------Message: Actor has reached his regen cap of 25.
---Else: Actor's regen rate cannot go any higher.
There's one bad thing about it...
You would have had a gigantic if else spider, because that's the only way RPG maker would allow you to show unique message for each actor, so it's a very uncomfortable code to read later on.
You can decrease the amount of coding done with a message "First party member has reached the cap" or something like that though.
I wonder btw., is it now implemented that I'm gradually losing reputation?
😀 Because I noticed that my reputation dropped by 6 (which could explain why I suddenly had -271 reputation during my first playthrough of the new version - reputation losing triggered again and again. But I don't know how to reproduce it).
Other than that, I'm finally playing it as I should play it. Levelling up all (created four squads - Bandit's squad, Hero's squad, Old man's squad and Poryg's squad). And in accordance with this I have to say that the healer's 40 denari is a very cheap price for healing all members, especially if I have 4 full platoons of units
🙂 You were right though. The arena is indeed for advanced characters. I won't be trying the special battles until my characters develop properly
🙂
Edit: Ludus reputation is suddenly at -277... -6 per some sort of I don't know what.
What does actually drop the ludus reputation? Quests I have accepted?
😀
I really don't know what is it that drops my rep this low, I only know it drops it by multiplications of 6. However, these reputation drops are making the game unplayable. It's quite funny though that in another save my reputation is -177, but I still have the reputation quest unfailed
🙂 (but when you accept it with already negative reputation, it gets failed immediately).
Also, I've noticed that the bees in outer Gladiatora have turned into Porygs. They also damage only when you step on them, not when they step on you.