From 024dcf304fcbfda52ae6cef39cb6c1d251e510fc Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 18 Nov 2023 20:21:46 +0800 Subject: [PATCH] bugfix --- character/sb.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/character/sb.js b/character/sb.js index 5c888b0c5..f226f0926 100644 --- a/character/sb.js +++ b/character/sb.js @@ -281,9 +281,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.awakenSkill('sbhuoji'); game.log(player,'成功完成使命'); var list=[]; - if(player.name&&get.character(player.name)[1].includes('sbhuoji')) list.add(player.name); - if(player.name1&&get.character(player.name1)[1].includes('sbhuoji')) list.add(player.name1); - if(player.name2&&get.character(player.name2)[1].includes('sbhuoji')) list.add(player.name2); + if(player.name&&get.character(player.name)[3].includes('sbhuoji')) list.add(player.name); + if(player.name1&&get.character(player.name1)[3].includes('sbhuoji')) list.add(player.name1); + if(player.name2&&get.character(player.name2)[3].includes('sbhuoji')) list.add(player.name2); if(list.length) list.forEach(name=>player.reinit(name,'sb_zhugeliang')); else{ player.removeSkill(['sbhuoji','sbkanpo']);