This commit is contained in:
libccy 2017-05-16 01:47:17 +08:00
parent 0506f7fdfa
commit 09311fcd7a
1 changed files with 9 additions and 2 deletions

View File

@ -300,14 +300,21 @@ game.import('card',function(lib,game,ui,get,ai,_status){
'step 1' 'step 1'
if(event.list.length){ if(event.list.length){
var target=event.list.shift(); var target=event.list.shift();
event.target=target;
player.line(target,'green'); player.line(target,'green');
target.damage(); target.damage();
target.draw(false); target.draw(false);
target.$draw(); target.$draw();
target.out(); }
event.redo(); else{
delete event.target;
} }
'step 2' 'step 2'
if(event.target){
event.target.out();
event.goto(1);
}
'step 3'
game.delay(); game.delay();
}, },
contentAfter:function(){ contentAfter:function(){