Formula/Statistic Battle Assistance

Hai, I am not good at math, so I thought I would try something REALLY simple for mechanics: low numbers and less use of randomness.


I'm not sure a script is needed or if I can use the default database, thus, here I am.


To be more clear, I'd like to give an example:


MARY has 5 HP, 2 PWR.


SLIME has 3 HP, 1 PWR.


When MARY attacks the SLIME, she takes away 2 of its HP, leaving it with one. When the SLIME attacks MARY, it only takes away one of her HP, leaving her with 4 HP. No other stats needed, so far. Let's add something else to the mix - resistances and weaknesses:


MARY now has 10 HP, 5 PWR with a water-enchanted weapon.


FIRE SLIME now has 6 HP, 3 PWR, and is weak against water.


When MARY attacks the SLIME, instead of taking away 5 HP, she takes away 10 HP due to the SLIME's weakness. If MARY had attacked the SLIME with a fire-enchanted weapon, she would only take 3 HP from the SLIME due to its resistance.


I thought something this simple could really help me.


But I don't know where to start, or if it's even possible.


So what can I do? Thanks!
Sounds to me like setting attack elements and elemental weaknesses in the database should work just fine. Set Mary's weapon to attack with the Fire element. Change the Fire element rate up to at least 200% in the slime's database entry. That should work, I think...
It looks like it could work. Though how do you plan to factor in DEF and MDF? Or do you plan to just remove those and have it be HP only (which some games have done).
Yes, no DEF or MDF.


I mean, I could with it using this whole... "If the PWR is higher than the SLIME's DEF, then it hits, if not, then the SLIME suffers only 1.5 of the damage." Same with MPWR and MDF, but it sounds like I'd get confused.


*tests*


Hmmm.. I set MARY to 2 ATK and 1 DEF (since 0 is impossible), and the SLIME 1 DEF, and she did 5 damage. o.o


Is there some sort of formula I use to not even use DEF? o.o
Simply change the default attack formula to: a.atk (variance to 0) and Mary's attack will deal exactly 2 damage (unless features affect that value).

Defenses are only included if you add them to the damage formulas. It doesn't really matter what DEF is set to if you don't apply it to your calculations.
Maybe you have it on the wrong stat? We'd have to see what your formula is in the skill to say more?
I got "null" when changing the formula's atk to 0. Here's how my stuff is setup.


My_Setup.png
I got "null" when changing the formula's atk to 0. Here's how my stuff is setup.
You didn't change the formula's atk to 0, you changed the formulas atk-multiplier to zero.
That is a lot different, and why balancing requires at least a minimum knowledge of math (especially when using damage formulae)
Oh. Math is hard. >< My BF could do this, but he's stressed.

So how can I get to the conclusion of changing the formula's atk to zero? D:

I'm sorry about this. 🙁
you can't change ATK to zero - and that wasn't asked in the posts above either. You were asked to set the variance to zero, thats the data field below the damage formula.


And you were asked to set the formula itself to simply a.atk - nothing else in it.
I guess I didn't get it until now. I guess I didn't read the "variance" part...


Anyway, that DOES work. It was simple. Now I *really* feel dumb. 🙁 Thanks guys!

Original thread: https://forums.rpgmakerweb.com/threads/formula-statistic-battle-assistance.45928/