🐞 fix(稷下学宫): 修复圣物效果2009

This commit is contained in:
zhangxk
2023-09-13 21:13:39 +08:00
parent 22f84624da
commit 2860a89075
2 changed files with 6 additions and 5 deletions
@@ -469,10 +469,10 @@ export async function getNoBossRecoveryHp(roleId: string, gameCode: string) {
for (const { effectParam, cardCode } of newEffect) {
if (!getHolyCardIsUse(holyMap.get(cardCode))) continue;
await updateHolyUseCount(holyMap.get(cardCode), gameCode)
return true;
}
return true; // 拿到true 将所有学员更新和hp=maxHp
return false; // 拿到true 将所有学员更新和hp=maxHp
}
// 战斗胜利后若有学员死亡,则满血复活X名死亡学员 2010