高顺bugfix
This commit is contained in:
parent
a6a002848e
commit
77c7025e2a
|
@ -2602,8 +2602,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
if(!player.getStorage('fakehuanjia_equip1').includes(target)) return false;
|
if(!player.getStorage('fakehuanjia_equip1').includes(target)) return false;
|
||||||
if(event.name=='die'&&event.player==target) return true;
|
if(event.name=='die'&&event.player==target) return true;
|
||||||
if(event.name=='equip'&&event.player==target) return get.subtype(event.card)=='equip1';
|
if(event.name=='equip'&&event.player==target) return get.subtype(event.card)=='equip1';
|
||||||
|
if(event.getl){
|
||||||
const evt=event.getl(target);
|
const evt=event.getl(target);
|
||||||
return evt&&evt.player==target&&evt.es&&evt.es.some(i=>get.subtype(i)=='equip1');
|
return evt&&evt.player==target&&evt.es&&evt.es.some(i=>get.subtype(i)=='equip1');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
forced:true,
|
forced:true,
|
||||||
|
@ -2636,8 +2639,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
if(!player.getStorage('fakehuanjia_equip2').includes(target)) return false;
|
if(!player.getStorage('fakehuanjia_equip2').includes(target)) return false;
|
||||||
if(event.name=='die'&&event.player==target) return true;
|
if(event.name=='die'&&event.player==target) return true;
|
||||||
if(event.name=='equip'&&event.player==target) return get.subtype(event.card)=='equip2';
|
if(event.name=='equip'&&event.player==target) return get.subtype(event.card)=='equip2';
|
||||||
|
if(event.getl){
|
||||||
const evt=event.getl(target);
|
const evt=event.getl(target);
|
||||||
return evt&&evt.player==target&&evt.es&&evt.es.some(i=>get.subtype(i)=='equip2');
|
return evt&&evt.player==target&&evt.es&&evt.es.some(i=>get.subtype(i)=='equip2');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
forced:true,
|
forced:true,
|
||||||
|
@ -3052,6 +3058,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
[[target.name1,target.name2],'character'],
|
[[target.name1,target.name2],'character'],
|
||||||
],true).set('filterButton',button=>!get.is.jun(button.link));
|
],true).set('filterButton',button=>!get.is.jun(button.link));
|
||||||
if(bool){
|
if(bool){
|
||||||
|
player.line(target);
|
||||||
player.addSkill('fakeqingleng_effect');
|
player.addSkill('fakeqingleng_effect');
|
||||||
if(player.getStorage('fakeqingleng_effect').some(list=>list[0]==target)){
|
if(player.getStorage('fakeqingleng_effect').some(list=>list[0]==target)){
|
||||||
player.storage.fakeqingleng_effect.indexOf(player.getStorage('fakeqingleng_effect').find(list=>list[0]==target))[1].addArray(links);
|
player.storage.fakeqingleng_effect.indexOf(player.getStorage('fakeqingleng_effect').find(list=>list[0]==target))[1].addArray(links);
|
||||||
|
|
Loading…
Reference in New Issue