属性: fix缩小战力倍数
This commit is contained in:
@@ -213,8 +213,9 @@ export function getBossHpByWarId(warId: number) {
|
||||
warInfo.forEach(hero => {
|
||||
let { attribute, dataId, relation, actorId } = hero;
|
||||
if (relation === 2) {
|
||||
let attrJson = new Attribute();
|
||||
attrJson.setByWarJson(attribute, 1);
|
||||
let newAttr = new Attribute();
|
||||
newAttr.setByWarJson(attribute, 1);
|
||||
let attrJson = newAttr.getReduceAttributes();
|
||||
|
||||
const hp = attrJson.hp||0;
|
||||
if (hp > 0) {
|
||||
|
||||
Reference in New Issue
Block a user