This commit is contained in:
parent
59a9dc831a
commit
319fc6c2ca
|
@ -20512,17 +20512,17 @@
|
||||||
!event._targetChoice&&!firstCheck&&window.Map){
|
!event._targetChoice&&!firstCheck&&window.Map){
|
||||||
event._targetChoice=new Map();
|
event._targetChoice=new Map();
|
||||||
for(var i=0;i<event._cardChoice.length;i++){
|
for(var i=0;i<event._cardChoice.length;i++){
|
||||||
var targets=[];
|
|
||||||
if(!lib.card[event._cardChoice[i].name].complexTarget){
|
if(!lib.card[event._cardChoice[i].name].complexTarget){
|
||||||
|
var targets=[];
|
||||||
for(var j=0;j<game.players.length;j++){
|
for(var j=0;j<game.players.length;j++){
|
||||||
if(event.filterTarget(event._cardChoice[i],player,game.players[j])){
|
if(event.filterTarget(event._cardChoice[i],player,game.players[j])){
|
||||||
targets.push(game.players[j]);
|
targets.push(game.players[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
event._targetChoice.set(event._cardChoice[i],targets);
|
event._targetChoice.set(event._cardChoice[i],targets);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
var selectableCards=false;
|
var selectableCards=false;
|
||||||
if(range[0]!=range[1]||range[0]>1) auto=false;
|
if(range[0]!=range[1]||range[0]>1) auto=false;
|
||||||
for(i=0;i<cards.length;i++){
|
for(i=0;i<cards.length;i++){
|
||||||
|
|
Loading…
Reference in New Issue