更新useCard参数

This commit is contained in:
zhl 2020-12-03 21:11:10 +08:00
parent f4ca2d46c2
commit 6f9082c3b2

View File

@ -45,7 +45,7 @@ export class SelectPetCommand extends Command<CardGameState, {client: Client,
}
let cardpoint = moreAp;
//TODO:
let data = {srcplayer: player, card: targetCard.effect, cardpoint, eff_cnt, dstplayer, dstpet}
let data = {srcplayer: player, card: targetCard.effect, cardpoint, eff_cnt, dstplayer, dstpet, dbpt_cnt: 0}
this.room.battleMan.useCard(data);
return [new TurnEndCommand()];