@Override public int defenseSkill( Char enemy ) { float evasion = defenseSkill; evasion *= RingOfEvasion.evasionMultiplier( this ); if (paralysed > 0) { evasion /= 2; } if (belongings.armor != null) { evasion = belongings.armor.evasionFactor(this, evasion); } return Math.round(evasion); }
public static float evasionMultiplier( Char target ){ return (float) Math.pow( 1.15, getBonus(target, Evasion.class)); }
public String statsInfo() { if (isIdentified()){ return Messages.get(this, "stats", new DecimalFormat("#.##").format(100f * (Math.pow(1.15f, soloBonus()) - 1f))); } else { return Messages.get(this, "typical_stats", new DecimalFormat("#.##").format(15f)); } }
"_-_ Berserking now reduces max health by 20%")); changes.addButton( new ChangeButton(new ItemSprite(ItemSpriteSheet.RING_ONYX, null), new RingOfEvasion().trueName(), "The ring of evasion has always been a very powerful ring, but the recent freerunner rework has increased the power of evasiveness in general, making the ring overbearingly strong.\n\n" + "Evasion synergy has been adjusted:\n" +
"_-_ Berserking now reduces max health by 20%")); changes.addButton( new ChangeButton(new ItemSprite(ItemSpriteSheet.RING_ONYX, null), new RingOfEvasion().trueName(), "The ring of evasion has always been a very powerful ring, but the recent freerunner rework has increased the power of evasiveness in general, making the ring overbearingly strong.\n\n" + "Evasion synergy has been adjusted:\n" +
public String statsInfo() { if (isIdentified()){ return Messages.get(this, "stats", new DecimalFormat("#.##").format(100f * (Math.pow(1.15f, soloBonus()) - 1f))); } else { return Messages.get(this, "typical_stats", new DecimalFormat("#.##").format(15f)); } }
@Override public int defenseSkill( Char enemy ) { float evasion = defenseSkill; evasion *= RingOfEvasion.evasionMultiplier( this ); if (paralysed > 0) { evasion /= 2; } if (belongings.armor != null) { evasion = belongings.armor.evasionFactor(this, evasion); } return Math.round(evasion); }
public static float evasionMultiplier( Char target ){ return (float) Math.pow( 1.15, getBonus(target, Evasion.class)); }