mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-25 20:32:52 +08:00
Fix gacha rate for weapons
This commit is contained in:
parent
19396a63c7
commit
fba26d2da9
@ -134,7 +134,7 @@ public class GachaManager {
|
||||
if (banner.getRateUpItems1().length > 0) {
|
||||
int eventChance = this.randomRange(1, 100);
|
||||
|
||||
if (eventChance >= banner.getEventChance() || gachaInfo.getFailedFeaturedItemPulls() >= 1) {
|
||||
if (eventChance <= banner.getEventChance() || gachaInfo.getFailedFeaturedItemPulls() >= 1) {
|
||||
itemId = getRandom(banner.getRateUpItems1());
|
||||
gachaInfo.setFailedFeaturedItemPulls(0);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user