Proper shot enchant bonus.
Contributed by Iris.
This commit is contained in:
parent
59f73e6ccc
commit
53d0aa7bbd
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public class ShotsBonusFinalizer implements IStatFunction
|
||||
final ItemInstance weapon = player.getActiveWeaponInstance();
|
||||
if ((weapon != null) && weapon.isEnchanted())
|
||||
{
|
||||
baseValue += (weapon.getEnchantLevel() * 0.7) / 100;
|
||||
baseValue += (weapon.getEnchantLevel() * 0.3) / 100;
|
||||
}
|
||||
if (player.getActiveRubyJewel() != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user