Skip to content

Commit

Permalink
WishesPredictor 1.2.1
Browse files Browse the repository at this point in the history
- small design reworks
- some readme fixes
  • Loading branch information
krypt0nn committed Jul 25, 2021
1 parent a9e8ad6 commit 75b88e5
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 36 deletions.
10 changes: 5 additions & 5 deletions Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions Main.resx
Original file line number Diff line number Diff line change
Expand Up @@ -230,28 +230,28 @@
</data>
<data name="pictureBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAAAHIAAAByAbGGoRoAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa
AAABcUlEQVQ4T5WTz0rDQBDG13dpi3j0InhS8O7Bg6de9K5evWhB8CSIPoAvIWkRUerB/4KFxMZYa0qx
sWLBSw0tthln1s12d1NFA7+w/Wbm687shgGAxqhVymQKdi6dt/fTBTvg4Jo0ipn56mIklXdWsCBE4AdC
yqFczYAEDFpq8tiBA/MXVVi8qcHEkauaEFZswg3EP8uE5ds6hL0+hgbPbuVVNQCqQZnxnlGQ2549rUCE
kVb3E5bQaOHah9pHl5tkL59Uk5BqGR/YQIRN94Unr9rPUtt+aHJty2tKjUgV7HUmpi1F6pf6jn9PHrvg
tzvcIHul7QColuGCjkoPCKaLHtTF9neMGQiCXw3OW21evFEOhsYRNDBaiMHZQKcfQek9TMQk1II5RJU1
pwFTxfuhMYIP0TxGlT3/DXJ3jYQu+D5GbDFxkYjxwzL0ogh8HKIZI+RFEq/EVSbmzh5h5sTTNIF+lWMT
sZP/f0wq1NffP2dgX9vmwY2Rn7JRAAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAA
cgAAAHIBsYahGgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFxSURBVDhPlZPP
SsNAEMbXd2mLePQieFLw7sGDp170rl69aEHwJIg+gC8haRFR6sH/goXExlhrSrGxYsFLDS22GWfWzXZ3
U0UDv7D9ZubrzuyGAYDGqFXKZAp2Lp2399MFO+DgmjSKmfnqYiSVd1awIETgB0LKoVzNgAQMWmry2IED
8xdVWLypwcSRq5oQVmzCDcQ/y4Tl2zqEvT6GBs9u5VU1AKpBmfGeUZDbnj2tQISRVvcTltBo4dqH2keX
m2Qvn1STkGoZH9hAhE33hSev2s9S235ocm3La0qNSBXsdSamLUXql/qOf08eu+C3O9wge6XtAKiW4YKO
Sg8Ipose1MX2d4wZCIJfDc5bbV68UQ6GxhE0MFqIwdlApx9B6T1MxCTUgjlElTWnAVPF+6Exgg/RPEaV
Pf8NcneNhC74PkZsMXGRiPHDMvSiCHwcohkj5EUSr8RVJubOHmHmxNM0gX6VYxOxk/9/TCrU198/Z2Bf
2+bBjZGfslEAAAAASUVORK5CYII=
</value>
</data>
<data name="pictureBox4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAAAHIAAAByAbGGoRoAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa
AAABcUlEQVQ4T5WTz0rDQBDG13dpi3j0InhS8O7Bg6de9K5evWhB8CSIPoAvIWkRUerB/4KFxMZYa0qx
sWLBSw0tthln1s12d1NFA7+w/Wbm687shgGAxqhVymQKdi6dt/fTBTvg4Jo0ipn56mIklXdWsCBE4AdC
yqFczYAEDFpq8tiBA/MXVVi8qcHEkauaEFZswg3EP8uE5ds6hL0+hgbPbuVVNQCqQZnxnlGQ2549rUCE
kVb3E5bQaOHah9pHl5tkL59Uk5BqGR/YQIRN94Unr9rPUtt+aHJty2tKjUgV7HUmpi1F6pf6jn9PHrvg
tzvcIHul7QColuGCjkoPCKaLHtTF9neMGQiCXw3OW21evFEOhsYRNDBaiMHZQKcfQek9TMQk1II5RJU1
pwFTxfuhMYIP0TxGlT3/DXJ3jYQu+D5GbDFxkYjxwzL0ogh8HKIZI+RFEq/EVSbmzh5h5sTTNIF+lWMT
sZP/f0wq1NffP2dgX9vmwY2Rn7JRAAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAA
cgAAAHIBsYahGgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFxSURBVDhPlZPP
SsNAEMbXd2mLePQieFLw7sGDp170rl69aEHwJIg+gC8haRFR6sH/goXExlhrSrGxYsFLDS22GWfWzXZ3
U0UDv7D9ZubrzuyGAYDGqFXKZAp2Lp2399MFO+DgmjSKmfnqYiSVd1awIETgB0LKoVzNgAQMWmry2IED
8xdVWLypwcSRq5oQVmzCDcQ/y4Tl2zqEvT6GBs9u5VU1AKpBmfGeUZDbnj2tQISRVvcTltBo4dqH2keX
m2Qvn1STkGoZH9hAhE33hSev2s9S235ocm3La0qNSBXsdSamLUXql/qOf08eu+C3O9wge6XtAKiW4YKO
Sg8Ipose1MX2d4wZCIJfDc5bbV68UQ6GxhE0MFqIwdlApx9B6T1MxCTUgjlElTWnAVPF+6Exgg/RPEaV
Pf8NcneNhC74PkZsMXGRiPHDMvSiCHwcohkj5EUSr8RVJubOHmHmxNM0gX6VYxOxk/9/TCrU198/Z2Bf
2+bBjZGfslEAAAAASUVORK5CYII=
</value>
</data>
<data name="pictureBox5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Можно задать все значения или принять номера сборки и редакции по умолчанию
// используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]
42 changes: 31 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,64 @@

