王祥【冰心】skillTagFilter补充

This commit is contained in:
mengxinzxz 2024-02-04 22:07:44 +08:00
parent b2da95b0ad
commit 081134eeeb
1 changed files with 3 additions and 4 deletions

View File

@ -273,12 +273,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
ai:{ ai:{
order:function(item,player){ order:10,
return 10;
},
respondShan:true, respondShan:true,
respondSha:true, respondSha:true,
skillTagFilter:function(player,tag){ skillTagFilter:function(player,tag,arg){
if(arg=='respond') return false;
var hs=player.getCards('h'); var hs=player.getCards('h');
if(hs.length!=Math.max(0,hs.length)) return false; if(hs.length!=Math.max(0,hs.length)) return false;
if(hs.length>1){ if(hs.length>1){