Enemy Value Calculations

Alright, I decided to make own thread for this since it is a bit more specific...

since I want to use Yanfly's Free Turn Battle for my game, the battles are like in pokemon games with rounds.

now I want to set up my enemies values like maxhp, maxmp, atk and so on when the player first encounters this enemy (so it is not like in TES IV and the enemies level with the player) 

to have more control over the difficulty to beat the enemy, I thought of something like this:

say the Large Snake should survive at least 4 rounds of battle and dies in 5th round. to do that, the Snakes maxhp would set to actors atk * number of rounds, to be simple...

the Snakes ATK would be calculated in similar order: how many rounds should the actor survive and how much maxhp does the actor have

$data_enemies[7].params[0] = $game_actors[1].atk * rounds_to_survive + 10$data_enemies[7].params[2] = $game_actors[1].mhp / rounds_to_winExample:Snake MaxHP = Actor ATK * Rounds + 10 = 40 * 4 + 10 = 170 HPSnake ATK = Actor MaxHP * Rounds = 450 / 5 = 90 ATKnow to my problem: this above is very simple, but I have to consider what if there are more enemies, more actors, the actors skills, element resistance or weakness, and I think a lot more I forgot at the moment.

how could a formula look what I want to do? I have to admit, I need a bit help for something like this... =/

I hope I described my problem understandable.
Well, truthfully, we cannot help unless we know exactly what goes into the formula... After all it's just setting the formula up... And oh, saving $data_enemies with the save file so that those changes will stay with the save file...
I see, I guess I have to think about this a bit more, talk with some friends and then decide how I would do this.

But thanks for reminding me to save the $data_enemies! =)
If I understood this right, you want the enemies to always survive at least X turns regardless of the stats of the actors?


Just a few questions:


Why would anyone want to level up that way?


What would a higher level and stat mean that way, aside from fancy big numbers?


Honestly, if you want to do that, just cap all of your actors on level 1 adjust their stats as you see fit and you are done.


To make it even more simple, adjust all of your skills' damage formula to 1, disable critical, enable always hit, and poof, static damages with "static" battles.


This is not something I would do in an RPG for sure, but if you want to do this, than you don't need to over-complicate it with formulas and such, it is not needed.
oh, did not see that someone replied here, sorry.

no, this is not what I wanted. but in the mean time I figured something out how to do this in a proper way.

I only have to test it a lot! and it is not as much as complicated as I wrote it down here...

Original thread: https://forums.rpgmakerweb.com/threads/enemy-value-calculations.36395/