新将来袭活动结束,清空道具

back_recharge
duhui 2020-12-25 10:06:22 +08:00
parent 41ee275964
commit a1cea20bdc
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ public class DefaultEmptyActivity extends AbstractActivity{
MailLogic.getInstance().sendMail(user.getId(),title,content,mailReward,(int)(System.currentTimeMillis()/1000), Global.MAIL_EFFECTIVE_TIME);
}*/
}
}else if(sGlobalActivity.getType() == ActivityType.EXCHANGEANDDROP){
}else if(sGlobalActivity.getType() == ActivityType.EXCHANGEANDDROP || sGlobalActivity.getType() == ActivityType.NEW_GENERAL_ATTACK){
// 限时兑换和新将来袭活动结束会清空道具
int shopId = sGlobalActivity.getShopId()[0];
SStoreConfig sStoreConfig = SStoreConfig.getSstoreConfigBuyStore().get(shopId).get(0);
int removeItemId = sStoreConfig.getCost()[0][0];