军团:军团boss血量添加保底

This commit is contained in:
luying
2022-06-02 20:42:55 +08:00
parent 1192065b64
commit 2157e1c105

View File

@@ -226,6 +226,10 @@ export async function getBossHp(serverId: number, guildCode: string, dicBossBase
B = 1;
bossHp = minBossHp;
}
if(bossHp < minBossHp) {
B = 1;
bossHp = minBossHp;
}
console.log(`getBossHp B ${B}`);
return { ratio: B, bossHp: zoomInDamage(bossHp) };
}