public void AddMana(int amount) { if (CurrentMana + amount > Stats.MaxMana) { CurrentMana = Stats.MaxMana; } else { CurrentMana += amount; } UIEventHandler.ManaChanged(); }
public void HealFullMP() { CurrentMana = Stats.MaxMana; UIEventHandler.ManaChanged(); }
public void StatsUpdate() { Stats.UpdateStats(PlayerLevel.Level); UIEventHandler.HealthChanged(); UIEventHandler.ManaChanged(); }