Multiple Formulas in one Skill

Sorry is the title is a bit vague, but here's my problem. I want to have an attack that both reduces the target's HP and restores the target's MP. The only way I would think to do this would be to have multiple formulas in one skill, if you know what I mean. However, that doesn't seem to be possible. So... Help, please? Thank you.

EDIT: Just so you know, I don't actually need a formula, a simple integer would work well.
Please check the forum topic on how to use the damage formula, that will tell you how to combine several commands into the damage formula.
Thank you for helping me. I appreciate it.
Edit: This forum topic is much harder to find than I expected. Could you please give me a link?
Damage Formula thread.

There you go.
Thanks.
Edit again: I tried, but it turns out giving me 805 posts to look for what I want is a bit too much. Unless you're saying that I should ask in there instead of here?
This is way too hard to do. I thought MV was supposed to be user and noob friendly. There should be a simple list of all the commands that the battle formulas can do, IN AN EASY TO FIND PLACE.
I know there is a trait to gain tp, isn't there one to gain mp as well? I don't have access to my computer right now so I can't check.

Anyway, you have to understand that whatever you type into the damage formula box will be executed as javascript by the engine, through an eval command.
That means you can do anything and everything with it. There's just no way to reference all possibilities because they're only limited by your understanding of javascript and of mv's code.

IIRC there is a tooltip in editor on the damage formula that tells you the basics though (like use a for the caster b for the target and the basic list of parameters)

For your example: you run different lines of code by separating them with a ";".

So you'd do:
"b.gainMp(your amount here); your damage formula here"
Without the quotes.

Unless you want to learn javascript and study mv's code I'm afraid you'll have to go trough that huge thread, or be severely limited in what you can do with the damage formula.
<Post-Damage Eval>
target.gainMp(value)
</Post-Damage Eval>
<Post-Damage Eval>
target.gainMp(100)
</Post-Damage Eval>

It's so easy with YE skill core, don't complicate yourself with the stupid formula box size, it's not worth the hassle.
@Astfgl66 Thank you! There is indeed a tooltip, but it gives the bare minimum of information.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-formulas-in-one-skill.76417/