Info on Battling

Hello again all, long time no see!


Been pretty busy with life and my project so haven't been on here in a while, but I'm back to ask more questions! Yaaaaay!


Anywho: a problem I'm running into which is slowing down my playtesting and therefore actual game making, is the battling. I haven't done anything crazy to my characters' parameters, but I did change/add in all sorts of armours and weapons which make the basic enemies WAY too easy. So I began buffing them a little, adding abilities, making new groups of 2,3,4, even 8 enemies! Problem comes when they are just way too tough. So then I have to go back and adjust the levels of the enemies to better suit the player's outcome in battle. This can obviously get extremely tedious. I found a Damage Calculator made by Shinma that seems pretty helpful, although I need Excel to run the spreadsheet and the free trial will be over in a month.


So is there some reading materials or even videos that deal with the combat aspect? I'm basically looking to have the combat a little easier in the beginning and only mildly tough throughout the game (except the bosses of course!). I thought I may have come across some post(s) that were talking about this issue and were talking about how to keep armours/char parametes/enemy parameters/weapons pretty equal and balanced throughout the game, but of course I haven't come across this info when I actually needed it.


Thanks in advance for any and all help in this issue!


   Grey Stone
I will be honest, I think that the default rm damage formula (atk * 4 - def * 2) is a horrendous damage formula for game balance. I would never use this on an actual game.


I think that you should use a different algorithm for damage, but even then, balacing is not easy to begin with. It IS tedious and require a lot of trial and error. There is no recipe for success on this.
Pretty good basic tutorial on battle and game balance (spread across two PDFs):


http://s3-ap-northeast-1.amazonaws.com/bc2prod/rpgmaker-20130522223546811/files/RPGMakerVXAceTutorial6.pdf


http://s3-ap-northeast-1.amazonaws.com/bc2prod/rpgmaker-20130522223546811/files/RPGMakerVXAceTutorial7.pdf


One general tip I can give to get a very loose sense of balance is to make assumptions about what party, level, and equipment a player will have at a given point in the game and just test five random battles in a row and see how your party does.  (One battle at a time isn't good enough unless you're refilling the party's HP and MP after every battle in your actual game.)  This is good while you're building the game.  Once you near completion, be sure to have players playtest, and if possible, watch them as they play - this will give you a much better sense of what you need to do to perfect your game's balance.


I also agree with Victor that the default damage formulae are bad.  Create your own consistent damage formulae based on what you want each stat to do, and be sure that each stat is equally important in your game (or you'll create other serious balance issues like character tiers).  The formula I use in my game is either a.atk * s / (10 + b.def) for physical attacks or a.mat * s / (10 + b.mdf) for spells, where s is a number that represents how powerful the attack or spell is.  This works nicely because high levels of defense never cause the damage to drop near or below 0, and the difference in damage between gaining one point of ATK versus gaining one point of DEF cannot be directly calculated (which helps keep one stat from becoming dominant over the other).
Thanks to Wavelength and Victor Sant. I will look into changing up the damage formulae.

The formula I use in my game is either a.atk * s / (10 + b.def) for physical attacks or a.mat * s / (10 + b.mdf) for spells, where s is a number that represents how powerful the attack or spell is.

So where s is concerned, do you then have different levels of attacks and spells? I just don't understand what you put in the formula for s. Also, you make a point to say: 

the difference in damage between gaining one point of ATK versus gaining one point of DEF cannot be directly calculated

and I understand that it helps in keeping one stat from becoming more dominant, but what about weapons and armour in your game? I'm assuming they add more than one point of ATK or DEF to the characters. Unless you have gone through and made all the items balance the stats out too as the player goes along in your game?
I use a similar formula to wavelength, and as to what to put in for s, what I did was I put my formula into excel, then entered in what my average character will have for atk and my average monster will have for def at that point in time in the game, and saw how much damage it did. If that didn't match up nicely with my HP, I adjusted s by either raising it (to increase damage) or decrease it (to lower damage).


I ended up with s being 20 for standard attack, ~40 for low level spells, ~225 for mid level spells, ~450 for high level spells, and ultimate spells have an s as high as 1000. But I also have stats that go up to ~200 in my game, so those high numbers work well for the high def and mdf values you'll see late game. If you are doing a low stat game, you'll need a low value for s, unless you want your ultimate skills doing 99999 HP every time it is used.


My exact damage formula, for the curious:

Spoiler
Spoiler







(a.atk)*(a.atk + s + a.level) / (20 + b.def)





You'll need an enemy level script if you wish to use this formula though, due to the use of a.level in the formula.


But long story short, it's going to take plugging into excel some formulas, seeing if you like the damage output excel tells you for various atk and def values, then testing it, tweaking it, repeat until you get something decent.
I ended up with s being 20 for standard attack, ~40 for low level spells, ~225 for mid level spells, ~450 for high level spells, and ultimate spells have an s as high as 1000.

Thanks! I asked a stupid question in another reply because I totally forgot you can make custom a custom formula for every attack/spell. As for the Excel part, I have no training in that program so I am not sure how to make formulas work, but since it seems to come in handy I will have to tinker around with it I guess. I'm pretty good with stuff like that, so it shouldn't take me long at all to figure it out.

Original thread: https://forums.rpgmakerweb.com/threads/info-on-battling.58599/