战力:小数点

This commit is contained in:
luying
2021-08-19 18:43:52 +08:00
parent 69802f7af5
commit 0eb9751327

View File

@@ -677,7 +677,7 @@ function getHeroTransPiece() {
function getCeRatio() {
let arr = decodeArrayListStr(param.ATTRIBUTE.ATTRIBUTE_POWER);
gameData.ceRatio = arr.map(cur => {
return { type: parseInt(cur[0]), val: parseInt(cur[1]) }
return { type: parseInt(cur[0]), val: parseFloat(cur[1]) }
});
}