演武台,处理当没有玩家的情况
This commit is contained in:
@@ -215,6 +215,8 @@ export async function getBossHp(serverId: number, guildCode: string, dicBossBase
|
||||
playerCnt ++;
|
||||
}
|
||||
}
|
||||
if(playerCnt == 0) return { ratio: 1, bossHp: zoomInDamage(minBossHp) };
|
||||
|
||||
let subCe = getBossSubAttrCe(dicWar.secondAttrLevel, bossLv)
|
||||
console.log(`getBossHp activeCe ${activeCe} playerCnt ${playerCnt} subCe ${subCe}`);
|
||||
let B = (activeCe/playerCnt/6 - subCe)/GUILDACTIVITY.GATEACTIVITY_ENEMYCE;
|
||||
|
||||
Reference in New Issue
Block a user