This commit is contained in:
libccy 2016-05-31 15:09:52 +08:00
parent 4a1f1bd017
commit 14c7fd31d7
1 changed files with 4 additions and 4 deletions

View File

@ -4964,6 +4964,10 @@
}
"step 2"
if(event.result.bool&&!game.online){
var info=get.info(event.result.skill);
if(info&&info.onrespond){
info.onrespond(event.result,player);
}
player.respond(event.result.cards,event.result.card,event.animate,event.result.skill,event.source);
}
if(event.dialog&&event.dialog.close) event.dialog.close();
@ -6418,10 +6422,6 @@
respond:function(){
var cardaudio=true;
if(event.skill){
var info=get.info(event.skill);
if(info&&info.onrespond){
info.onrespond(result,player);
}
if(lib.skill[event.skill].audio){
cardaudio=false;
}