Any damage formula plugins

Hewwo daily GFD request here.

Any way to make the damage formula simple like pokemon where moves have power:

-Tackle, 40 base power
-Fly, 90 base power
-Hydro Pump 110 base power
-V create 180

similar to visustellas plugin where you type the power of the move and boom.#

Anything like that?
Pokemon does not have a simple damage formula, unless you mean the card game, which has to be simple arithmetic so that an elementary school student can quickly calculate the damage.
Pokemon does not have a simple damage formula, unless you mean the card game, which has to be simple arithmetic so that an elementary school student can quickly calculate the damage.
ik, but what i meant is if theres a plugin that allows me to just type in lets say 40 for a skills base power and it does all the formulae
I don't understand what the point of this plugin would be.

The damage formula takes whatever you want. If you want to use flat numbers, you just type 40 or 110 and it will deal that much damage.

If you want it to have some formula/scaling involved but you don't want to come up with your own or use one from the several threads about formulae, just use the default.

If you want to have a base formula that's multiplied by some power level, then you copy and paste the formula and put * 40 or * 110 after it.

Even if you took the formula you want to use and put it into a function in a plugin, you'd still have to type that function call in the formula text box - e.g. MyDamageFormula(40)
ik, but what i meant is if theres a plugin that allows me to just type in lets say 40 for a skills base power and it does all the formulae
You have to be the one that figures out how all the stats are gonna interact. I mean, what does 40 BP mean for anything here?
I think the OP just wants to put a base power value in the formula field in the skill database, treating it like a parameter in some damage function elsewhere

E: Basically this:
Even if you took the formula you want to use and put it into a function in a plugin, you'd still have to type that function call in the formula text box - e.g. MyDamageFormula(40)
I don't understand what the point of this plugin would be.

The damage formula takes whatever you want. If you want to use flat numbers, you just type 40 or 110 and it will deal that much damage.

If you want it to have some formula/scaling involved but you don't want to come up with your own or use one from the several threads about formulae, just use the default.

If you want to have a base formula that's multiplied by some power level, then you copy and paste the formula and put * 40 or * 110 after it.

Even if you took the formula you want to use and put it into a function in a plugin, you'd still have to type that function call in the formula text box - e.g. MyDamageFormula(40)
like visustella's damage core where you just type in 100 in the damage formula for the attack for example and the plugin will do all the calculations, it wont take 100 flat out, it will be like a pokemon move with 100 base power, idk if i explained it that well but i think i got it across ;0-
You have to be the one that figures out how all the stats are gonna interact. I mean, what does 40 BP mean for anything here?
like visustella's damage core where you just type in 100 in the damage formula for the attack for example and the plugin will do all the calculations, it wont take 100 flat out, it will be like a pokemon move with 100 base power, idk if i explained it that well but i think i got it across ;0-
this is what i mean with the whole bp thing
You don't really need a plugin to do that. You can just write the base power into the damage formula itself. You'll need to figure out in what capacity you want this base power to affect your damage though.

Let's say you assume base power 40 to be a good average. You could write a formula like "(a.atk * BP/40) - b.def/2", where you replace BP with the base power value you want the move to have.

In this example, a base power of 40 would result in an attack of equal strength to your attack parameter. 80 would be twice as strong, 120 three times as strong, 20 half as strong, etc.. If you don't want 40 to be the average, replace it with something else. Lowering the average will result in higher damage overall, while increasing it will lower damage overall.
You don't really need a plugin to do that. You can just write the base power into the damage formula itself. You'll need to figure out in what capacity you want this base power to affect your damage though.

Let's say you assume base power 40 to be a good average. You could write a formula like "(a.atk * BP/40) - b.def/2", where you replace BP with the base power value you want the move to have.

In this example, a base power of 40 would result in an attack of equal strength to your attack parameter. 80 would be twice as strong, 120 three times as strong, 20 half as strong, etc.. If you don't want 40 to be the average, replace it with something else. Lowering the average will result in higher damage overall, while increasing it will lower damage overall.
thanks you this is helpful, i also got a bit of understanding on more damage formula cause the brackets, thanks again broadie
This is a good example while you're learning the basics.

For the sake of completeness I have to add though: Instead of writing the formula for, say, a 60 BP move like this:

Code:
(a.atk * 60/40) - b.def/2

Since both 60 and 40 are constants, it would be more efficient to manually calculate 60/40 instead of making the engine do it. 60 divided by 40 is 3/2, or 1.5, so the result would be:

Code:
(a.atk * 1.5) - b.def/2

I'd say don't worry about this while you're still figuring stuff out, but it should be kept in mind for later, once you've grown a bit more confident with math operations, that formulas should be resolved as much as possible for the sake of efficiency. During the polishing stage at the latest.
This is a good example while you're learning the basics.

For the sake of completeness I have to add though: Instead of writing the formula for, say, a 60 BP move like this:

Code:
(a.atk * 60/40) - b.def/2

Since both 60 and 40 are constants, it would be more efficient to manually calculate 60/40 instead of making the engine do it. 60 divided by 40 is 3/2, or 1.5, so the result would be:

Code:
(a.atk * 1.5) - b.def/2

I'd say don't worry about this while you're still figuring stuff out, but it should be kept in mind for later, once you've grown a bit more confident with math operations, that formulas should be resolved as much as possible for the sake of efficiency. During the polishing stage at the latest.
W, definitley grasped this type of damage formula youve showed me thanks for the explanation, whats the
Code:
 for? is that for script calls/common events?
I'm not sure I follow the question.

Code:

If you mean this, that's just a code block for clarity within the thread. Just a forum thing. It doesn't have anything to do with the maker or the formula.

Original thread: https://forums.rpgmakerweb.com/threads/any-damage-formula-plugins.160308/