孙茹二技能bugfix
This commit is contained in:
parent
ecba8d4dcc
commit
b6d3af6bbb
|
@ -6473,6 +6473,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.choosePlayerCard(trigger.player,true,'h');
|
||||
}
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
var card=result.cards[0];
|
||||
event.card=card;
|
||||
var str=get.translation(player);
|
||||
|
@ -6487,11 +6488,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(target.isDamaged()&&target.isMinHp&&get.recoverEffect(target,player,player)>0) return 4*att;
|
||||
return att;
|
||||
});
|
||||
}
|
||||
else event.finish();
|
||||
'step 2'
|
||||
if(result.bool){
|
||||
var target=result.targets[0];
|
||||
event.target=target;
|
||||
player.line(target,'green');
|
||||
target.gain(card,trigger.player,'give').giver=player;
|
||||
}
|
||||
else event.finish();
|
||||
'step 3'
|
||||
if(target.isMinHp()) target.recover();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue