This commit is contained in:
libccy 2017-05-08 00:40:14 +08:00
parent 6d2a51f72d
commit ff4277fc47
1 changed files with 2 additions and 2 deletions

View File

@ -262,13 +262,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return false; return false;
} }
return game.hasPlayer(function(current){ return game.hasPlayer(function(current){
return current.maxHp>player.hp; return current.maxHp>player.maxHp;
}); });
}, },
content:function(){ content:function(){
'step 0' 'step 0'
player.chooseTarget(get.prompt('yirang'),function(card,player,target){ player.chooseTarget(get.prompt('yirang'),function(card,player,target){
return target.maxHp>player.hp; return target.maxHp>player.maxHp;
}).set('ai',function(target){ }).set('ai',function(target){
return (get.attitude(_status.event.player,target)-2)*target.maxHp; return (get.attitude(_status.event.player,target)-2)*target.maxHp;
}); });