EXP based on time spent in battle

This thought popped into my head while I was trying to sleep last night, unfortunately, and so I now bring it here.

What would you all think of a battle experience system where the difficulty of an enemy decides how much base EXP you get, but the more time you spend in battle, the more EXP you get?

This could be an effective way to protect against grinding, as if you are a very high level and you one-shot everything, you don't get as much EXP as you would if you were a very low level and facing off against the same enemy but taking much longer to do so.

Can anyone see anything inherently bad about this, or game-breaking in any way?
I'm not sure how to do this, but you should make the game auto-pause upon minimization if you go with this exp over time mechanic.
I'm not sure how to do this, but you should make the game auto-pause upon minimization if you go with this exp over time mechanic.
That is a very good point I didn't even think about. Maybe instead of time spent, it could be actions completed (like attacking, using an item)? Because someone could definitely just wait on the "action" screen forever, especially if it was turn-based and not something like action-time.
This can only work if player action is required to protect against death - otherwise the player could simply go to bed while the computer's weak enemy fails to kill the actors.


Overnight grinding without the need to even click on a button...
Maybe instead of time spent, it could be actions completed (like attacking, using an item)? Because someone could definitely just wait on the "action" screen forever, especially if it was turn-based and not something like action-time.
The player could just go into battle with a weak enemy and spam "Guard" to grind.

In any case it would reward playing the game poorly: if you fight an enemy and defeat it quickly by making effective moves against it you would be penalised with a lower EXP reward.
My thought was that you would have to be a bit strategic if you wanted more EXP, rather than using the BEST moves you would have to sacrifice some HP, and then use some MP to restore or use your items. You couldn't just spam your best moves and kill an enemy and expect to get the same amount of EXP as if you were a lower level and trying to strategically beat it.

The player would probably then, not get anything counted towards their action counter if they guarded, but maybe only things like using items and attacking/casting spells would count as actions.
Then you get to the point where you just Guard infinetly to gain exp all while asleep.

Or just spam attack without weapons to kill foes very slowly all while playing another game. To me also the idea of getting exp based on how slow you kill foes makes no sense to me and is a bad idea.
I don't think there's any advantage in this system over simply having weaker/lower-level enemies give less experience to higher-level characters.
This sounds like the way Yanfly set up his JP System Script. The more actions you do, the more JP you earn, except the difference here is that JP is EXP. As well as some aspects that are somewhat reminiscent of FF2's levelling system.
I always thought using the best stuff WAS the strategic thing to do :/
In general I think this is a weak solution to the "grinding problem" because it rewards fighting sub-optimally and offers what would likely be an "unfun" way to grind in taking down enemies slowly in some of the most mundane ways (standard attacks, guarding, and occasionally healing).

A few unique battle systems (such as Undertale's where you are largely on the defensive and tasked with challenging evasions as the monsters attack you) could probably use the kind of system you described effectively, however.

If you are worried about players breaking game balance by grinding dozens of enemies that are weaker than the party, I can think of two good ways offhand:

  • Adjust the EXP formula so that it compares your level (or even your overall strength if you have a good way to judge that) against the monsters' level, and give EXP bonuses (if the monsters are stronger than you) or EXP penalties (if they're significantly weaker than you).
  • Use a steep EXP curve (in both the amount of EXP monsters give throughout the game, and the amount of EXP it takes to level up) so that grinding weaker enemies would take forever to level up, whereas fighting appropriately strong enemies is still rewarding.
Oh I'm definitely not using this idea in my game, but I was wondering if there was any use for it at all. The Undertale battle system probably could use it nicely though, like you said. I guess it really depends on the system you have in place.
I don't like it.  Length of battle isn't necessarily correlated with enemy difficulty.  You're better off adjusting the exp values based on enemy difficulty itself.   The player shouldn't be punished for finishing a battle quicker than if he were playing sub optimally.  
If it sounds like it'd be a good idea for Undertale, it's a terrible idea for any game.

