This commit is contained in:
parent
06e3c61536
commit
51d91e85ab
17
game/game.js
17
game/game.js
|
@ -11670,12 +11670,6 @@
|
|||
else if(next.card==undefined){
|
||||
if(next.cards){
|
||||
next.card=next.cards[0];
|
||||
if(!next.skill){
|
||||
var info=get.info(next.card);
|
||||
if(info.autoViewAs){
|
||||
next.card={name:info.autoViewAs,suit:next.card.suit,number:next.card.number};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!next.targets){
|
||||
|
@ -11683,7 +11677,15 @@
|
|||
}
|
||||
if(next.card){
|
||||
var info=get.info(next.card);
|
||||
if(info){
|
||||
if(info.autoViewAs){
|
||||
next.card={
|
||||
name:info.autoViewAs,
|
||||
suit:next.card.suit,
|
||||
number:next.card.number,
|
||||
nature:next.card.nature
|
||||
};
|
||||
info=get.info(next.card);
|
||||
}
|
||||
if(info.changeTarget){
|
||||
info.changeTarget(next.player,next.targets);
|
||||
}
|
||||
|
@ -11696,7 +11698,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for(var i=0;i<next.targets.length;i++){
|
||||
if(ai.get.attitude(this,next.targets[i])>=-1&&ai.get.attitude(this,next.targets[i])<0){
|
||||
if(!this.ai.tempIgnore) this.ai.tempIgnore=[];
|
||||
|
|
Loading…
Reference in New Issue