From 03c9f0cad3f5ea822271ce627593766e1461e70b Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Sat, 21 Oct 2023 18:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=B2=E5=9C=86markcount=E6=95=B0=E5=AD=97?= =?UTF-8?q?=E6=8E=92=E5=88=97=E6=94=B9=E4=B8=BA=E7=94=B1player.storage.dcg?= =?UTF-8?q?eyuan=E5=86=B3=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index e4f30827b..ca9f0ddbd 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -7311,8 +7311,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{ name:'εœ†ηŽ―δΉ‹η†', markcount:function(storage,player){ - if(!player.getStorage('dcgeyuan_homura').length) return 0; - var list=[1,2,3,4,5,6,7,8,9,10,11,12,13].filter(i=>lib.skill.dcgeyuan.filterNumber(player,i)); + if(!player.storage.dcgeyuan||!player.getStorage('dcgeyuan_homura').length) return 0; + var list=player.storage.dcgeyuan.filter(i=>lib.skill.dcgeyuan.filterNumber(player,i)); if(!list.length) return 0; list=list.map(num=>{ var list=[1,10,11,12,13];