<br>

<p align="center">A program that can calculate your probability to get <b>5*</b> character in <b>Genshin Impact</b></p>
<h3 align="center">A program that can calculate your probability to get a 5★ character in Genshin Impact</h3>

<br>
<br><br>

<p align="center"><img src="https://i.ibb.co/Hg9xcJB/Screenshot-5.png"></p>

<br><br>

# Installation

To run this application from release builds you must have preinstalled **.NET Framework 4.8 Runtime**. You can download the official installer here: https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer

<p align="center"><img src="https://i.ibb.co/VB9ZjR8/Screenshot-7.png"></p>
Also I use here Open Sans fonts family and you should install it if you have any text displaying issues: https://fonts.google.com/specimen/Open+Sans

<br>

To run this application from release builds you must have preinstalled **.NET Framework 4.8 Runtime**. You can download official installer here: https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer
| Version | Changelog | Download | Brief info |
| :-: | :-: | :-: | - |
| **1.2.1** *(current)* | [changelog](https://github.com/KRypt0nn/WishesPredictor/releases/tag/1.2.1) | [download](https://github.com/KRypt0nn/WishesPredictor/releases/download/1.2.1/WishesPredictor.exe) | Small design reworks and spellings mistakes fixes |
| 1.2.0 | [changelog](https://github.com/KRypt0nn/WishesPredictor/releases/tag/1.2.0) | [download](https://github.com/KRypt0nn/WishesPredictor/releases/download/1.2.0/WishesPredictor.exe) | Added both old and new probability calculation algorithms |
| 1.1.0 | [changelog](https://github.com/KRypt0nn/WishesPredictor/releases/tag/1.1.0) | [download](https://github.com/KRypt0nn/WishesPredictor/releases/download/1.1.0/WishesPredictor.exe) | Changed probability calculation algorithm |
| 1.0.1 | [changelog](https://github.com/KRypt0nn/WishesPredictor/releases/tag/1.0.1) | [download](https://github.com/KRypt0nn/WishesPredictor/releases/download/1.0.1/WishesPredictor.exe) | Small design reworks |
| 1.0.0 | [changelog](https://github.com/KRypt0nn/WishesPredictor/releases/tag/1.0.0) | [download](https://github.com/KRypt0nn/WishesPredictor/releases/download/1.0.0/WishesPredictor.exe) | Initial program version |

<br><br>

# Brief using instruction

Wishes Predictor have 2 regimes of work: **current probability** and **whole probability**

<br>

## Current probability

This regime works while the second checkbox is disabled. With it program will calculate probability to get a 5* character ***after*** all wishes you already did. That's really important moment to remember
This regime works while the second checkbox is disabled. With it program will calculate the probability to get a 5* character ***after*** all wishes you already did. That's really important moment to remember

<p align="center"><img src="https://i.ibb.co/v3Js010/Screenshot-6.png"></p>

<p align="center"><img src="https://i.ibb.co/dWCg5Xj/Screenshot-5.png"></p>
As you can see we have a 0% probability to get a 5* character after 89 made wishes because we don't have enough primogems. Besides that, this regime will calculate probability not looking at already done wishes, so 1 wish after 88 ones will have about 0.35% probability to give you a 5* character because this is its real mathematical probability, but logically we can see that it's not correct, right? So that's because we have the second work's regime

As you can see we have 0% probability to get a 5* character after 89 made wishes because we don't have enough primogems. Besides that, this regime will calculate probability not looking at already done wishes, so 1 wish after 88 ones will have about 0.35% probability to give you a 5* character because this is its real mathematical probability, but logically we can understand that it's not really correct, right? So that's because we have the second work's regime
<br>

## Whole probability

This regime works while the second checkbox is enabled. The difference between this and the upper one is that this one will calculate the ***whole*** probability of getting a 5* character. It means that we'll pay attention to all wishes we made before. It's not mathematically correct, but it shows us how huge probability we have ***globally*** to get a character we like

With this regime when we did (or have) 88 wishes and have 150 primogems - we'll have a 41.47% probability to get a 5* character. It's not correct because we can't make a wish with 150 primogems, but it's correct in fact that for *available* 89 wishes we *could have had* a 5* character with 41.47% probability

<p align="center"><img src="https://i.ibb.co/4ZZKPng/Screenshot-6.png"></p>
<p align="center"><img src="https://i.ibb.co/7bB41qQ/Screenshot-7.png"></p>

<br>

## And what's about the first checkbox?

This checkbox defines did you get an event character previously. In fact, if you did - the next 5* character you will get is 50/50 event or standard, but if you got a standard character before - the next one will 100% be event
This checkbox defines did you get an event character previously. If you did - the next 5* character you will get is 50/50 event or standard, but if you got a standard character before - the next one will 100% be an event

So all what you should do is enable this checkbox if in event banner last 5* character you got was Keqing, Mona, Diluc or Qiqi
So all that you should do is enable this checkbox if in event banner last 5* character you got was Keqing, Mona, Diluc or Qiqi

<br>

Author: [Nikita Podvirnyy](https://vk.com/technomindlp). Specially for Baal
Author: [Nikita Podvirnyy](https://vk.com/technomindlp). Especially for Baal

0 comments on commit 75b88e5

Please sign in to comment.