v2.5.0: fixed ring of haste granting 75% speed instead of 17.5&

This commit is contained in:
Evan Debenham
2024-08-22 13:12:12 -04:00
parent 364b2ee5bd
commit 83643fd2fb

View File

@@ -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 {