Hello!
Using RMMV and Yanfly's Skill core, I have a custom skill with this code:
<Pre-Damage Eval>
a.setMp(a.mp + a.tp);
a.setTp(0);
</Pre-Damage Eval>
So it basically converts all TP into MP. However, I would like it to display the amount of MP recovered - similar to text displayed during a heal. Is that possible?
Thanks!
EDIT:
Well, I seemed to have solved it myself thanks to a post on r/RPGMaker I happened to see!
http://imgur.com/SkjGQSD
Moved the "MP Heal" to the formula and changed the pre-cost to a post-cost.
Thanks 🙂 Hope this helps someone!
Using RMMV and Yanfly's Skill core, I have a custom skill with this code:
<Pre-Damage Eval>
a.setMp(a.mp + a.tp);
a.setTp(0);
</Pre-Damage Eval>
So it basically converts all TP into MP. However, I would like it to display the amount of MP recovered - similar to text displayed during a heal. Is that possible?
Thanks!
EDIT:
Well, I seemed to have solved it myself thanks to a post on r/RPGMaker I happened to see!
http://imgur.com/SkjGQSD
Moved the "MP Heal" to the formula and changed the pre-cost to a post-cost.
Thanks 🙂 Hope this helps someone!