一键背包
parent
f8662be876
commit
1b05903053
|
@ -121,9 +121,22 @@ public class GMRequestHandler extends BaseHandler{
|
|||
case GlobalGm.ONE_KEY_ITEM_OR_HERO:{
|
||||
//道具
|
||||
Map<Integer, SItem> sItemMap = SItem.getsItemMap();
|
||||
int[][] gmDrop = new int[sItemMap.size()][];
|
||||
int i=0;
|
||||
int length = 0;
|
||||
for(SItem sItem : sItemMap.values()){
|
||||
int ifopen = sItem.getIfopen();
|
||||
if(ifopen == 0){
|
||||
continue;
|
||||
}
|
||||
length++;
|
||||
}
|
||||
int[][] gmDrop = new int[length][];
|
||||
for(SItem sItem : sItemMap.values()){
|
||||
int ifopen = sItem.getIfopen();
|
||||
if(ifopen == 0){
|
||||
continue;
|
||||
}
|
||||
length++;
|
||||
int itemId = sItem.getId();
|
||||
int itemType = sItem.getItemType();
|
||||
int itemNum = 999;
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
package com.ljsd.jieling.util;
|
||||
|
||||
import com.ljsd.jieling.config.SEquipConfig;
|
||||
import com.ljsd.jieling.config.SItem;
|
||||
import com.ljsd.jieling.config.SRewardGroup;
|
||||
import com.ljsd.jieling.config.SRewardItem;
|
||||
import com.ljsd.jieling.config.*;
|
||||
import com.ljsd.jieling.globals.GlobalItemType;
|
||||
import com.ljsd.jieling.handler.map.MapManager;
|
||||
import com.ljsd.jieling.handler.map.TemporaryItems;
|
||||
|
|
Loading…
Reference in New Issue