gamePmp() 공개 정적인 메소드

public static gamePmp ( byte level, short Int ) : int
level byte
Int short
리턴 int
예제 #1
0
 /////////////////////////////////////////////////////////////////////////////////
 // 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);
     }
 }