修正吃牌时, 随从血量无法正确设置的bug
This commit is contained in:
parent
7f982dc343
commit
05ef1d2111
@ -19,7 +19,7 @@ export class SelectPetCommand extends Command<CardGameState, {client: Client,
|
|||||||
effCards: number[]
|
effCards: number[]
|
||||||
}> {
|
}> {
|
||||||
execute({client, cardId, playerId, pos, effCards} = this.payload) {
|
execute({client, cardId, playerId, pos, effCards} = this.payload) {
|
||||||
let sessionId = this.state.currentTurn;
|
let sessionId = client.sessionId;
|
||||||
let player = this.state.players.get(sessionId);
|
let player = this.state.players.get(sessionId);
|
||||||
let ap = 0;
|
let ap = 0;
|
||||||
let moreAp = 0;
|
let moreAp = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user