Continue Damage Formula?

Hi 😉


What do you use to continue a damage formula?


I'm searching to make a player to gain tp in the damage formula (can't use Tp gain box due to certains circumstances) after finishing calculating the damage


If I'm not clear enough, please tell me! Thank you and sorry for my english!


Edit: would it be " ; "?
Yes, but you would need to put the damage after the tp gain.
How does it work in a condition damage formula?


Edit: I couldn't get it to work


Formula:


gain.tp(1); ((a.atk * a.luk) / 50) * 4 - b.def * 2


What did I do wrong?


Thank you again!
You didn't specified who would gain TP.
gain.tp isn't a function.  If you're using MV, it would be a.gainTp(1)

Original thread: https://forums.rpgmakerweb.com/threads/continue-damage-formula.60265/