From 50fa99199211e4f23e49219904e1cc15d4fb21da Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 25 Jan 2024 12:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E5=A8=81=E8=99=8F?= =?UTF-8?q?=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xinghuoliaoyuan.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/character/xinghuoliaoyuan.js b/character/xinghuoliaoyuan.js index 1ca9bfdc4..2532d1a7c 100755 --- a/character/xinghuoliaoyuan.js +++ b/character/xinghuoliaoyuan.js @@ -712,10 +712,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:"damageEnd", }, filter:function(event,player){ - return event.source&&event.source.isIn()&&!player.getStorage('xinfu_weilu_effect').includes(event.source) + return event.source&&event.source.isIn()&&!player.getStorage('xinfu_weilu_effect').includes(event.source); }, - check:function (event,player){ - return (get.effect(target,{name:'losehp'},player,player)>=0); + check:function(event,player){ + return get.effect(event.source,{name:'losehp'},player,player)>=0; }, forced:true, logTarget:"source",