军团活动:修改诸侯混战城门血量计算公式
This commit is contained in:
@@ -18,6 +18,7 @@ import { GUILDACTIVITY } from '../pubUtils/dicParam';
|
||||
import { ServerRecordModel } from '../db/ServerRecords';
|
||||
import { sendMessageToGuildWithSuc, sendMessageToUsersWithSuc } from './pushService';
|
||||
import { AttributeCal } from '../domain/roleField/attribute';
|
||||
import { saveGuildBossHpLog } from '../pubUtils/logUtil';
|
||||
|
||||
/**
|
||||
* 获得boss界面
|
||||
@@ -231,6 +232,7 @@ export async function getBossHp(serverId: number, guildCode: string, dicBossBase
|
||||
bossHp = minBossHp;
|
||||
}
|
||||
console.log(`getBossHp B ${B}`);
|
||||
saveGuildBossHpLog(serverId, warId, guildCode, { minBossHp, bossHpRatio, hp, activeCe, playerCnt, subCe, B, bossHp })
|
||||
return { ratio: B, bossHp: zoomInDamage(bossHp) };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user