pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

adds daily run to offline mode

Open Nexllon opened this issue 9 months ago • 1 comments

Fixed fetchDailyRunSeed() to reject properly, had unhandled errors. Made a function to handle daily generation inside initDailyRun() and added a isLocal check to run based on that: online -> generate based on seed from fetchDailyRunSeed() offline -> generated based on a simple base64 string date

Nexllon avatar May 13 '24 01:05 Nexllon

I can confirm offline works as expected, cannot verify online although it looks fine to me heh

Admiral-Billy avatar May 13 '24 01:05 Admiral-Billy

Daily runs on offline mode bypass the once per day reward. This is a change in balance between online and offline.

Flashfyre avatar May 13 '24 17:05 Flashfyre

Daily runs on offline mode bypass the once per day reward. This is a change in balance between online and offline.

That's true, I was thinking about how easily moddable everything is and forgot about the normal players who want/need the same experience. I'll try to make an offline check for that using local storage as the rest of the offline info

Nexllon avatar May 13 '24 20:05 Nexllon