Unclaimed card effect chance should be dynamic #455

Open
opened 2025-06-01 13:18:43 +01:00 by Vylpes · 0 comments
Owner

Instead of being a flat 50% it is currently, we should dynamically set the chance based on the user's inventory.

For example, if the user has 75% of the database unclaimed, then they have a 75% chance of the effect giving an unclaimed card.

There should be a maximum and minimum value configured, so its never too high or too low

Subtasks

  • Make chance dynamic
  • Update tests
  • Remove unsued chance variable
  • Test locally
Instead of being a flat 50% it is currently, we should dynamically set the chance based on the user's inventory. For example, if the user has 75% of the database unclaimed, then they have a 75% chance of the effect giving an unclaimed card. There should be a maximum and minimum value configured, so its never too high or too low ## Subtasks - [x] Make chance dynamic - [x] Update tests - [x] Remove unsued chance variable - [ ] Test locally
Vylpes added this to the 0.10.0 milestone 2025-09-21 19:00:35 +01:00
Vylpes added this to the 0.10 Sprint 2 project 2025-10-17 18:04:22 +01:00
Vylpes self-assigned this 2025-11-26 18:07:30 +00:00
Vylpes stopped working 2025-11-26 18:47:11 +00:00
39 minutes 34 seconds
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 39 minutes 34 seconds
Vylpes
39 minutes 34 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
External/card-drop#455
No description provided.