Skip to content

Reimplement gacha#32

Merged
Melledy merged 3 commits into
Melledy:mainfrom
Yostarcc:main
May 6, 2026
Merged

Reimplement gacha#32
Melledy merged 3 commits into
Melledy:mainfrom
Yostarcc:main

Conversation

@Yostarcc

@Yostarcc Yostarcc commented May 5, 2026

Copy link
Copy Markdown
Contributor
  1. Fix calculation logic for the gacha guarantee system
  2. Implement the beginner gacha banner
  3. Migrate gacha histories to a dedicated gacha_histories table
  4. Implement an approximate gacha probability algorithm based on official rules.
    My test script
    A 100,000,000-pull simulation was executed against the current implementation (banner 10145):
    • 5★ overall rate: 2.223084% (official: 2.247%, delta: -0.023916%)
    • Featured 5★ overall rate: 1.225664% (official: 1.250%, delta: -0.024336%)
    • 4★+ overall rate: 15.161929% (official: 14.600%, delta: +0.561929%)
    • On 10th-pity-trigger pull: 5★ rate 2.221446% (official: 2.000%, delta: +0.221446%),
      4★ rate 97.778554% (official: 98.000%, delta: -0.221446%)

@Melledy Melledy merged commit 1316654 into Melledy:main May 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants