fix fight

back_recharge
wangyuan 2019-09-02 15:05:21 +08:00
parent 7b8f7e8f7e
commit c785e9b813
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ public class FightDataUtil {
LuaValue passivityDataPer= new LuaTable();
for(int i=0;i<unitSkill.length;i++){
LuaValue detail = new LuaTable();
if(StringUtil.isEmpty(unitSkill[i])){
continue;
}
int passivityId = Integer.parseInt(unitSkill[i]);
SPassiveSkillLogicConfig sPassiveSkillLogicConfig = SPassiveSkillLogicConfig.getConfig(passivityId);
detail.rawset(1, LuaValue.valueOf(sPassiveSkillLogicConfig.getType()));