修改选择随从的参数

This commit is contained in:
zhl 2020-12-30 11:32:54 +08:00
parent bb748f779e
commit 58a5012c8b

View File

@ -69,7 +69,7 @@ export class GeneralRoom extends Room {
this.onMessage("select_pet_c2s", (client, message) => {
msgLog('select_pet from ', client.sessionId, JSON.stringify(message));
this.dispatcher.dispatch(new SelectPetCommand(), {client, cardId: message.card, playerId: message.player, pos: message.pos, effCards: message.effCards, oldpos: message.oldpos });
this.dispatcher.dispatch(new SelectPetCommand(), {client, cardId: message.card, playerId: message.player, pos: message.pos, effCards: message.effCards, oldpos: message.oldPos });
});
this.onMessage("select_hero_c2s", (client, message) => {