Tempfix for skill damage getting lower while levels increase.

This commit is contained in:
MobiusDevelopment
2019-04-17 21:06:20 +00:00
parent 188ae53703
commit 49ccd3db6b
77 changed files with 77 additions and 77 deletions

View File

@@ -141,7 +141,7 @@ public final class Formulas
final double pvpPveMod = calculatePvpPveBonus(attacker, target, skill, mcrit);
// MDAM Formula.
double damage = ((attacker.getINT() * power * Math.sqrt(mAtk)) / mDef) * shotsBonus;
double damage = ((attacker.getINT() * power * Math.sqrt(mAtk)) / (mDef / attacker.getLevelMod())) * shotsBonus;
// Failure calculation
if (Config.ALT_GAME_MAGICFAILURES && !calcMagicSuccess(attacker, target, skill))