v0.4.1: fixed armor max dr values not being limited to the min value
This commit is contained in:
parent
3ea94575bc
commit
c531d6e580
|
@ -222,7 +222,7 @@ public class Armor extends EquipableItem {
|
||||||
if (glyph != null) effectiveTier += glyph.tierDRAdjust();
|
if (glyph != null) effectiveTier += glyph.tierDRAdjust();
|
||||||
effectiveTier = Math.max(0, effectiveTier);
|
effectiveTier = Math.max(0, effectiveTier);
|
||||||
|
|
||||||
return effectiveTier * (2 + lvl);
|
return Math.max(DRMin(lvl), effectiveTier * (2 + lvl));
|
||||||
}
|
}
|
||||||
|
|
||||||
public final int DRMin(){
|
public final int DRMin(){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user