族荀攸 【百出】调整为线上实操版本

This commit is contained in:
mengxinzxz 2023-10-27 12:27:26 +08:00 committed by GitHub
parent 4eb5e758e8
commit c0292bf7af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -48,9 +48,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
forced:true, forced:true,
content:function(){ content:function(){
'step 0' 'step 0'
if(player.getStorage('clanbaichu').contains(trigger.card.name)){
event.draw=true;
}
if(get.suit(trigger.card)!='none'){ if(get.suit(trigger.card)!='none'){
var str=(get.suit(trigger.card)+'+'+get.type2(trigger.card)); var str=(get.suit(trigger.card)+'+'+get.type2(trigger.card));
if(player.getStorage('clanbaichu').contains(str)){ if(player.getStorage('clanbaichu').contains(str)){
@ -68,6 +65,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var dialog=['请选择【百出】记录的普通锦囊牌牌名',[list,'vcard']]; var dialog=['请选择【百出】记录的普通锦囊牌牌名',[list,'vcard']];
player.chooseButton(dialog,true).set('ai',function(button){ player.chooseButton(dialog,true).set('ai',function(button){
var player=_status.event.player,name=button.link[2]; var player=_status.event.player,name=button.link[2];
if(name==_status.event.getTrigger().card.name) return 1919810;
if(name=='wuxie') return 114514; if(name=='wuxie') return 114514;
return get.effect(player,{name:name},player,player)*(1+player.countCards('hs',name)); return get.effect(player,{name:name},player,player)*(1+player.countCards('hs',name));
}); });
@ -85,7 +83,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
game.delayx(); game.delayx();
} }
'step 2' 'step 2'
if(event.draw) player.chooseDrawRecover(true); if(player.getStorage('clanbaichu').contains(trigger.card.name)) player.chooseDrawRecover(true);
}, },
intro:{ intro:{
markcount:()=>0, markcount:()=>0,