Nicely done, a6p, I didn't even think of that!
You can use a.gainMp(x) in your formula, with x being the amount of MP/Mana you regain.
If you want it to drain MP/Mana from the enemy, use...
You can use a.gainHp and b.gainHp for that. (a is the user, b is the target)
Basically, input the damage formula, but divide it by 2 at the end....
before the actual damage formula, you can put in:
a.gainHp((damage formula)*percentage);damage formula
For example, if you're using the standard...
Maybe this will do it:
a.atk * 4 + (a.hp / 2) - b.defOtherwise, you could always multiply the a.hp by 0,5
The 100 + just adds 100 damage flat. some examples:
user has 50 mat (magic attack), opponent has 20 mdf (magic defense)
100 + a.mat * 2 - b.mdf...
What is probably the problem is that
(b.def / (b.def + 100)always gives you a value between 0.999 and 0 so
a.atk * (1 - (b.def / (b.def +...
Well, that too.
Math.randomInt(3) + 2Math.randomInt(3) will give you either 0, 1, or 2 at random. Adding 2 afterwards will obviously make it vary between 2...
Is the Fire 1 skill damage separate from the Fire Element rate = 200 condition?
The downloads don't work for me.
I already tried that one that didn't work for me.
I couldn't find a topic about this, if this has been answered already, please direct me there.
Is it possible to have skills target all...
Thanks a lot, I was able to figure it out with your help, though it only worked after I put Math.floor behind the first minus sign
I have a quick question.
I want to make skills that do recoil damage to the user based on the damage done, like Take Down and Double-Edge in...
Separate names with a comma.