fix bug
This commit is contained in:
@@ -111,7 +111,7 @@ export async function matchRobots(scale: number, myCe: number, robotCe: number,
|
|||||||
}
|
}
|
||||||
let ce = 0;
|
let ce = 0;
|
||||||
for(let attrName in attribute) {
|
for(let attrName in attribute) {
|
||||||
ce += attribute[attrName] * getAttrCeRatio(attrName);
|
ce += attribute[attrName] * getAttrCeRatio(attrName)||0;
|
||||||
}
|
}
|
||||||
enemyObj.enemies.push({...enemy, attribute, lv});
|
enemyObj.enemies.push({...enemy, attribute, lv});
|
||||||
allCe += ce;
|
allCe += ce;
|
||||||
|
|||||||
Reference in New Issue
Block a user