Hi Guys, im currently trying to make a skill that damages the enemy, but at the same time adds a status to the user.
for example the I would like the skill to be high damage but with the trade off, that the users DEF stat drops for a turn.
I have had a little bit of a play around, but cant think of a way of doing this, sorry in advance if this is a stupid question with an easy answer.
Thanks in advance.
Skills that apply damage to an enemy and a status to the user
● ARCHIVED · READ-ONLY
-
-
add_state(x); a.atk * 4 - b.def * 2
Just replace x with the weakened state. -
Just a quick correction to the above - in the damage formula box, you'll need to enter "a.add_state(x);" before your damage calculation. add_state(x) will just cause the attack to deal no damage or miss (or, that's what happened when I tried it in a new project), so you need to specify that it's either "a.add_state" (which applies it to the user) or b.add_state (which applies it to the target).
Also, here's a related thread that's all about using the damage formula box to do some interesting things besides just raw damage. http://forums.rpgmakerweb.com/index.php?/topic/1143-how-to-make-the-most-of-custom-formulae-part-1/ -
Thank heaps, this will help me out alot.
cheers guys.