diff --git a/util/item/AEItemStack.java b/util/item/AEItemStack.java index c400b850..cbf90ad5 100644 --- a/util/item/AEItemStack.java +++ b/util/item/AEItemStack.java @@ -519,6 +519,14 @@ public final class AEItemStack extends AEStack implements IAEItemS { newDef.dspDamage = 0; } + else if ( fuzzy == FuzzyMode.PERCENT_99 ) + { + if ( def.damageValue == 0 ) + newDef.dspDamage = 0; + else + newDef.dspDamage = 1; + + } else { int breakpoint = fuzzy.calculateBreakPoint( def.maxDamage ); @@ -551,6 +559,13 @@ public final class AEItemStack extends AEStack implements IAEItemS { newDef.dspDamage = def.maxDamage + 1; } + else if ( fuzzy == FuzzyMode.PERCENT_99 ) + { + if ( def.damageValue == 0 ) + newDef.dspDamage = 0; + else + newDef.dspDamage = def.maxDamage + 1; + } else { int breakpoint = fuzzy.calculateBreakPoint( def.maxDamage );