修复族王沦【求心】可以视为使用属性【杀】的bug

This commit is contained in:
mengxinzxz 2023-11-07 00:01:03 +08:00
parent d7948a9140
commit 3560385b8c
1 changed files with 0 additions and 6 deletions

View File

@ -208,12 +208,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(name=='sha'&&get.type(trigger.card.name)!='trick') continue; if(name=='sha'&&get.type(trigger.card.name)!='trick') continue;
if(!player.canUse(get.autoViewAs({name:name},[]),target)) continue; if(!player.canUse(get.autoViewAs({name:name},[]),target)) continue;
list.push([get.translation(get.type(name)),'',name]); list.push([get.translation(get.type(name)),'',name]);
if(name=='sha'){
for(var nature of lib.inpile_nature){
if(!player.canUse(get.autoViewAs({name:name,nature:nature},[]),target)) continue;
list.push([get.translation(get.type(name)),'',name,nature]);
}
}
} }
if(!list.length) event.goto(3); if(!list.length) event.goto(3);
else{ else{