pvp:保存防守阵容错误
This commit is contained in:
@@ -951,7 +951,7 @@ export class GuildHandler {
|
||||
const serverId = session.get('serverId');
|
||||
const { code, active, id } = msg;
|
||||
|
||||
const result = await addActive(roleId, serverId, id);
|
||||
const result = await addActive(roleId, serverId, id, null, active);
|
||||
if(result.status == 0) return result.resResult;
|
||||
const { guild, userGuild } = result;
|
||||
|
||||
|
||||
@@ -338,9 +338,9 @@ export class PvpHandler {
|
||||
let isInTop = topLineup.find(cur => cur.hid == hero.actorId);
|
||||
if(!isInTop) {
|
||||
hero.actorId = hids.shift();
|
||||
dataIds.push(hero.dataId);
|
||||
orders.push(hero.order);
|
||||
}
|
||||
dataIds.push(hero.dataId);
|
||||
orders.push(hero.order);
|
||||
}
|
||||
}
|
||||
for(let hid of hids) {
|
||||
|
||||
@@ -28,7 +28,7 @@ export const COUNTER = {
|
||||
ROLE: { name: 'role', def: 1 }
|
||||
};
|
||||
|
||||
export const DEFAULT_HEROES = [19, 53, 55, 54, 13];
|
||||
export const DEFAULT_HEROES = [44, 46, 56, 53, 19, 32, 40, 24, 28, 22, 18, 17, 34];
|
||||
export const DEFAULT_ITEMS = [
|
||||
{ "id": 11004, "count": 99999999 },
|
||||
{ "id": 11013, "count": 999999 },
|
||||
|
||||
Reference in New Issue
Block a user