礼物装备
parent
9183594d06
commit
bb6795b755
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue