This commit is contained in:
libccy 2017-12-02 10:55:09 +08:00
parent 640c445fa1
commit 4f1ade4ee7
1 changed files with 6 additions and 0 deletions

View File

@ -755,6 +755,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var equip1=get.cardPile2(function(card){ var equip1=get.cardPile2(function(card){
return get.subtype(card)=='equip1'; return get.subtype(card)=='equip1';
}); });
if(!equip1){
player.popup('连计失败');
game.log('牌堆中无装备');
event.finish();
return;
}
target.$draw(equip1); target.$draw(equip1);
target.equip(equip1); target.equip(equip1);
game.delay(); game.delay();