张嶷技能展示牌添加空时机

张嶷【怃戎】展示的牌添加showCards时机
This commit is contained in:
mengxinzxz 2023-09-06 12:44:50 +08:00 committed by GitHub
parent a6fa01b076
commit 03931e0c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -8038,8 +8038,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.$compare(event.card1,target,event.card2); player.$compare(event.card1,target,event.card2);
game.delay(4); game.delay(4);
"step 6" "step 6"
var next=game.createEvent('showCards');
next.player=player;
next.cards=[event.card1];
next.setContent('emptyEvent');
game.log(player,'展示了',event.card1); game.log(player,'展示了',event.card1);
"step 7"
var next=game.createEvent('showCards');
next.player=target;
next.cards=[event.card2];
next.setContent('emptyEvent');
game.log(target,'展示了',event.card2); game.log(target,'展示了',event.card2);
"step 8"
var name1=get.name(event.card1); var name1=get.name(event.card1);
var name2=get.name(event.card2); var name2=get.name(event.card2);
if(name1=='sha'&&name2!='shan'){ if(name1=='sha'&&name2!='shan'){