Blow damage formula power increasing gradually by level.

This commit is contained in:
MobiusDev 2018-02-17 19:28:55 +00:00
parent 959090d16d
commit a67591284a
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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