🐞 fix(gvg): 遗迹的阵容战力修复
This commit is contained in:
@@ -101,7 +101,7 @@ export default class GVGVestigeRank extends BaseModel {
|
|||||||
|
|
||||||
public static async updateCe(roleId: string, hid: number, ce: number) {
|
public static async updateCe(roleId: string, hid: number, ce: number) {
|
||||||
let today = getZeroPoint();
|
let today = getZeroPoint();
|
||||||
await GVGVestigeRankModel.updateMany({ day: today, hasDefense: true, roleId, 'lineup.hid': hid }, { $set: { 'lineupCe.$.ce': ce } });
|
await GVGVestigeRankModel.updateMany({ day: today, hasDefense: true, roleId, 'lineup.hid': hid }, { $set: { 'lineup.$.ce': ce } });
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async changeRank(isSuccess: boolean, vestigeId: number, attackInfo: { roleId: string }, defenseInfo: { isRobot: boolean, roleId: string, oldRank: number }): Promise<{ isChange: boolean, atkData?: GVGVestigeRankType, defData?: GVGVestigeRankType, endTime: number }> {
|
public static async changeRank(isSuccess: boolean, vestigeId: number, attackInfo: { roleId: string }, defenseInfo: { isRobot: boolean, roleId: string, oldRank: number }): Promise<{ isChange: boolean, atkData?: GVGVestigeRankType, defData?: GVGVestigeRankType, endTime: number }> {
|
||||||
|
|||||||
Reference in New Issue
Block a user