✨ feat(通用丹): 增加通用丹功能

https://bantugame.feishu.cn/wiki/wikcnlWkklK1jkQZRHgbQ0nrVNc
This commit is contained in:
luying
2022-10-20 17:40:20 +08:00
parent 19e0584d35
commit 9b89815f9a
7 changed files with 396 additions and 42 deletions
+2 -2
View File
@@ -1390,9 +1390,9 @@ export function checkRouteParam(route: string, msg: any) {
}
case "role.heroHandler.heroJobTrain":
{
let { hid, isOneClick } = msg;
let { hid, isOneClick, canReplace } = msg;
if(!checkNaturalNumbers(hid)) return false;
if(!checkBoolean(isOneClick)) return false;
if(!checkBoolean(isOneClick, canReplace)) return false;
break;
}
case "role.heroHandler.heroJobStageUp":