|
发表于 2023-1-27 20:47:54
|
显示全部楼层
HeavyArmor文件里
if (stats.getVariant().getSMods().contains("heavyarmor")) {
stats.getArmorBonus().modifyFlat(id, (Float) smag.get(hullSize));
} else {
stats.getArmorBonus().modifyFlat(id, (Float) mag.get(hullSize));
}
stats.getAcceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getDeceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getTurnAcceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getMaxTurnRate().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
改成
if (stats.getVariant().getSMods().contains("heavyarmor")) {
stats.getArmorBonus().modifyFlat(id, (Float) smag.get(hullSize));
} else {
stats.getArmorBonus().modifyFlat(id, (Float) mag.get(hullSize));
stats.getAcceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getDeceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getTurnAcceleration().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
stats.getMaxTurnRate().modifyMult(id, 1f - MANEUVER_PENALTY * 0.01f);
}
|
|