From 643b519ddb06c00563a9722921c0b8fea6fb10f0 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 13:33:21 +0800 Subject: [PATCH] bugfix --- character/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/extra.js b/character/extra.js index 0c82308e6..7352440b5 100755 --- a/character/extra.js +++ b/character/extra.js @@ -5440,7 +5440,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, effect:{ player:(card,player,target)=>{ - if(player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5]; + if(target&&player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5]; } } }