Hi, guys. So I'm really new to MV (last version of RPG Maker I used was 2000 when it was new). I'm trying to gain a grasp of the syntax for this equation stuff so I'm trying to start off light/easy.
I want to have an attack that deals damage to both the enemy and myself. I tried the following:
a.atk * 4 - b.def * 2; a.gainHp(-7)
...I think this deals a ton of damage to my hero though because nothing is done to the opponent and the hero just collapses. What I would like to do is use the default equation against the enemy, then do a small amount of damage to the hero. I tried a bunch of other stuff and this is the closest I've gotten to doing that. How would I go about doing this?
(Thanks in advance for any help btw.)