军团:诸侯混战城门血量

This commit is contained in:
luying
2022-05-05 18:14:03 +08:00
parent 01b4c3b065
commit 2b133b4a5c
6 changed files with 22 additions and 9 deletions

View File

@@ -167,7 +167,7 @@ export class RaceActivityHandler {
let woodenHorse = obj.getWoodenHorse(toGuild, serverId);
if (!woodenHorse) return resResult(STATUS.WRONG_PARMS);
let event = await obj.useItem(roleId, sid, guildCode, toGuild, id, count);
let event = await obj.useItem(serverId, roleId, sid, guildCode, toGuild, id, count);
if (!event) return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
await GuildActivityRecordModel.pushEvent(guildCode, this.aid, event);