diff --git a/megamek/src/megamek/common/Mech.java b/megamek/src/megamek/common/Mech.java index efcb2f29..cd094cb6 100644 --- a/megamek/src/megamek/common/Mech.java +++ b/megamek/src/megamek/common/Mech.java @@ -20,6 +20,7 @@ import java.io.PrintWriter; import java.math.BigInteger; import java.text.NumberFormat; import java.util.*; +import java.io.*; import megamek.MegaMek; import megamek.common.loaders.MtfFile; @@ -3380,9 +3381,9 @@ public abstract class Mech extends Entity { */ @Override public int calculateBattleValue() { - if (useManualBV) { - return manualBV; - } + // if (useManualBV) { + // return manualBV; + // } return calculateBattleValue(false, false); } @@ -3393,9 +3394,9 @@ public abstract class Mech extends Entity { */ @Override public int calculateBattleValue(boolean ignoreC3, boolean ignorePilot) { - if (useManualBV) { - return manualBV; - } + // if (useManualBV) { + // return manualBV; + // } bvText = new StringBuffer( "
Battle Value Calculations For "); @@ -3863,6 +3864,7 @@ public abstract class Mech extends Entity { bvText.append(endColumn); bvText.append(startColumn); bvText.append(dbv); + System.out.print("" + dbv + "\t"); bvText.append(endColumn); bvText.append(endRow); @@ -4049,6 +4051,7 @@ public abstract class Mech extends Entity { bvText.append(startColumn); bvText.append(" x "); bvText.append(tmmFactor); + System.out.print("" + tmmFactor + "\t"); bvText.append(endColumn); bvText.append(endRow); @@ -4867,6 +4870,7 @@ public abstract class Mech extends Entity { bvText.append(startColumn); bvText.append(endColumn); bvText.append(startColumn); + System.out.print("" + weaponBV + "\t"); bvText.append(weaponBV); bvText.append(endColumn); bvText.append(endRow); @@ -5307,6 +5311,8 @@ public abstract class Mech extends Entity { int retVal = (int) Math.round((finalBV) * pilotFactor); + System.out.println(retVal); + return retVal; } @@ -5584,6 +5590,9 @@ public abstract class Mech extends Entity { bvText.append(endTable); bvText.append(""); + + // System.out.println(bvText.toString()); + /* * maxLeft += 5; // leave some padding in the middle maxRight = * Math.max(maxRight, commafy.format(cost).length()); for (int i = 0; i