Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gacha prob and mechanism is not correct #183

Closed
WetABQ opened this issue Apr 24, 2022 · 3 comments
Closed

Gacha prob and mechanism is not correct #183

WetABQ opened this issue Apr 24, 2022 · 3 comments
Labels
enhancement New feature or request todo Something to complete

Comments

@WetABQ
Copy link
Member

WetABQ commented Apr 24, 2022

Gacha prob has prob increasing mechanism and stable mechanism

and UP gacha pool does not contain Amber, Kaeya, and Lisa

4 star UP also has the pity mechanism.

We could refer to this passage (Chinese)
And I also once wrote a QQ bot Gacha Emulator with an overall customize pipeline system for it, you could refer this code (write in Kotlin)

Pity & UP

image

Stable Mechanism

image

Overall Pipeline

image

@WetABQ
Copy link
Member Author

WetABQ commented Apr 24, 2022

I will translate it later ;)

@lunaticwhat
Copy link
Member

since gacha algorithm is still a PoC and hardcoded in some way, we still need to improve it with better math !

@Jirehlov
Copy link

I'd recommend the same algorithm as well.
For more reference only,
PoC in C++: https://github.com/Jirehlov/libgiwscli
PoC in Python: https://github.com/CMHopeSunshine/Genshin_Gacha_XY

Also some tips,

  1. The counters in the "Stable Mechanism" should be cleared once the current banner ends;
  2. Mersenne Twister is recommended;
  3. Expected probs are,
    for weapon banners,
    5-star items overall prob: 1.87793%
    4-star items overall prob: 14.8412%
    for char banners and Permanent Wish,
    5-star items overall prob: 1.60521%
    4-star items overall prob: 13.0566%

@KingRainbow44 KingRainbow44 added the enhancement New feature or request label Apr 25, 2022
@lunaticwhat lunaticwhat added the todo Something to complete label May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo Something to complete
Projects
None yet
Development

No branches or pull requests

4 participants