Feat: Roll Timeout #15

Closed
opened 2 weeks ago by VD15 · 0 comments
VD15 commented 2 weeks ago
Collaborator

We want to add an adjustable limit on how often a user can roll for characters. This not only helps fight spam, but also lends artificial scarsity to the characters obtained through the gacha, meaning players will value their pulls more.


  • Update the rolling function to query the DB, retreiving the timestamp of the most recent pull done by that player.
  • Update the config file to add an adjustable roll timeout, which will dictate how long a player must wait between pulls.
  • Only allow the player to roll if the time elapsed between now and the timestamp of the last pull exceeds the roll timeout.

I think 20 hours will be a good starting timeout. This is long enough for players to integrate gamba into their daily routine, while being short enough to allow for minor fluctuations in a player's schedule without punishing them. Sometimes life gets in the way of an addiction.

We could also implement a special 'weekly' roll that players can do. This can refresh every Sunday and let a player grab 7 or 10 rolls at once, sort of an equivelant to the 10-pulls some gacha games let you do, only we don't charge you for it! Might run into attachment limits on some instances, though. cough mastodon cough

We want to add an adjustable limit on how often a user can roll for characters. This not only helps fight spam, but also lends artificial scarsity to the characters obtained through the gacha, meaning players will value their pulls more. --- - Update the rolling function to query the DB, retreiving the timestamp of the most recent pull done by that player. - Update the config file to add an adjustable roll timeout, which will dictate how long a player must wait between pulls. - Only allow the player to roll if the time elapsed between now and the timestamp of the last pull exceeds the roll timeout. I think 20 hours will be a good starting timeout. This is long enough for players to integrate gamba into their daily routine, while being short enough to allow for minor fluctuations in a player's schedule without punishing them. Sometimes life gets in the way of an addiction. We could also implement a special 'weekly' roll that players can do. This can refresh every Sunday and let a player grab 7 or 10 rolls at once, sort of an equivelant to the 10-pulls some gacha games let you do, only we don't charge you for it! Might run into attachment limits on some instances, though. *cough* mastodon *cough*
VD15 added the
Feature
label 2 weeks ago
VD15 self-assigned this 2 weeks ago
VD15 added reference feat/roll_timeout 2 weeks ago
VD15 added this to the v1.1 project 1 week ago
VD15 closed this issue 1 week ago
VD15 added this to the v1.1 milestone 1 week ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: waifu/kemoverse#15
Loading…
There is no content yet.