diff --git a/game-server/app/services/guildBossService.ts b/game-server/app/services/guildBossService.ts index 074de73a4..52de6a7ae 100644 --- a/game-server/app/services/guildBossService.ts +++ b/game-server/app/services/guildBossService.ts @@ -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;