back_recharge
gaojie 2019-01-22 16:41:41 +08:00
parent deec982cb9
commit 93aad66ce4
6 changed files with 11 additions and 11 deletions

View File

@ -1,3 +1,3 @@
RewardGroupID Info IsUpset RewardItem RewardMaxNum Loop Id IsUpset RewardItem RewardMaxNum Loop
int string int mut,int#int,1 int int int int mut,int#int,1 int int
1 钻石招募卡池1 2 1#2#3#4#5#6#7#8#9#10#11#12#13#14#15#16#17#18#19#20#21#22#23#24#25#26#27#28#29#30#31#32#33#34#35#36#37#38#39#40#41#42#43#44#45#46#47#48#49#50#51#52#53#54#55#56 1 0 1 2 1#2#3#4#5#6#7#8#9#10#11#12#13#14#15#16#17#18#19#20#21#22#23#24#25#26#27#28#29#30#31#32#33#34#35#36#37#38#39#40#41#42#43#44#45#46#47#48#49#50#51#52#53#54#55#56 1 0

View File

@ -1,4 +1,4 @@
Id ItemId Chance GrowChance RandomMin RandomMax id itemId Chance GrowChance RandomMin RandomMax
int int int int int int int int int int int int
1 10001 100 0 1 1 1 10001 100 0 1 1
2 10002 100 0 1 1 2 10002 100 0 1 1

View File

@ -29,7 +29,7 @@ public class SCHeroRankUpConfig implements BaseConfig{
@Override @Override
public void init() throws Exception { public void init() throws Exception {
scHeroRankUpConfigMap = STableManager.getConfig(SCHeroRankUpConfig.class); // scHeroRankUpConfigMap = STableManager.getConfig(SCHeroRankUpConfig.class);
} }
public static Map<Integer, SCHeroRankUpConfig> getScHeroRankUpConfigMap() { public static Map<Integer, SCHeroRankUpConfig> getScHeroRankUpConfigMap() {

View File

@ -16,7 +16,7 @@ public class SRewardGroup implements BaseConfig {
* 3 * 3
*/ */
private int isUpset; // 掉落type private int isUpset; // 掉落type
private int[] rewardGroupID; private int[] rewardItem;
private int rewardMaxNum; // 道具数 private int rewardMaxNum; // 道具数
/** /**
* 3 * 3
@ -41,8 +41,8 @@ public class SRewardGroup implements BaseConfig {
return isUpset; return isUpset;
} }
public int[] getRewardGroupID() { public int[] getRewardItem() {
return rewardGroupID; return rewardItem;
} }
public int getRewardMaxNum() { public int getRewardMaxNum() {

View File

@ -34,7 +34,7 @@ public class ItemUtil {
} }
private static void selectDrop(SRewardGroup sRewardGroup,Map<Integer, Integer> itemMap, Map<Integer, Integer> cardMap) { private static void selectDrop(SRewardGroup sRewardGroup,Map<Integer, Integer> itemMap, Map<Integer, Integer> cardMap) {
int[] rewardItem = sRewardGroup.getRewardGroupID(); int[] rewardItem = sRewardGroup.getRewardItem();
StringBuilder rewardStr = new StringBuilder(); StringBuilder rewardStr = new StringBuilder();
StringBuilder weight = new StringBuilder(); StringBuilder weight = new StringBuilder();
for (int dropId :rewardItem){ for (int dropId :rewardItem){

View File

@ -1,5 +1,5 @@
#server info #server info
server.id = 10180 server.id = 10212
server.openTime = 20190101000101 server.openTime = 20190101000101
server.num = 1 server.num = 1
@ -30,7 +30,7 @@ spring.redis.expireTime = -1
#spring.data.mongodb.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/ysj_wx_1 #spring.data.mongodb.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/ysj_wx_1
#spring.data.mongodb2.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/develop_ysj_wx_1 #spring.data.mongodb2.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/develop_ysj_wx_1
#mongodb2 develop #mongodb2 develop
spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_msy spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_10212
mongodb.options.maxWaitTime = 120000 mongodb.options.maxWaitTime = 120000
mongodb.options.connectTimeout = 1000 mongodb.options.connectTimeout = 1000
mongodb.options.socketTimeout = 0 mongodb.options.socketTimeout = 0