fix 经验书不满5级时直接消耗不报错

This commit is contained in:
luying
2020-12-26 10:43:47 +08:00
parent 62b87c0c67
commit bfa0755739

View File

@@ -123,7 +123,8 @@ export class HeroHandler {
newExp += dicGoods.value * count;
}
}
if(newExp < needExp) {
if (newExp == oldExp) {
return resResult(STATUS.ROLE_EXP_NOT_ENOUGH);
}