Skip to content

Add Gifts and fortune wheel feature - #3

Open
BXn4 wants to merge 8 commits into
mainfrom
Gifts-and-fortune-wheel
Open

Add Gifts and fortune wheel feature#3
BXn4 wants to merge 8 commits into
mainfrom
Gifts-and-fortune-wheel

Conversation

@BXn4

@BXn4 BXn4 commented Sep 24, 2024

Copy link
Copy Markdown
Member

Gifts stored in JSON in the database.

For the fortune wheel spin reset, I added a new status, so when we send it to the client, the client will set the playedWheelOfFortune to false, which means, its not displaying the gold in the wheel, and the user can spin free.
https://github.com/GGR-Devs/Cafe-Main/commit/98a919b67a7374a705fd45696294d257a49664ad#diff-7615865a92464bd704bb3fa469c1530c9f7ed1456f40a1b82e1038482d44e5e7R46

We need to implement this in the server side too.
If the player is online, and the 24h past, send the response.
Else we dont need to send it, because the played_wheel in the db updates.

330

Gifts not yet saved in the db
Not yet saved to the db
It was not set to 0, so its means the server will update the the new dish amount to the old one
@BXn4
BXn4 requested a review from keremgokcek September 24, 2024 09:01
@BXn4 BXn4 added the enhancement New feature or request label Sep 24, 2024
@BXn4 BXn4 linked an issue Sep 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set the dish amount to 0 on counter clean

2 participants