Updates from Feedback, Wallet size affects reduction rate and wider range of interval options. (#3335)

This commit is contained in:
Caladius 2023-11-05 19:53:46 -05:00 committed by GitHub
parent 127f2651df
commit ecafa87195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -369,7 +369,8 @@ void RegisterRupeeDash() {
if (rupeeDashTimer >= rdmTime) {
rupeeDashTimer = 0;
if (gSaveContext.rupees > 0) {
Rupees_ChangeBy(-1);
uint16_t walletSize = (CUR_UPG_VALUE(UPG_WALLET) + 1) * -1;
Rupees_ChangeBy(walletSize);
} else {
Health_ChangeBy(gPlayState, -16);
}

View File

@ -1129,7 +1129,7 @@ void DrawEnhancementsMenu() {
if (CVarGetInteger("gRupeeDash", 0)) {
UIWidgets::PaddedEnhancementSliderInt(
"Rupee Dash Interval: %d", "##DashInterval", "gDashInterval", 3, 5, "", 5, true, true, false,
"Rupee Dash Interval: %d", "##DashInterval", "gDashInterval", 1, 10, "", 5, true, true, false,
!CVarGetInteger("gRupeeDash", 0),
"This option is disabled because \"Rupee Dash Mode\" is turned off");
UIWidgets::Tooltip("Interval between Rupee reduction in Rupee Dash Mode");