Proper castle zone function regen multipliers.

This commit is contained in:
MobiusDev
2018-11-26 16:27:43 +00:00
parent 51205e38a1
commit 85c2335c2f
20 changed files with 40 additions and 40 deletions

View File

@ -106,7 +106,7 @@ public class RegenHPFinalizer implements IStatsFunction
final CastleFunction func = castle.getCastleFunction(Castle.FUNC_RESTORE_HP);
if (func != null)
{
baseValue *= func.getLvl();
baseValue *= (func.getLvl() / 100);
}
}
}
@ -125,7 +125,7 @@ public class RegenHPFinalizer implements IStatsFunction
final FortFunction func = fort.getFortFunction(Fort.FUNC_RESTORE_HP);
if (func != null)
{
baseValue *= func.getLvl();
baseValue *= (func.getLvl() / 100);
}
}
}

View File

@ -91,7 +91,7 @@ public class RegenMPFinalizer implements IStatsFunction
final CastleFunction func = castle.getCastleFunction(Castle.FUNC_RESTORE_MP);
if (func != null)
{
baseValue *= func.getLvl();
baseValue *= (func.getLvl() / 100);
}
}
}
@ -110,7 +110,7 @@ public class RegenMPFinalizer implements IStatsFunction
final FortFunction func = fort.getFortFunction(Fort.FUNC_RESTORE_MP);
if (func != null)
{
baseValue *= func.getLvl();
baseValue *= (func.getLvl() / 100);
}
}
}