Exemple #1
0
 private void SoldierSkillUpResponse(int nErrorCode)
 {
     if (nErrorCode == 0)
     {
         int leftPoints         = UserDC.GetLeftSkillPoints();
         int maxLeftSkillPoints = ConfigM.GetMaxLeftSkillPoints(UserDC.GetVIPLevel());
         if (leftPoints == maxLeftSkillPoints - 1)
         {
             GlobalTimer.ResetSkillResume();
         }
         RefreshSkillItem();
         PdbycWnd wnd = WndManager.FindDialog <PdbycWnd>();
         if (wnd)
         {
             wnd.RefreshCombatPower();
         }
     }
 }