变身卡修改开启等级
parent
a2641a596a
commit
13c77c0830
|
@ -55,8 +55,8 @@ public class UpOrDownTransformationHandler extends BaseHandler<HeroInfoProto.UpO
|
|||
if (index > values.length){
|
||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE,"位置不存在");
|
||||
}
|
||||
int tLevel = user.getHeroManager().getTransformationForce()-1;
|
||||
if (values[index-1] > tLevel){
|
||||
int practiceLevel = user.getHeroManager().getPracticeLevel();
|
||||
if (values[index-1] > practiceLevel){
|
||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE,"变身卡位置未解锁,化身之力等级不足");
|
||||
}
|
||||
// 上阵变身卡
|
||||
|
|
Loading…
Reference in New Issue