Example #1
0
 protected virtual double GetBaseTotalATK(CALC_STANDARD calc_standard = CALC_STANDARD.NONE)
 {
     return(User.WeaponATK() + User.SmeltingATK() + StatusATK.GetStatusBonusATK(attack_type, User) + GetRandomATK() * (int)calc_standard);
 }
Example #2
0
        public int CalcReverseATK(int sATK)
        {
            double status_atk = StatusATK.GetStatusATK(attack_type, User.User_Data);
            double equipATK   = (sATK - User.MasteryATK() - status_atk) / User.PercentATK() - User.WeaponATK() - StatusATK.GetStatusBonusATK(attack_type, User);

            return(Convert.ToInt32(Math.Floor(equipATK)));
        }