修复杜预灭吴bug
This commit is contained in:
parent
8ab97514bf
commit
8290a9841b
|
@ -1100,7 +1100,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(name=='sha'){
|
if(name=='sha'){
|
||||||
if(event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['基本','','sha']);
|
if(event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['基本','','sha']);
|
||||||
for(var nature of lib.inpile_nature){
|
for(var nature of lib.inpile_nature){
|
||||||
if(event.filterCard(get.autoViewAs({name,nature},'unsure'),player,event)) list.push(['基本','','sha',j]);
|
if(event.filterCard(get.autoViewAs({name,nature},'unsure'),player,event)) list.push(['基本','','sha',nature]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(get.type(name)=='trick'&&event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['锦囊','',name]);
|
else if(get.type(name)=='trick'&&event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['锦囊','',name]);
|
||||||
|
|
|
@ -5790,13 +5790,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
for(var i=0;i<lib.inpile.length;i++){
|
for(var i=0;i<lib.inpile.length;i++){
|
||||||
var name=lib.inpile[i];
|
var name=lib.inpile[i];
|
||||||
if(name=='sha'){
|
if(name=='sha'){
|
||||||
if(event.filterCard(get.autoViewAs({name:name},'unsure'),player,event)) list.push(['基本','','sha']);
|
if(event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['基本','','sha']);
|
||||||
for(var nature of lib.inpile_nature){
|
for(var nature of lib.inpile_nature){
|
||||||
if(event.filterCard(get.autoViewAs({name:name,nature:nature},'unsure'),player,event)) list.push(['基本','','sha',j]);
|
if(event.filterCard(get.autoViewAs({name,nature},'unsure'),player,event)) list.push(['基本','','sha',nature]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(get.type2(name)=='trick'&&event.filterCard(get.autoViewAs({name:name},'unsure'),player,event)) list.push(['锦囊','',name]);
|
else if(get.type2(name)=='trick'&&event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['锦囊','',name]);
|
||||||
else if(get.type(name)=='basic'&&event.filterCard(get.autoViewAs({name:name},'unsure'),player,event)) list.push(['基本','',name]);
|
else if(get.type(name)=='basic'&&event.filterCard(get.autoViewAs({name},'unsure'),player,event)) list.push(['基本','',name]);
|
||||||
}
|
}
|
||||||
return ui.create.dialog('灭吴',[list,'vcard']);
|
return ui.create.dialog('灭吴',[list,'vcard']);
|
||||||
},
|
},
|
||||||
|
|
|
@ -6118,9 +6118,12 @@ export class Library extends Uninstantable {
|
||||||
}
|
}
|
||||||
if (config.connect_versus_mode == '2v2' || config.connect_versus_mode == '3v3') {
|
if (config.connect_versus_mode == '2v2' || config.connect_versus_mode == '3v3') {
|
||||||
map.connect_replace_handcard.show();
|
map.connect_replace_handcard.show();
|
||||||
|
if(config.connect_versus_mode == '2v2') map.connect_olfeiyang_four.show();
|
||||||
|
else map.connect_olfeiyang_four.hide();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
map.connect_replace_handcard.hide();
|
map.connect_replace_handcard.hide();
|
||||||
|
map.connect_olfeiyang_four.hide();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
connect_versus_mode: {
|
connect_versus_mode: {
|
||||||
|
|
Loading…
Reference in New Issue