礼物装备
parent
9183594d06
commit
bb6795b755
|
@ -652,8 +652,9 @@ public class EquipLogic {
|
||||||
int prosperityNum = getGiftProsperityNum(user);
|
int prosperityNum = getGiftProsperityNum(user);
|
||||||
int resultBox = 0;
|
int resultBox = 0;
|
||||||
for (SGiftConfig value : SGiftConfig.map.values()) {
|
for (SGiftConfig value : SGiftConfig.map.values()) {
|
||||||
if (prosperityNum <= value.getGift()){
|
if (prosperityNum >= value.getGift()){
|
||||||
resultBox = value.getBox();
|
resultBox = value.getBox();
|
||||||
|
}else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue