修复并优化【守成】ai
This commit is contained in:
parent
22e6720094
commit
aa02582390
|
@ -187,10 +187,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
ai:{
|
ai:{
|
||||||
noh:true,
|
noh:true,
|
||||||
skillTagFilter(player,tag,arg){
|
skillTagFilter(player,tag,arg){
|
||||||
if(player.countCards('h')!==1) return false;
|
if(player===_status.currentPhase||player.countCards('h')!==1) return false;
|
||||||
return game.hasPlayer(current=>{
|
return game.hasPlayer(current=>{
|
||||||
return current.hasSkill('dcshoucheng')&&get.attitude(current,player)>0;
|
return current.hasSkill('dcshoucheng')&&get.attitude(current,player)>0;
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
effect:{
|
||||||
|
target(card,player,target){
|
||||||
|
if(target===_status.currentPhase||target.countCards('h')!==1||!game.hasPlayer(current=>{
|
||||||
|
return current.hasSkill('dcshoucheng')&&get.attitude(current,target)>0;
|
||||||
|
})) return;
|
||||||
|
if(get.tag(card,'lose')||get.tag(card,'discard')) return [1,1.6];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue