Add candy system for passives and value reductions

This commit is contained in:
Flashfyre committed 2024-04-13 18:59:58 -04:00
1 parent ccf956a63c
commit 824a73ef71
22 files changed
+2497 -1848

No files matched your search

+8 -2
View File
@@ -20,11 +20,17 @@ export default class ConfirmUiHandler extends AbstractOptionSelectUiHandler {
options: [
{
label: 'Yes',
handler: args[0]
handler: () => {
args[0]();
return true;
}
},
{
label: 'No',
handler: args[1]
handler: () => {
args[1]();
return true;
}
}
],
delay: args.length >= 6 && args[5] !== null ? args[5] as integer : 0