This commit is contained in:
parent
be9ec4290d
commit
15d9ae15cb
|
@ -3315,7 +3315,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
});
|
});
|
||||||
event.targets.sortBySeat();
|
event.targets.sortBySeat();
|
||||||
'step 2'
|
'step 2'
|
||||||
if(event.targets.length){
|
if(event.targets.length&&target.isIn()){
|
||||||
event.current=event.targets.shift();
|
event.current=event.targets.shift();
|
||||||
if(event.current.hasSha()){
|
if(event.current.hasSha()){
|
||||||
event.current.chooseToUse({name:'sha'},'是否对'+get.translation(target)+'使用一张杀?',target,-1);
|
event.current.chooseToUse({name:'sha'},'是否对'+get.translation(target)+'使用一张杀?',target,-1);
|
||||||
|
|
|
@ -2410,7 +2410,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
viewAsFilter:function(player){
|
viewAsFilter:function(player){
|
||||||
if(!player.countCards('he',{suit:'spade'})) return false;
|
if(!player.countCards('he',{suit:'spade'})) return false;
|
||||||
},
|
},
|
||||||
prompt:'将一张黑桃手牌当作无中生有使用',
|
prompt:'将一张黑桃牌当作无中生有使用',
|
||||||
check:function(card){return 7-get.value(card)},
|
check:function(card){return 7-get.value(card)},
|
||||||
ai:{
|
ai:{
|
||||||
threaten:1.4,
|
threaten:1.4,
|
||||||
|
|
|
@ -782,7 +782,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
ai:{
|
ai:{
|
||||||
order:5,
|
order:5,
|
||||||
expose:0.2,
|
expose:0.2,
|
||||||
return:{
|
result:{
|
||||||
target:function(player,target){
|
target:function(player,target){
|
||||||
return 1/Math.max(1,target.hp);
|
return 1/Math.max(1,target.hp);
|
||||||
}
|
}
|
||||||
|
|
|
@ -631,6 +631,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
ai:{
|
ai:{
|
||||||
effect:function(card,player,target){
|
effect:function(card,player,target){
|
||||||
if(!target.hasFriend()) return;
|
if(!target.hasFriend()) return;
|
||||||
|
if(player==target) return;
|
||||||
var type=get.type(card);
|
var type=get.type(card);
|
||||||
var nh=target.countCards();
|
var nh=target.countCards();
|
||||||
if(type=='trick'){
|
if(type=='trick'){
|
||||||
|
|
|
@ -266,6 +266,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
player.logSkill('cyqiaoxie');
|
player.logSkill('cyqiaoxie');
|
||||||
player.chooseUseTarget(game.createCard(result.links[0][2]));
|
player.chooseUseTarget(game.createCard(result.links[0][2]));
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
noe:true,
|
||||||
|
reverseEquip:true,
|
||||||
|
effect:{
|
||||||
|
target:function(card,player,target,current){
|
||||||
|
if(get.type(card)=='equip') return [1,3];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cyxianjiang:{
|
cyxianjiang:{
|
||||||
|
|
Loading…
Reference in New Issue