v1.9.31
This commit is contained in:
parent
02bdf6000f
commit
2892f6c474
|
@ -56,6 +56,8 @@ window.noname_character_rank={
|
||||||
'swd_shuwaner',
|
'swd_shuwaner',
|
||||||
],
|
],
|
||||||
a:[
|
a:[
|
||||||
|
'xushi',
|
||||||
|
'wuxian',
|
||||||
'pal_tangyurou',
|
'pal_tangyurou',
|
||||||
'gw_luobo',
|
'gw_luobo',
|
||||||
'gw_aigeleisi',
|
'gw_aigeleisi',
|
||||||
|
@ -289,7 +291,6 @@ window.noname_character_rank={
|
||||||
],
|
],
|
||||||
bp:[
|
bp:[
|
||||||
'wangyun',
|
'wangyun',
|
||||||
'xinxianying',
|
|
||||||
'pal_xiaoman',
|
'pal_xiaoman',
|
||||||
'pal_jiangyunfan',
|
'pal_jiangyunfan',
|
||||||
'pal_longyou',
|
'pal_longyou',
|
||||||
|
@ -457,6 +458,8 @@ window.noname_character_rank={
|
||||||
'guanyinping',
|
'guanyinping',
|
||||||
],
|
],
|
||||||
b:[
|
b:[
|
||||||
|
'xinxianying',
|
||||||
|
'caojie',
|
||||||
'hs_shirencao',
|
'hs_shirencao',
|
||||||
'sp_daqiao',
|
'sp_daqiao',
|
||||||
'hs_jiawodun',
|
'hs_jiawodun',
|
||||||
|
|
|
@ -229,7 +229,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return game.countPlayer(function(current){
|
return game.countPlayer(function(current){
|
||||||
if(current.countCards('h')<current.hp){
|
if(current.countCards('h')<current.hp){
|
||||||
return get.sgn(player,current);
|
return get.sgn(get.attitude(player,current));
|
||||||
}
|
}
|
||||||
})>0;
|
})>0;
|
||||||
},
|
},
|
||||||
|
@ -256,7 +256,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
else{
|
else{
|
||||||
prev=list[index-1];
|
prev=list[index-1];
|
||||||
}
|
}
|
||||||
console.log(target.name,prev.name);
|
|
||||||
if(get.attitude(player,prev)<0) return att;
|
if(get.attitude(player,prev)<0) return att;
|
||||||
return 0;
|
return 0;
|
||||||
}).set('list',event.list);
|
}).set('list',event.list);
|
||||||
|
@ -566,7 +565,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
threaten:1.6
|
threaten:2,
|
||||||
|
expose:0.2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fumian:{
|
fumian:{
|
||||||
|
@ -630,7 +630,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
threaten:1.5,
|
threaten:1.3,
|
||||||
},
|
},
|
||||||
group:['fumian_draw','fumian_red','fumian_mark'],
|
group:['fumian_draw','fumian_red','fumian_mark'],
|
||||||
subSkill:{
|
subSkill:{
|
||||||
|
@ -649,12 +649,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
if(player.storage.fumian!='red') return false;
|
||||||
if(get.color(event.card)!='red') return false;
|
if(get.color(event.card)!='red') return false;
|
||||||
var info=get.info(event.card);
|
var info=get.info(event.card);
|
||||||
if(info.allowMultiple==false) return false;
|
if(info.allowMultiple==false) return false;
|
||||||
if(event.targets&&!info.multitarget){
|
if(event.targets&&!info.multitarget){
|
||||||
if(game.hasPlayer(function(current){
|
if(game.hasPlayer(function(current){
|
||||||
return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current);
|
return lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current)&&!event.targets.contains(current);
|
||||||
})){
|
})){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -673,8 +674,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
prompt2+='名'+get.translation(trigger.card)+'的目标'
|
prompt2+='名'+get.translation(trigger.card)+'的目标'
|
||||||
player.chooseTarget([1,player.storage.fumian_markcount],get.prompt('fumian'),function(card,player,target){
|
player.chooseTarget([1,player.storage.fumian_markcount],get.prompt('fumian'),function(card,player,target){
|
||||||
var trigger=_status.event.getTrigger();
|
var trigger=_status.event.getTrigger();
|
||||||
|
var player=_status.event.player;
|
||||||
if(trigger.targets.contains(target)) return false;
|
if(trigger.targets.contains(target)) return false;
|
||||||
return lib.filter.targetEnabled2(trigger.card,_status.event.player,target);
|
return lib.filter.targetEnabled2(trigger.card,player,target)&&lib.filter.targetInRange(trigger.card,player,target);
|
||||||
}).set('prompt2',prompt2).set('ai',function(target){
|
}).set('prompt2',prompt2).set('ai',function(target){
|
||||||
var trigger=_status.event.getTrigger();
|
var trigger=_status.event.getTrigger();
|
||||||
var player=_status.event.player;
|
var player=_status.event.player;
|
||||||
|
|
Loading…
Reference in New Issue