Help with MP Regeneration System

Hello !
When planning for my first game I came to MP system and decided to use


MP Redgeneration system. Where in combat, MP bar fills each turn so that limits using skills and makes it stratigical. The player doesn't fear of running out of MPand he is encouraged to use his


skills but he should know how to use them during battle and to plan well whther to use


weak skills or conserve MP for stronger skills.
Outside combat, MP fills by steps. But I have some points and problems I want to discuss


here since I didn't play many RPGs especially modern ones.


1- Is it better to make MP regens  per turn by certain rate of MaxMP or constant


number?


2- How to deal with MP outside combat?
Is it good to make MP fills by steps? and if so, by rate or constant?
This throw a problem where PCs can use skills with no limit to heal for example.
just player has to walk to get MP. So Do I have to use Auto-Heal on end of battles to


remove Heal skill spamming?


If there are any thoughts and advices on this topic then I am happy to listen.
1 Rate. You can do accesories to get more rate.


2 Don't know. Maybe with a plugin. If you put the heal cost TP, there will not problem, they can get TP outside battle using skills or you can create TP potions.


Your idea is very good  😀
Thanks @Danitinkis


for point 2, I My problem is not with howw to umplement an idea but with the idea itself.


I meant to say any mechanic should I use outside of battles? Is it MP regen with steps?


but the problem is the PC just has to walk to gather mp to heal. so Heal skills are not meaningful outside battle.


Should I restrict Heal skills only during battles.


Any thoughts are appreciated.
I meant to say any mechanic should I use outside of battles? Is it MP regen with steps?

I don't know dude, i think with steps is a bit rare, because like you said, they can regen MP walking around. You can put the MP regen only in special sites, like cities or mana fountains. Also if you quit save option from de menu, you can regenerate all MP every time you save.

but the problem is thet PC just has to walk to gather mp to heal. so Heal skills are not meaningful outside battle.


Should I restrict Heal skills only during battles.

Like i said, you can put the healing skills to cost MP and TP. Doing this, if you don't use any skills or TP potions out of battle, you can't use healing skills.
One thing to think about for point 1, if you go for a 'constant' you could make that constant dependant on a stat (luck?). Just an idea.


Now onto the out of battle regen part. The thing with steps is if battles are visible/avoidable then you could just walk until full and if they are random then you can only regen so much before the next battle. Of course the latter could be used to your advantage, that is to say this battle trigger is your limit to how much you can regen. (just full MP restore in non-battle zones)



If say the average steps before a battle were 20-30, you could aim to restore 50% Max MP at 25 (2% per step). This actually solves your healing spam issue as you can rarely regain much over 50% Max MP before battle and over healing would risk leaving very little MP for said battle.


Basically if you are using a step based mechanic take advantage of step based mechanics, limit how much the player can 'step' without having to expend MP such as:


battles, MP/HP draining floors, 'step count' events ('death' appears and hunts you after too many)


Another semi-related thing to consider; making escaping 100% but costs 50% Current MP.
Regarding 1 - League of Legends originally had a system for Health and Mana Regen based on fixed numbers. Each Champion had a Base Health or Mana Regen (usually in the form of HP per 5 seconds) which would go up a bit with Levels. Items that offered Health or Mana Regen as one of their stats would then add a fixed number on top of this. A while ago this system was changed to a % based system. Champions retain their base Health and Mana Regen and Health and Mana Regen Per Level stats but items were changed to offer Regen based on a % of their Base rates. For example: if a Champion has a Base Mana Regen of 3 per 5 Seconds, and has .25 Mana Regen per Level, then at Level 4 they would have a total Mana Regen of 4 per 5 seconds. If they then bought an item that offered +50% Mana Regen, then they would have a total of 6 Mana per 5 Seconds. 


The reason this was done was balance across classes. Since every League Champion has access to every item in the shop, it means that stats gained from equipment could have some very imbalanced effects. One of the two main problems were that Tanks needed to have high values of Health Regen on their items to sustain in combat and heal up between skirmishes...but since even glass cannon class can buy 1 defensive item they could have outrageously high Health Regen they were not meant to have. The other was that Mages always bought a Mana Regen item first and basically became Mana-less as long as they didn't spam too hard while items that boosted total Mana were considered worthless...but Utility Supports relied heavily on casting lots of spells and don't get nearly as much gold to invest in Mana so they needed high Mana Regen to be effective.


By making Regen gains from equipment %-based, the items would have variable stat gains depending on who bought them. A Tank with high Base Health Regen gets a lot more use out of +100% Health Regen than a glass cannon with low Base Health Regen. Mages were instead given decent Base Mana Regen (that scaled with level into pretty good values) but has Mana Regen largely removed from their items to focus on increasing their Mana pool, while Utility Support items got all of the Mana Regen but no real way to boost their total Mana (Mana was then tied to Damage items and Mana Regen was tied to utility items).


