public int getMaximumWalkMP() { int max = 2; if(getWeightClass() < EntityWeightClass.WEIGHT_HEAVY) { max = 3; } if(chassisType == CHASSIS_TYPE_QUAD) { max += 2; } // Mechanical jump boosters add 1 MP and can increase it over the max if (hasWorkingMisc(MiscType.F_MECHANICAL_JUMP_BOOSTER)){ max++; } if (hasMyomerBooster()){ switch (getWeightClass()){ case EntityWeightClass.WEIGHT_ULTRA_LIGHT: case EntityWeightClass.WEIGHT_LIGHT: case EntityWeightClass.WEIGHT_MEDIUM: max += 2; break; case EntityWeightClass.WEIGHT_HEAVY: case EntityWeightClass.WEIGHT_ASSAULT: max++; break; } } return max; }
if (isMimetic && !hasMyomerBooster()) { int mmod = 3 - delta_distance; mmod = Math.max(0, mmod); && !hasMyomerBooster()) { switch (range) { case RangeType.RANGE_MINIMUM:
&& ba.hasMyomerBooster()) { buff.append("BattleArmor may not mount a mechanical jump booster " + "and a myomer booster!"); if (ba.hasMyomerBooster() && (ba.getArmorType(BattleArmor.LOC_SQUAD) == EquipmentType.T_ARMOR_BA_MIMETIC)) { buff.append("BattleArmor may not mount a myomer booster " if (ba.hasMyomerBooster() && ((ba.getArmorType(BattleArmor.LOC_SQUAD) == EquipmentType.T_ARMOR_BA_STEALTH) || (ba.getArmorType(BattleArmor.LOC_SQUAD) == EquipmentType.T_ARMOR_BA_STEALTH_BASIC)
boolean ignoreMyomerBooster) { int j = getOriginalWalkMP(); if (hasMyomerBooster()) { if (!ignoreMyomerBooster) { if (getWeightClass() >= EntityWeightClass.WEIGHT_HEAVY) {
if (hasMyomerBooster()) { damage += getTroopers() * 2;
if (ae instanceof BattleArmor) { damage += ((BattleArmor) ae).getVibroClaws(); if (((BattleArmor) ae).hasMyomerBooster()) { damage += ((BattleArmor) ae).getTroopers() * 2;