测试服bug

back_recharge
zhangshanxue 2020-04-11 18:48:02 +08:00
parent 331e8849ff
commit 1d28d4e51d
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ public class CheckFight {
LuaValue result = func.call( args,fightData,optionData);
int status = result.get("result").toint();
int duration = result.get("duration").toint();
int[] resultCache = new int[7];
int[] resultCache = new int[8];//对方阵容走配置 Todo 后面结构走配置
resultCache[0]=status;
resultCache[1]=duration;
LOGGER.info(" lua check test fight result : "+ status);

View File

@ -813,7 +813,7 @@ public class HeroLogic{
private void rankUpHeroExecute(Hero hero,int starCount,int unlockEspecialEquipStar) throws Exception {
//是否解锁法宝
if(hero.getStar()<unlockEspecialEquipStar&&hero.getStar()+starCount>=unlockEspecialEquipStar){
hero.updateEspecial(0);
hero.updateEspecial(1);
}
hero.upStar( 1 );
}