This commit is contained in:
libccy 2017-05-19 18:34:34 +08:00
parent 3826e09c66
commit a286f89c9b
2 changed files with 4 additions and 3 deletions

View File

@ -431,11 +431,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return att;
}
return Math.abs(att/2);
})[0];
},'item');
event.aitarget=target;
var list=[];
for(var i in lib.character){
if(!lib.filter.characterDisabled(i)&&lib.character[i][2]>=5){
if(!lib.filter.characterDisabled(i)){
list.push(i);
}
}

View File

@ -108,7 +108,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filterCard:function(card,player){
return !(player.storage.lingdi||[]).contains(get.suit(card));
},
check:function(){
check:function(card){
return 8-get.value(card);
},
content:function(){
@ -119,6 +119,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.storage.lingdi.add(get.suit(cards[0]));
},
ai:{
threaten:1.2,
order:7,
result:{
target:1