车迟斗法打点修改
parent
19ee0348b9
commit
315ef31145
|
@ -99,7 +99,6 @@ public class FastChallengeHandler extends BaseHandler<FightInfoProto.FastFightCh
|
|||
RankEnum.toRank(RankEnum.CAR_DEALY_RANK.getType()).incrementRankScore(uid,"",myscore);
|
||||
RankEnum.toRank(RankEnum.CAR_DEALY_GUILD_RANK.getType()).incrementRankScore(guildInfo.getId(),"",gainScore,isNew?1:0);
|
||||
user.getUserMissionManager().onGameEvent(user, GameEvent.CAR_PLAY,1);
|
||||
ReportUtil.onReportEvent(user, ReportEventEnum.COMPLETE_CHECHI.getType(),sWorldBossSetting.getid(),monsterId, MonsterUtil.getMonsterForce(new int[]{monsterId}),new Date(),new ArrayList<>(),0,"","");
|
||||
}break;
|
||||
case 2:{
|
||||
PVPFightEvent pvpFightEvent = new PVPFightEvent(uid,GlobalsDef.CAR_DELAY_TEAM, battleRound,"", GameFightType.CarPersonChallenge,challeageId,GlobalsDef.CAR_DELAY_TEAM);
|
||||
|
@ -146,5 +145,6 @@ public class FastChallengeHandler extends BaseHandler<FightInfoProto.FastFightCh
|
|||
user.getGuildMyInfo().setCarPlayTime(TimeUtils.nowInt());
|
||||
FightInfoProto.FastFightChallengeResponse build = FightInfoProto.FastFightChallengeResponse.newBuilder().setHurt(hurt).setScore(gainScore).setFightData(fightData).build();
|
||||
MessageUtil.sendMessage(iSession,1, MessageTypeProto.MessageType.FAST_FIGHT_CHALLENGE_RESPONSE_VALUE,build,true);
|
||||
ReportUtil.onReportEvent(user, ReportEventEnum.COMPLETE_CHECHI.getType(),sWorldBossSetting.getid(),type,1,gainScore);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ public enum ReportEventEnum {
|
|||
|
||||
COMPLETE_XINMO(37,"complete_xinmo", new CommonEventHandler(),new String[]{"stage_id","enemy_id","enemy_capacity","start_time","enemy_hero_list","rewards_id_list","rewards_num_list"}),
|
||||
|
||||
COMPLETE_CHECHI(39,"complete_chechi", new CommonEventHandler(),new String[]{"stage_id","enemy_id","enemy_capacity","start_time","enemy_hero_list","left_challenge_nums","rewards_id_list","rewards_num_list"}),
|
||||
COMPLETE_CHECHI(39,"start_chechi", new CommonEventHandler(),new String[]{"stage_id","stage_type","Integral_entrance","Integral"}),
|
||||
|
||||
START_PANOPTIC_MIRROR(40,"start_panoptic_mirror", new CommonEventHandler(),new String[]{""}),
|
||||
|
||||
|
|
|
@ -2519,23 +2519,6 @@ public class HeroLogic{
|
|||
returnItemMap.put(entry.getKey(),returnItemMap.getOrDefault(entry.getKey(),0)+entry.getValue());
|
||||
}
|
||||
}
|
||||
// int especialEquipLevel = hero.getEspecialEquipLevel();
|
||||
// if(especialEquipLevel==1||especialEquipLevel==0){
|
||||
// continue;
|
||||
// }
|
||||
// SCHero scHero = SCHero.getsCHero().get(hero.getTemplateId());
|
||||
// int[] equipTalismana = scHero.getEquipTalismana();
|
||||
// if(equipTalismana!=null&&equipTalismana.length>1){
|
||||
// continue;
|
||||
// }
|
||||
// TreeMap<Integer, SEquipTalismana> levelMap = (TreeMap<Integer, SEquipTalismana>) SEquipTalismana.equipTalismanaStarMap.get(equipTalismana[1]);
|
||||
// Map<Integer, SEquipTalismana> returnMap = levelMap.subMap(1, hero.getEspecialEquipLevel());
|
||||
// for(Map.Entry<Integer, SEquipTalismana> entry:returnMap.entrySet()){
|
||||
// int[][] rankupBasicMaterial = entry.getValue().getRankupBasicMaterial();
|
||||
// for(int[] rankUpConsume:rankupBasicMaterial){
|
||||
// returnItemMap.put(rankUpConsume[0],returnItemMap.getOrDefault(rankUpConsume[0],0)+rankUpConsume[1]);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
int[][] resultDrop = new int[returnItemMap.size()][];
|
||||
int index = 0;
|
||||
|
|
Loading…
Reference in New Issue