🐞 fix(共鸣系统): 修改地玉养成维度
This commit is contained in:
@@ -47,7 +47,7 @@ export class HeroHandler {
|
||||
if (!dicResonance) return resResult(STATUS.RESONANCE_POSITION_NOT_FOUND);
|
||||
|
||||
const role = await RoleModel.findByRoleId(roleId);
|
||||
if (!role || !role.mainWarId || role.mainWarId < (dicResonance?.openLimit || 0)) return resResult(STATUS.RESONANCE_POSITION_LV_NOT_ENOUGH);
|
||||
if (!role || !role.lv || role.lv < (dicResonance?.openLimit || 0)) return resResult(STATUS.RESONANCE_POSITION_LV_NOT_ENOUGH);
|
||||
|
||||
let costResult = await handleCost(roleId, sid, dicResonance.openConsume, ITEM_CHANGE_REASON.RESONANCE_LOCK_POSITION);
|
||||
if (!costResult) return resResult(STATUS.ROLE_MATERIAL_NOT_ENOUGH);
|
||||
|
||||
Reference in New Issue
Block a user