大闹天宫优化
parent
66bea3f2c5
commit
54dabc2564
|
@ -843,6 +843,9 @@ public class ExpeditionLogic {
|
||||||
* 处理圣物英雄技能
|
* 处理圣物英雄技能
|
||||||
*/
|
*/
|
||||||
private static void disposeWithHeroHoly(User user,Hero hero,StringBuilder skillSb){
|
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());
|
int holyId = user.getExpeditionManager().getHeroItems().get(hero.getTemplateId());
|
||||||
SExpeditionHolyConfig con = STableManager.getConfig(SExpeditionHolyConfig.class).get(holyId);
|
SExpeditionHolyConfig con = STableManager.getConfig(SExpeditionHolyConfig.class).get(holyId);
|
||||||
if( con != null ){
|
if( con != null ){
|
||||||
|
|
Loading…
Reference in New Issue