commit
6f68521f5c
|
@ -137,7 +137,16 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
order:3,
|
||||
wuxie:function(target,card,player,viewer){
|
||||
if(get.mode()=='guozhan'){
|
||||
if(!_status._aozhan){
|
||||
if(!player.isMajor()){
|
||||
if(!viewer.isMajor()) return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
order:4,
|
||||
value:9,
|
||||
useful:6,
|
||||
tag:{
|
||||
|
@ -194,6 +203,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
wuxie:function(target,card,player,viewer){
|
||||
if(get.mode()=='guozhan'){
|
||||
if(!_status._aozhan){
|
||||
if(!player.isMajor()){
|
||||
if(!viewer.isMajor()) return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
order:6,
|
||||
value:9,
|
||||
useful:6,
|
||||
|
@ -604,9 +622,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
order:7.5,
|
||||
value:4,
|
||||
useful:2,
|
||||
wuxie:function(){
|
||||
return 0;
|
||||
},
|
||||
result:{
|
||||
target:function(player,target){
|
||||
if(get.mode()=='versus'){
|
||||
|
@ -697,6 +712,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
wuxie:function(target,card,player,viewer){
|
||||
if(get.mode()=='guozhan'){
|
||||
if(!_status._aozhan){
|
||||
if(!player.isMajor()){
|
||||
if(!viewer.isMajor()) return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
order:6,
|
||||
value:4,
|
||||
useful:2,
|
||||
|
@ -821,7 +845,16 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
target.addTempSkill('diaohulishan');
|
||||
},
|
||||
ai:{
|
||||
order:10,
|
||||
order:function(item, player){
|
||||
if(!player) player=get.player();
|
||||
if(player.hasCard(function(card){
|
||||
return ['gz_haolingtianxia','gz_guguoanbang','gz_kefuzhongyuan','wuzhong','yuanjiao','lianjunshengyan','lulitongxin','yiyi'].includes(get.name(card));
|
||||
},'hs')) return 3.5;
|
||||
if(player.hasCard(function(card){
|
||||
return get.name(card)=='taoyuan';
|
||||
},'hs')) return get.order({name:'taoyuan'},player)-1;
|
||||
return 9.5;
|
||||
},
|
||||
value:4,
|
||||
useful:[2,1],
|
||||
wuxie:function(){
|
||||
|
@ -947,6 +980,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
player.draw(3);
|
||||
},
|
||||
ai:{
|
||||
wuxie:function(target,card,player,viewer){
|
||||
if(get.mode()=='guozhan'){
|
||||
if(!_status._aozhan){
|
||||
if(!player.isMajor()){
|
||||
if(!viewer.isMajor()) return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
basic:{
|
||||
useful:4,
|
||||
value:8,
|
||||
|
|
|
@ -1145,6 +1145,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
target.draw(2);
|
||||
},
|
||||
ai:{
|
||||
wuxie:function(target,card,player,viewer){
|
||||
if(get.mode()=='guozhan'){
|
||||
if(!_status._aozhan){
|
||||
if(!player.isMajor()){
|
||||
if(!viewer.isMajor()) return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
basic:{
|
||||
order:7.2,
|
||||
useful:4.5,
|
||||
|
|
Loading…
Reference in New Issue