diff --git a/game-server/app/services/equipService.ts b/game-server/app/services/equipService.ts index 29334a4d0..41f8985c1 100644 --- a/game-server/app/services/equipService.ts +++ b/game-server/app/services/equipService.ts @@ -100,7 +100,7 @@ export async function takeOffEquipAndCalPlayerCe(roleId: string, sid: string, he await calPlayerCeAndSave(HERO_SYSTEM_TYPE.EQUIP, sid, roleId, hero, {}, args); // 任务 - await checkTask(roleId, sid, funcs, TASK_TYPE.EQUIP_SUM, 1, true, {}); + await checkTask(roleId, sid, funcs, TASK_TYPE.EQUIP_SUM, -1, true, {}); await checkTaskWithHero(roleId, sid, funcs, TASK_TYPE.EQUIP_BY_HERO, hero, [-1]); await checkTaskWithEquip(roleId, sid, funcs, TASK_TYPE.EQUIP_QUALITY, equip, [-1]); @@ -120,7 +120,7 @@ export async function dressEquip(roleId: string, sid: string, hero:HeroType, equ await calPlayerCeAndSave(HERO_SYSTEM_TYPE.EQUIP, sid, roleId, hero, {}, args); // 任务 - await checkTask(roleId, sid, funcs, TASK_TYPE.EQUIP_SUM, -1, true, {}); + await checkTask(roleId, sid, funcs, TASK_TYPE.EQUIP_SUM, 1, true, {}); await checkTaskWithHero(roleId, sid, funcs, TASK_TYPE.EQUIP_BY_HERO, hero, [1]); await checkTaskWithEquip(roleId, sid, funcs, TASK_TYPE.EQUIP_QUALITY, equip, [1]); diff --git a/game-server/config/clientProtos.ts b/game-server/config/clientProtos.ts index a2ff2ad40..d3153ef37 100644 --- a/game-server/config/clientProtos.ts +++ b/game-server/config/clientProtos.ts @@ -32,15 +32,15 @@ module.exports = { "required uInt32 hid": 1, "required uInt32 lv": 2 }, - "role.equipHandler.refine": { - "message Material":{ - "required uInt32 id": 1, - "required uInt32 count": 2 - }, - "required uInt32 hid": 1, - "required uInt32 ePlaceId": 2, - "repeated Material material": 3 - }, + // "role.equipHandler.refine": { + // "message Material":{ + // "required uInt32 id": 1, + // "required uInt32 count": 2 + // }, + // "required uInt32 hid": 1, + // "required uInt32 ePlaceId": 2, + // "repeated Material material": 3 + // }, "role.equipHandler.reStrengthen": { "required uInt32 eid": 1 },