Пример #1
0
 public int CalculateMDEF(Monster monster)
 {
     return((int)(monster.STR / 10 + monster.AGI / 5 + monster.INT * 0.5));
 }
Пример #2
0
 public int CalculateDEF(Monster monster)
 {
     return((int)(monster.STR / 5 + monster.AGI * 0.5 + monster.INT / 5));
 }
Пример #3
0
 public int CalculateATK(Monster monster)
 {
     return((int)(monster.STR * 1.5 + monster.AGI / 5 + monster.INT / 10 + _damageBase));
 }
Пример #4
0
 public int CalculateMATK(Monster monster)
 {
     return((int)(monster.STR / 10 + monster.AGI / 5 + monster.INT * 1.5 + _damageBase / 2));
 }
Пример #5
0
 public int CalculateHpMax(Monster monster)
 {
     return((int)(monster.STR * 5 + monster.AGI * 2.5 + monster.INT * 1.5 + 50));
 }