Commit fba26d2d authored by Melledy's avatar Melledy
Browse files

Fix gacha rate for weapons

parent 19396a63
...@@ -134,7 +134,7 @@ public class GachaManager { ...@@ -134,7 +134,7 @@ public class GachaManager {
if (banner.getRateUpItems1().length > 0) { if (banner.getRateUpItems1().length > 0) {
int eventChance = this.randomRange(1, 100); int eventChance = this.randomRange(1, 100);
if (eventChance >= banner.getEventChance() || gachaInfo.getFailedFeaturedItemPulls() >= 1) { if (eventChance <= banner.getEventChance() || gachaInfo.getFailedFeaturedItemPulls() >= 1) {
itemId = getRandom(banner.getRateUpItems1()); itemId = getRandom(banner.getRateUpItems1());
gachaInfo.setFailedFeaturedItemPulls(0); gachaInfo.setFailedFeaturedItemPulls(0);
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment