mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 09:27:34 +00:00
修正攻击词条评分中的类型错误
This commit is contained in:
parent
7cc09121ac
commit
dc91e8fa07
@ -23,7 +23,7 @@ let Reliquaries = {
|
|||||||
attrMark.hpPlus = attrMark.hp / baseAttr[0] * 100;
|
attrMark.hpPlus = attrMark.hp / baseAttr[0] * 100;
|
||||||
}
|
}
|
||||||
if (attrMark.atk) {
|
if (attrMark.atk) {
|
||||||
attrMark.atkPlus = attrMark.atk / (baseAttr[1] + 400) * 100;
|
attrMark.atkPlus = attrMark.atk / (parseInt(baseAttr[1]) + 400) * 100;
|
||||||
}
|
}
|
||||||
if (attrMark.def) {
|
if (attrMark.def) {
|
||||||
attrMark.defPlus = attrMark.def / baseAttr[2] * 100;
|
attrMark.defPlus = attrMark.def / baseAttr[2] * 100;
|
||||||
|
Loading…
Reference in New Issue
Block a user