///////////////////////////////////////////////////////////////////////////////// // Update set stats ///////////////////////////////////////////////////////////////////////////////// #region Set Stats public void SetStat() { //Wrap our function inside a catcher try { //Update stats hp / mp Character.Stat.Hp = Formule.gamePhp(Character.Information.Level, Character.Stat.Strength); Character.Stat.Mp = Formule.gamePmp(Character.Information.Level, Character.Stat.Intelligence); //Send visual update packet client.Send(Packet.PlayerStat(Character)); } catch (Exception ex) { Console.WriteLine("Set stats error {0}", ex); Systems.Debugger.Write(ex); } }