This sounds like the way Yanfly set up his JP System Script. The more actions you do, the more JP you earn, except the difference here is that JP is EXP. As well as some aspects that are somewhat reminiscent of FF2's levelling system.
You haven't lived until you've spent half an hour having three people pelt a chicken with rocks while another person heals it and a fifth person mercilessly assaults it with cruel language.
If it sounds like it'd be a good idea for Undertale, it's a terrible idea for any game.
Why do you feel this way?
To prevent grinding lower enemies I think a system that exponentially improved experience based on level differences between you and the enemy might be a way to discourage seeking lower level enemies.
I don't like the idea. I've played games that did this (gave EXP per action, so longer in battle = more EXP), and after one afternoon of doing nothing but drinking potions every turn I was very high level.

Granted, the lack of gold stopped me from taking the party all the way to Level 99, but still seems silly that one afternoon of drinking potions every battle turn means I gain 10 levels.

As for the grinding issue, a couple of thoughts on that:

1: If you set your EXP curve well, it will solve itself nicely. A monster that gives 10 EXP might be great at level 1 when you only need 50 EXP to level up, but its horrible at level 30 when you need 12797 to level up (on the default curves). I don't know many players that wish to fight that monster 1280 times to earn a level up, and for those that do...

2: I feel that if the players wants to grind, let them. Reducing EXP rewards by level AND raising the EXP curve is (which most games do that use such a system) is changing 2 things at the same time when you level up, as you are now changing both EXP to level up, which goes up every level, and dropping EXP gained per fight. So you increase the number of fights to level up 2x, once with the increased EXP needed, and once with the decreased EXP per fight. And, I've seen games with this system where enemies are giving me 1 EXP per fight (or close to it), but I can't win the next boss fight still because the developer thought I should for sure be able to win it by now (*cough* Tales of Xilla 2 *cough*).

Personally, I'd suggest either raise the EXP needed per level, OR reduce the EXP you earn based on level differences. Doing both at once is many moving parts at once, and you're setting yourself up for a nightmare with balancing.
This sounds like a system that would be easily exploitable.  Just guard a million times against an easy enemy around your level for basically free experience.
2: I feel that if the players wants to grind, let them. Reducing EXP rewards by level AND raising the EXP curve is (which most games do that use such a system) is changing 2 things at the same time when you level up, as you are now changing both EXP to level up, which goes up every level, and dropping EXP gained per fight. So you increase the number of fights to level up 2x, once with the increased EXP needed, and once with the decreased EXP per fight. And, I've seen games with this system where enemies are giving me 1 EXP per fight (or close to it), but I can't win the next boss fight still because the developer thought I should for sure be able to win it by now (*cough* Tales of Xilla 2 *cough*).

Personally, I'd suggest either raise the EXP needed per level, OR reduce the EXP you earn based on level differences. Doing both at once is many moving parts at once, and you're setting yourself up for a nightmare with balancing.
I like a lot of what you said, and I generally agree with what you're saying here for most games, but there are games which have a precise need for tight level balance (particularly ones where there's not a lot of variability based on skill in combat) to maintain their interest and excitement, and in such a case I think it's reasonable - even advisable - to both create sharp EXP curves and adjust EXP gained by power difference.

If the player is ever getting 1 EXP from a monster, though, I agree that's silly.  A curve that awarded, say, 30% of the "normal" EXP as a minimum, maybe 400% as a maximum if you're way underleveled but still won, and left some "slack" on the left side of the curve (so that EXP penalties wouldn't start to apply until you're overleveled by a few levels) could still feel pretty good and positively service the player's experience with the game.
What if you had kind of a "Battle Quest" for extra XP? Like there would be a message that somehow did a common event:

Inflict enemy with Sleep for 50 bonus XP... That would (generally) take more time and give an instantly viable reward, some games do in a way, the one I'm thinking of is Final Fantasy Record keeper, your bonus XP results from a bunch of factors including when you take damage, number of turns you took (more turns is lower score), if you finish the enemy off after using their weakness & inflicting them with certain statuses.

It's free, the only reason I play it is because of portability & I don't have to spend real money on it, that being said it is the best of it's kind.

Original thread: https://forums.rpgmakerweb.com/threads/exp-based-on-time-spent-in-battle.54405/