Tempfix for way too low blow damage.

This commit is contained in:
MobiusDev 2018-02-16 19:52:29 +00:00
parent c839674fe9
commit 3a23cf96f4
5 changed files with 40 additions and 0 deletions

View File

@ -118,6 +118,14 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target); final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0; final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= 5;
// Mobius: Manage level difference as well.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);
}
// ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_ // ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_
// ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef // ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef
// ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^ // ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^

View File

@ -118,6 +118,14 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target); final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0; final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= 5;
// Mobius: Manage level difference as well.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);
}
// ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_ // ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_
// ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef // ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef
// ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^ // ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^

View File

@ -118,6 +118,14 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target); final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0; final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= 5;
// Mobius: Manage level difference as well.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);
}
// ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_ // ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_
// ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef // ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef
// ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^ // ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^

View File

@ -118,6 +118,14 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target); final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0; final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= 5;
// Mobius: Manage level difference as well.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);
}
// ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_ // ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_
// ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef // ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef
// ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^ // ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^

View File

@ -118,6 +118,14 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target); final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0; final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= 5;
// Mobius: Manage level difference as well.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);
}
// ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_ // ........................_____________________________Initial Damage____________________________...___________Position Additional Damage___________..._CriticalAdd_
// ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef // ATTACK CALCULATION 77 * [(skillpower+patk) * 0.666 * cdbonus * cdPosBonusHalf * cdVulnHalf * ss + isBack0.2Side0.05 * (skillpower+patk*ss) * random + 6 * cd_patk] / pdef
// ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^ // ````````````````````````^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```^^^^^^^^^^^^