Merge pull request #49 from monsterxcn/patch-2

修正攻击词条评分中的类型错误
This commit is contained in:
Kokomi 2022-06-24 18:55:20 +08:00 committed by GitHub
commit 53d8c0059f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ let Reliquaries = {
attrMark.hpPlus = attrMark.hp / baseAttr[0] * 100;
}
if (attrMark.atk) {
attrMark.atkPlus = attrMark.atk / (baseAttr[1] + 400) * 100;
attrMark.atkPlus = attrMark.atk / (parseInt(baseAttr[1]) + 400) * 100;
}
if (attrMark.def) {
attrMark.defPlus = attrMark.def / baseAttr[2] * 100;