v2.5.0: fixed ring of haste granting 75% speed instead of 17.5&
This commit is contained in:
@@ -48,7 +48,7 @@ public class RingOfHaste extends Ring {
|
||||
|
||||
public String upgradeStat1(int level){
|
||||
if (cursed && cursedKnown) level = Math.min(-1, level-3);
|
||||
return Messages.decimalFormat("#.##", 100f * (Math.pow(1.75f, level+1)-1f)) + "%";
|
||||
return Messages.decimalFormat("#.##", 100f * (Math.pow(1.175f, level+1)-1f)) + "%";
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -57,7 +57,7 @@ public class RingOfHaste extends Ring {
|
||||
}
|
||||
|
||||
public static float speedMultiplier( Char target ){
|
||||
return (float)Math.pow(1.75, getBuffedBonus(target, Haste.class));
|
||||
return (float)Math.pow(1.175, getBuffedBonus(target, Haste.class));
|
||||
}
|
||||
|
||||
public class Haste extends RingBuff {
|
||||
|
||||
Reference in New Issue
Block a user