lib.filter.filterTrigger修复无法获取get.info(skill)时报错的bug
This commit is contained in:
parent
d8ffa36703
commit
dd3f1db366
|
@ -30819,7 +30819,7 @@
|
||||||
}
|
}
|
||||||
var fullskills=game.expandSkills(player.getSkills(false).concat(lib.skill.global));
|
var fullskills=game.expandSkills(player.getSkills(false).concat(lib.skill.global));
|
||||||
var info=get.info(skill);
|
var info=get.info(skill);
|
||||||
if((info.noHidden||get.mode()!='guozhan')&&!fullskills.contains(skill)){
|
if(((info&&info.noHidden)||get.mode()!='guozhan')&&!fullskills.contains(skill)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(!info.trigger) return false;
|
if(!info.trigger) return false;
|
||||||
|
|
Loading…
Reference in New Issue