修复神贾诩〖炼魄〗在主忠阵营人数最多时谁也不能用桃的bug
This commit is contained in:
parent
9201e03e65
commit
25863e521e
|
@ -266,15 +266,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
return current.hasSkill('jxlianpo');
|
return current.hasSkill('jxlianpo');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
cardSavable:function(card,player){
|
cardSavable:function(card,player,target){
|
||||||
if(card.name=='tao'){
|
if(card.name=='tao'){
|
||||||
if(!lib.skill.jxlianpo.getMax().includes('zhu')) return;
|
if(!lib.skill.jxlianpo.getMax().includes('zhu')) return;
|
||||||
|
if(player==target) return;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cardEnabled:function(card,player){
|
playerEnabled:function(card,player,target){
|
||||||
if(card.name=='tao'){
|
if(card.name=='tao'){
|
||||||
if(!lib.skill.jxlianpo.getMax().includes('zhu')) return;
|
if(!lib.skill.jxlianpo.getMax().includes('zhu')) return;
|
||||||
|
if(player==target) return;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -366,6 +368,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
player.markAuto('jxzhaoluan_hit',target);
|
player.markAuto('jxzhaoluan_hit',target);
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
|
order:9,
|
||||||
result:{
|
result:{
|
||||||
player:function(player){
|
player:function(player){
|
||||||
var bodies=player.getStorage('jxzhaoluan_effect').filter(i=>i.isIn());
|
var bodies=player.getStorage('jxzhaoluan_effect').filter(i=>i.isIn());
|
||||||
|
|
Loading…
Reference in New Issue