Adjusted credit reward for life total differences.

This commit is contained in:
Krazy
2014-05-04 06:20:26 +00:00
parent f2ff5cc850
commit effd8cb2c8

View File

@@ -400,7 +400,7 @@ public class QuestWinLose extends ControlWinLose {
}
if (game.getLifeDelta() >= 50) {
lifeDifferenceCredits += Math.min((game.getLifeDelta() - 45) / 5, 500);
lifeDifferenceCredits += Math.max(Math.min((game.getLifeDelta() - 46) / 4, 750), 0);
}
} // End for(game)
@@ -417,7 +417,7 @@ public class QuestWinLose extends ControlWinLose {
}
// Estates bonus
credTotal = credBase + credGameplay + credUndefeated;
credTotal = credBase + credGameplay + credUndefeated + lifeDifferenceCredits;
double estateValue = 0;
switch (qData.getAssets().getItemLevel(QuestItemType.ESTATES)) {
case 1: