Recklessness in Attacks, Sacrificial Attacks, I Need Help

Hello all, I want to have an attack in RPG maker that instantly destroys 4 random enemies, and costs the player 300 of his HP, 50 MP and 50 TP to use. I do not know how to use the Attack Formula Bar.

How can I do this?

Thanks!

🙂
For the damage formula:

a.hp -= 300 ; b.mhp or a.hp -= 300 ; b.add_state(1)Set the MP and TP cost to 50. Set the target scope for 4 random enemies...

I'd also suggest reading this: http://www.rpgmakervxace.net/topic/8986-skill-ideas-you-can-do-with-custom-formula/

and this: http://cobbtocs.co.uk/wp/?p=271
Thanks! That is exactly what I was trying to do!!!

🙂

Original thread: https://forums.rpgmakerweb.com/threads/recklessness-in-attacks-sacrificial-attacks-i-need-help.42089/