大闹天宫优化

back_recharge
mengchengzhen 2021-03-19 15:10:36 +08:00
parent 66bea3f2c5
commit 54dabc2564
1 changed files with 3 additions and 0 deletions

View File

@ -843,6 +843,9 @@ public class ExpeditionLogic {
*
*/
private static void disposeWithHeroHoly(User user,Hero hero,StringBuilder skillSb){
if(!user.getExpeditionManager().getHeroItems().containsKey(hero.getTemplateId())){
return;
}
int holyId = user.getExpeditionManager().getHeroItems().get(hero.getTemplateId());
SExpeditionHolyConfig con = STableManager.getConfig(SExpeditionHolyConfig.class).get(holyId);
if( con != null ){