测试服bug
parent
331e8849ff
commit
1d28d4e51d
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue