修正机器人选择随从时, 效果卡选择错误的bug

This commit is contained in:
zhl 2020-12-24 17:20:25 +08:00
parent b6baf42acf
commit 6f5c3384c4

View File

@ -215,7 +215,7 @@ let assistantUtil = {
}
//TODO: 增加效果卡
let effCards: number[] = [];
for (let card of cards) {
for (let [,card] of dstPlayer.cards) {
if (card.type == CardType.double_effect || card.type == CardType.double_point) {
effCards.push(card.id);
}