- Add comments to describe actions

- Add comments to describe actions
This commit is contained in:
Burai Mu 2025-09-12 18:11:56 +08:00
parent d56540b581
commit f1964baff2

View File

@ -519,7 +519,7 @@ export class ModifierSelectUiHandler extends AwaitableUiHandler {
success = this.setCursor(0);
}
break;
case Button.CYCLE_SHINY:
case Button.CYCLE_SHINY: // R key, by default to reroll the shop
if (this.onActionInput && globalScene.money >= this.rerollCost){
const originalOnActionInput = this.onActionInput;
this.awaitingActionInput = true;
@ -527,7 +527,7 @@ export class ModifierSelectUiHandler extends AwaitableUiHandler {
originalOnActionInput(0, 0);
}
break;
case Button.CYCLE_ABILITY:
case Button.CYCLE_ABILITY: // E key, by default to lock rarity
if (this.onActionInput && this.lockRarityButtonContainer.visible) {
const originalOnActionInput = this.onActionInput;
this.awaitingActionInput = true;