Removed gradual blow damage calculation.

This commit is contained in:
MobiusDev 2018-09-30 10:27:47 +00:00
parent 8bb2cca118
commit b71f03aa77
10 changed files with 10 additions and 30 deletions

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);

View File

@ -113,9 +113,7 @@ public final class Formulas
final Position position = Position.getPosition(attacker, target);
final double isPosition = position == Position.BACK ? 0.2 : position == Position.SIDE ? 0.05 : 0;
// Mobius: Fix for way too low blow damage.
power *= Math.max(1, attacker.getLevel() / 18); // Power increasing gradually by level.
// Mobius: Manage level difference as well.
// Mobius: Manage level difference.
if (attacker.getLevel() < target.getLevel())
{
power *= 1 - (Math.min(target.getLevel() - attacker.getLevel(), 9) / 10);