public void SetPlayerMPPercent(int mpPercent) { int previousMP = playerMP; statBarObject.SetMPBar(mpPercent); playerMP = mpPercent; UpdateStatBarSize(); if (!(mpPercent == 0 || previousMP == 0)) { UpdateHPMPActive(); } }
public void SetMPBar(int mpPercent) { statBar.SetMPBar(mpPercent); }