🐞 fix(gvg): 遗迹使用元宝挑战次数无奖励
This commit is contained in:
@@ -58,6 +58,12 @@ export function calFighterContribute(obj: { score: number }) {
|
||||
return obj?.score||0
|
||||
}
|
||||
|
||||
export async function getGVGActive(leagueCode: string, roleId: string) {
|
||||
let { configId } = getGVGConfig();
|
||||
let result = await GVGUserDataModel.findByRole(configId, leagueCode, roleId);
|
||||
return result?.active||0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得活跃
|
||||
* @param leagueCode
|
||||
|
||||
Reference in New Issue
Block a user