OL谋姜维【燃己】获得不能回复体力的效果时机修复
This commit is contained in:
parent
0914497cd6
commit
025c231321
|
@ -339,14 +339,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}).set('list',[-num1,player.getDamagedHp()]);
|
}).set('list',[-num1,player.getDamagedHp()]);
|
||||||
}
|
}
|
||||||
if(result.index==0){
|
if(result.index==0){
|
||||||
if(num1<0) player.drawTo(player.getHandcardLimit());
|
if(num1<0) yield player.drawTo(player.getHandcardLimit());
|
||||||
else player.chooseToDiscard(num1,'h',true);
|
else yield player.chooseToDiscard(num1,'h',true);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
player.recover(player.maxHp-player.hp);
|
yield player.recover(player.maxHp-player.hp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.when('olsbranjiAfter').then(()=>player.addSkill('olsbranji_norecover'));
|
player.addSkill('olsbranji_norecover');
|
||||||
player.when({source:'dieAfter'}).then(()=>player.removeSkill('olsbranji_norecover'));
|
player.when({source:'dieAfter'}).then(()=>player.removeSkill('olsbranji_norecover'));
|
||||||
},
|
},
|
||||||
derivation:['kunfenx','zhaxiang'],
|
derivation:['kunfenx','zhaxiang'],
|
||||||
|
|
Loading…
Reference in New Issue