路由:修复单个路由情况

This commit is contained in:
luying
2022-08-12 10:52:34 +08:00
parent 1313f0777f
commit aae53a9f49
4 changed files with 13 additions and 14 deletions

View File

@@ -32,8 +32,8 @@ export async function getTeraphStrengthenResult(role: RoleType, count: number, d
if(!isEnough) break; // 消耗不足
let num = getRandValueByMinMax(TERAPH_RANDOM.MIN, TERAPH_RANDOM.MAX); // 强化时随机增加 2-4 属性
let arr = getRandEelm(attrs, num); // 随机出的属性id
// let num = getRandValueByMinMax(TERAPH_RANDOM.MIN, TERAPH_RANDOM.MAX); // 强化时随机增加 2-4 属性
let arr = getRandEelm(attrs, 1); // 随机出的属性id
let critical = getRandValueByMinMax(0, 100);//属性暴击率
if(teraph.criCount == undefined || teraph.count == undefined) {
teraph.criCount = 0;