From ff4277fc472afc16cb54c815b2aa5b6c98504fe0 Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 8 May 2017 00:40:14 +0800 Subject: [PATCH] y --- character/sp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/character/sp.js b/character/sp.js index beb6b3fc8..dd4642583 100644 --- a/character/sp.js +++ b/character/sp.js @@ -262,13 +262,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return false; } return game.hasPlayer(function(current){ - return current.maxHp>player.hp; + return current.maxHp>player.maxHp; }); }, content:function(){ 'step 0' player.chooseTarget(get.prompt('yirang'),function(card,player,target){ - return target.maxHp>player.hp; + return target.maxHp>player.maxHp; }).set('ai',function(target){ return (get.attitude(_status.event.player,target)-2)*target.maxHp; });