This commit is contained in:
libccy 2017-02-22 19:34:28 +08:00
parent 5e90c2e73f
commit 06e3c61536
1 changed files with 7 additions and 5 deletions

View File

@ -3249,11 +3249,13 @@ character.sp={
'step 0' 'step 0'
player.choosePlayerCard('hej',target,true); player.choosePlayerCard('hej',target,true);
'step 1' 'step 1'
target.$give(result.links,player); if(result.bool&&result.links&&result.links.length){
target.lose(result.links,ui.special); target.$give(result.links,player);
player.storage.yinling.push(result.links[0]); target.lose(result.links,ui.special);
player.markSkill('yinling'); player.storage.yinling.push(result.links[0]);
player.syncStorage('yinling'); player.markSkill('yinling');
player.syncStorage('yinling');
}
}, },
ai:{ ai:{
order:10.1, order:10.1,