Regen in your game will depend on how you plan to let it scale: If you go flat values, then players are going to want the gear that has the highest flat value or multiple items in different slots that all offer regen. If you go % Max Mana, then players will want to increase their Mana as much as possible to increase the regen per turn. A deciding factor here is how you want equipment and accessories to alter Mana Regen and how items that can be used by multiple classes may potentially cause balance issues.


Regarding 2 - You could always just not regenerate Mana outside of battle. You are already giving them a generous way to restore the primary resource gating their skills - if they plan poorly and run dry it's their own fault and they can get into combat and defend for a few rounds as punishment for their stupidity. This also means that casting out of combat carries its own risks since you may end up too low at the start of the next fight and have to turtle up to wait for the regen to kick in. It's not necessarily a bad thing, especially if you are trying to encourage the player to put actual thought into their skill use.
You could always just not regenerate Mana outside of battle.

There is one issue with this, its the reason I myself resorted to full restores after battles in my own project (I had both TP and HP regen). To be honest this problem lingers to an extent even with out-of-battle regen allowed...


Basically, the player can abuse any passive regen by killing all but 1 enemy who they leave at 1 hit from death, then spam guard and heal until full on both HP and MP.


Well, you could make each enemy a threat that cannot be ignored (requires precision balancing or a full troop of them becomes too much to handle), 


or when they are the last man standing and have low health (or are being ignored, i.e. 'played with') make them 'last resort' for massive damage (killing themselves in the process).
@ShadowHawkDragon


I would consider the full restore to be more problematic personally. If a player chooses to do a lengthy exploit, they are choosing to stay in battle much longer than necessary and are in a sense "paying" for that full restore. The game in no way forces them to do this action - the player can simply choose to do it if they would otherwise end battle in rough shape or because they are simply obsessive.


I would choose not to cater to the obsessive players since there's never an end to that. As long as people playing the game normally can have fun, that's what really matters.


...and if you want to mess with the crazy munchkins, then makes enemies highly likely to run away when they are alone to force battle to a close. Either fight smart or lose precious EXP, Gold, Item drops, etc. 
@Basileus


True about full restores after battle being a problem in their own, it makes continuous battles rather pointless and I wouldn't suggest it if the purpose of 'standard' battles is meant as a 'test of endurance' that gradually eats at your resources (including items) until you reach the boss.


Never thought of enemies fleeing when last man standing.


Edit. Back on topic, I'd avoid auto-heals unless the game is designed around few but challenging battles.


In regards to regards to MP regen, another idea to add would be to like @Basileus said, remove out-of-battle regen but you could have an immediate 20-30% MP restore on the battle's end. This way the palyers may feel more at ease even if they do finish the battle while low on MP
@ShadowHawkDragon


Your ideas are nice. Battles in my game are invisible so I can use encounter rate to limit regen amount.


Escape idea is cool. I like it. And MP draining floors idea is proper too.


@Basileus


Your points are important. To be honest I didn't think about making anything like equipments boosts regen rate excpect some items for limited time. I though to make regen rate 20% per turn(for example).


your point made me think again to make regen rate is small rate like 10% added to a stat scaled bu level, so I mix rate and constant. And I will think about regen-rate-manipulating stuffs.


For point 2, I though about making no regen outside battle but the problem is the story. How to justify it in story?

Basically, the player can abuse any passive regen by killing all but 1 enemy who they leave at 1 hit from death, then spam guard and heal until full on both HP and MP.

This is a real problem I don't know how to handle too, so I think about Heal at end of battle.


But again, this has no justificatition in the story!

...and if you want to mess with the crazy munchkins, then makes enemies highly likely to run away when they are alone to force battle to a close. Either fight smart or lose precious EXP, Gold, Item drops, etc.

It is a good idea to be considred. It can help to make that type of players get boring of repeated escaping of the last enemy and make him focus on finishing battles as quick as possible

True about full restores after battle being a problem in their own, it makes continuous battles rather pointless and I wouldn't suggest it if the purpose of 'standard' battles is meant as a 'test of endurance' that gradually eats at your resources (including items) until you reach the bos

You are right Therfore I try to avoid Heal at battle end
Why not set it up so that instead of a Full Restore after battle, your characters get a percentage of their MP back. 100% all the time makes battles see trivial if theres really no risk of dying if you can just coast through a dungeon and abuse full healing after battle. But, depending on your game setting, stat balancing and cost of skills, getting like 5-20% MP after battle wouldn't be that bad I think.
getting like 5-20% MP after battle wouldn't be that bad I think.

I also think it is not bad idea.


I'll consider it. It is better than full restore and can be justified better in the story as heroes takes some rest for example.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-mp-regeneration-system.72907/