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.
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.