File tree 1 file changed +5
-3
lines changed
MekHQ/src/mekhq/campaign/personnel
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1939,8 +1939,6 @@ public Money getSalary(final Campaign campaign) {
1939
1939
}
1940
1940
1941
1941
// If the salary is negative, then use the standard amounts
1942
- // TODO : Figure out a way to allow negative salaries... could be used to simulate a Holovid
1943
- // TODO : star paying to be part of the company, for example
1944
1942
Money primaryBase = campaign .getCampaignOptions ().getRoleBaseSalaries ()[getPrimaryRole ().ordinal ()];
1945
1943
1946
1944
// SpecInf is a special case, this needs to be applied first to bring base salary up to RAW.
@@ -1983,7 +1981,11 @@ public Money getSalary(final Campaign campaign) {
1983
1981
1984
1982
// TODO: distinguish DropShip, JumpShip, and WarShip crew
1985
1983
// TODO: Add era mod to salary calc..
1986
- return primaryBase .plus (secondaryBase );
1984
+ if (getRank ().getPayMultiplier () > 0 ) {
1985
+ return primaryBase .plus (secondaryBase ).multipliedBy (getRank ().getPayMultiplier ());
1986
+ } else {
1987
+ return primaryBase .plus (secondaryBase );
1988
+ }
1987
1989
}
1988
1990
1989
1991
/**
You can’t perform that action at this time.
0 commit comments