bug修复

This commit is contained in:
157 2023-09-30 19:07:01 +08:00 committed by GitHub
parent d1ae226e6a
commit 7b28f3b593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -847,7 +847,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
order:7,
result:{
player:function(player,target){
if(!player.hasSkill('sbbiyue') return 0;
if(!player.hasSkill('sbbiyue')) return 0;
let targets=_status.event.getTempCache('sblijian','targets');
if(Array.isArray(targets)) for(let i=0;i<targets.length;i++){
if(target===targets[i][0]&&targets[i][2]===0) return 1;