This commit is contained in:
parent
6d2a51f72d
commit
ff4277fc47
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue