Simple Genshin Impact wish simulator discord bot. This bot is useful to test out your luck before doing the actual gacha (don't blame me if your results sucks anyway) or because you simply zero on primos just to have some fun.
This project is inspired from Genshin-Impact-Wish-Simulator and uses some assets from there. It's a cool project, you may want to check it out.
You can invite Yoimiya to your server here.
All Yoimiya's related updates will be posted on Telegram channel. Get notified here.
Yoimiya's commands is available on prefixed and slash commands. To use prefixed command, type y!<command> ...<args>.
This rates is opinionated since we don't really know Genshin's rates works internally.
Soft pity counter started at 75th pull for standard and character banner and 65th for weapon banner. Hard pity is triggered at 90th pull for standard and character banner and 80th for weapon banner
- 3 Stars.
Rates is
94.3%for standard and character banner and93.3%for weapon banner. Will be set as0%once hard pity is reached. This will be substracted once soft pity counter is started, bynpulls after soft pity start *6.2125(standard and character banner) or6.20625(weapon banner) until it reach hard pity.
Table example for standard and character banner:
| Pulls | 1 | ... | 75 | 76 | ... | 90 |
| Rates | 94.3% | ... | 88.0875% | 81.875% | ... | 0% |
- 4 Stars.
Rates is
5.1%for standard and character banner and6%for weapon banner. Guaranteed on every 10th pull. Will be set as0%once hard pity is reached. - 5 Stars
Rates is
0.6%for standard and character banner and0.7%for weapon banner. Will be set as100%once hard pity is reached. This will be added once soft pity counter is started, bynpulls after soft pity start *6.2125(standard and character banner) or6.20625(weapon banner) until it reach hard pity - 1.
Table example for standard and character banner:
| Pulls | 1 | ... | 75 | 76 | ... | 90 |
| Rates | 0.6% | ... | 6.8125% | 13.025% | ... | 100% |
- The gacha results appearance doesn't really looks like the real one.
- Images may looks blurry.
- Images doesn't properly scaled. This mean that you may see some image is smaller than another and vice versa.
- Currently the Fate Point System is applied to all weapon banners including those from pre 2.0 patch.
- There's no Beginner Banner and won't be added.
If you have any suggestion for those limitations, let me know by opening an issue.
- NodeJS
v16.x.xor higher. - MongoDB
v4.xor higher.
- Download or clone this repo.
- Install the dependencies (Yarn recommended).
Before you can use the bot, you have to setup things first like downloads and generate the images. It's done this way to keep the repo size small. Note: You have to download and generate the images in sequentially order.
- Downloading images.
Execute
yarn downloadto download the images. - Generating images.
Execute
yarn generateto process downloaded images and generate the edited one. - Setup
envfile. First copy.env.exampleinto.env. Then replaceBOT_TOKENwith your Discord bot token and replaceDATABASE_URLwith your database connection url.
When developing, you may want to use the yarn dev command since this command will watch changes and restart the bot automatically.
When running on production, you can use the yarn start command. Note that you have to build the bot using the yarn build command first.
PRs, Issues, suggestions, etc are welcome. Please kindly open a new issue to discuss it first.
Feeling grateful? please consider donating.
Currently Yoimiya is deployed on small server located in Indonesia. By donating, we'd be able to deploy Yoimiya on better server.
This project is not affiliated with Hoyoverse, all data used for this project belongs to Hoyoverse.
