I don't know if this works on npc, but might as well give it a try.
Code:
[if HasMP then
[if IsMana then TypePower:Blue ':':Blue
elseif IsEnergy then TypePower:Yellow ':':Yellow
elseif IsRage then TypePower:Red ':':Red
elseif IsRunicPower then TypePower:Red ':':Red end]
FractionalMP:Short ' ' PercentMP:Percent:Paren end]