礼物装备

master_ob2
PC-202302260912\Administrator 2023-09-21 15:41:49 +08:00
parent 9183594d06
commit bb6795b755
1 changed files with 2 additions and 1 deletions

View File

@ -652,8 +652,9 @@ public class EquipLogic {
int prosperityNum = getGiftProsperityNum(user);
int resultBox = 0;
for (SGiftConfig value : SGiftConfig.map.values()) {
if (prosperityNum <= value.getGift()){
if (prosperityNum >= value.getGift()){
resultBox = value.getBox();
}else {
break;
}
}