Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix year thresholds for dropship engine and control multipliers. #2388

Merged
merged 1 commit into from
Nov 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions megamek/src/megamek/common/verifier/TestSmallCraft.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ public static double smallCraftControlMultiplier(int year) {
public static double dropshipEngineMultiplier(int year) {
if (year >= 2500) {
return 0.065;
} else if (year >= 2400) {
return 0.0715;
} else if (year >= 2351) {
return 0.0715;
} else if (year >= 2300) {
return 0.0845;
} else if (year >= 2251) {
return 0.091;
Expand All @@ -309,9 +309,9 @@ public static double dropshipEngineMultiplier(int year) {
public static double dropshipControlMultiplier(int year) {
if (year >= 2500) {
return 0.0075;
} else if (year >= 2400) {
return 0.009;
} else if (year >= 2351) {
return 0.009;
} else if (year >= 2300) {
return 0.00975;
} else if (year >= 2251) {
return 0.0105;
Expand Down