关卡:主线奖励宝箱不可多次领取
This commit is contained in:
@@ -478,7 +478,7 @@ export class NormalBattleHandler {
|
||||
for(let id of boxIds) {
|
||||
let dicBox = gameData.mainBox.get(id);
|
||||
if(dicBox && dicBox.chapter == chapter && dicBox.warType == warType) {
|
||||
if(star >= dicBox.star) {
|
||||
if(star >= dicBox.star && role.receivedBox.indexOf(id) == -1) {
|
||||
rewards.push(...dicBox.reward);
|
||||
ids.push(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user