MMOMinion
check MP - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104)
+---- Thread: check MP (/showthread.php?tid=4609)



check MP - TauTau - 10-29-2013

how can I check my MP pool? I noticed after dying my mod spams a cast that can't be cast because MP pool has to be built first... I can check how much mp the action needs with action.cost, but how can I check if I actually have enough MP? Would be another spam-stopper ;)


RE: check MP - KaWeNGoD - 10-30-2013

Code:
-- the 'd' command is a global command for printing out information into the console
local mptable = Player.mp
d(mptable.current) -- current MP
d(mptable.max) -- max MP
d(mptable.percent) -- MP percent

https://github.com/MMOMinion/FFXIVMinion/wiki/Entity


RE: check MP - TauTau - 10-30-2013

thanks... makes sense that it isn't with the Player documentation, since other entities also can have MP ;)