diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/specialparm/ExpetionSpecialProcessor.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/specialparm/ExpetionSpecialProcessor.java index 3f2775418..1853f6e91 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/specialparm/ExpetionSpecialProcessor.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/fight/specialparm/ExpetionSpecialProcessor.java @@ -24,6 +24,7 @@ public class ExpetionSpecialProcessor implements SpecialBuildProcessor{ private final int DAMAGE_INCREASE = 17; private final int HOLY_INCREASE = 35; private final int JUDGE_INCREASE = 43; + private final int HOLY_QUALITY = 37; @Override public String getSpecialParm(User user) { Map config = STableManager.getConfig(SExpeditionHolyConfig.class); @@ -32,6 +33,11 @@ public class ExpetionSpecialProcessor implements SpecialBuildProcessor{ ExpeditionManager expeditionManager = user.getExpeditionManager(); Set propertyItems = user.getExpeditionManager().getPropertyItems(); propertyItems.forEach(e->{ + int type = config.get(e.getEquipId()).gettype(); + //掉落战利品 + if(type==2||type==3){ + cache.put(type,cache.getOrDefault(type,0)+1); + } //夜明珠 if(e.getEquipId() == HOLY_INCREASE){ cache.put(e.getEquipId(),cache.getOrDefault(e.getEquipId(),0) + 1); @@ -64,7 +70,6 @@ public class ExpetionSpecialProcessor implements SpecialBuildProcessor{ result.append(item==null?0:item.getCountVictory()); } //每使用一次判官笔 - expeditionManager.getEffectItems().get(JUDGE_INCREASE); SExpeditionHolyConfig con43 = expeditionManager.getEffectItems().get(JUDGE_INCREASE); if(con43 != null){ if(result.length()>0){ @@ -74,6 +79,16 @@ public class ExpetionSpecialProcessor implements SpecialBuildProcessor{ ExpeditionItem item = expeditionManager.getExpeditionItem(con43.getId()); result.append(item==null?0:item.getJudgePen()); } + SExpeditionHolyConfig con37 = expeditionManager.getEffectItems().get(HOLY_QUALITY); + if(con37 != null){ + if(result.length()>0){ + result.append("|"); + } + result.append(con37.getPassiveSkillId()+"#"); + int num = cache.getOrDefault(2,0); + num += cache.getOrDefault(3,0); + result.append(num); + } return result.toString(); } }