阮瑀【妙弦】调整

This commit is contained in:
mengxinzxz 2023-09-27 15:49:42 +08:00 committed by GitHub
parent f8e5805308
commit f796471231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 9 deletions

View File

@ -9237,17 +9237,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
miaoxian:{
hiddenCard:function(player,name){
return get.type(name)=='trick'&&!player.getStorage('miaoxian2').contains(name)&&player.countCards('h',{color:'black'})==1;
return get.type(name)=='trick'&&!player.hasSkill('miaoxian2')&&player.countCards('h',{color:'black'})==1;
},
enable:'chooseToUse',
filter:function(event,player){
if(player.hasSkill('miaoxian2')) return false;
var cards=player.getCards('h',{color:'black'});
if(cards.length!=1) return false;
var mod2=game.checkMod(cards[0],player,'unchanged','cardEnabled2',player);
if(mod2===false) return false;
var storage=player.getStorage('miaoxian2');
for(var i of lib.inpile){
if(!storage.contains(i)&&get.type(i)=='trick'&&event.filterCard({
if(get.type(i)=='trick'&&event.filterCard({
name:i,
cards:cards,
},player,event)) return true;
@ -9257,10 +9257,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
chooseButton:{
dialog:function(event,player){
var cards=player.getCards('h',{color:'black'});
var storage=player.getStorage('miaoxian2');
var list=[];
for(var i of lib.inpile){
if(!storage.contains(i)&&get.type(i)=='trick'&&event.filterCard({
if(get.type(i)=='trick'&&event.filterCard({
name:i,
cards:cards,
},player,event)){
@ -9284,8 +9283,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
name:links[0][2],
},
onuse:function(links,player){
if(!player.storage.miaoxian2) player.storage.miaoxian2=[];
player.storage.miaoxian2.add(links.card.name);
player.addTempSkill('miaoxian2');
},
}
@ -9323,7 +9320,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
},
miaoxian2:{onremove:true},
miaoxian2:{
charlotte:true,
},
//樊玉凤
bazhan:{
audio:2,
@ -11813,7 +11812,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xingzuo2:'兴作',
xingzuo_info:'出牌阶段开始时你可观看牌堆底的三张牌并用任意张手牌替换其中等量的牌。若如此做结束阶段你可令一名有手牌的角色用所有手牌替换牌堆底的三张牌。若其因此法失去的牌多于三张则你失去1点体力。',
miaoxian:'妙弦',
miaoxian_info:'若你的手牌中仅有一张黑色牌,你可将此牌当作任意一张普通锦囊牌使用(每种牌名每回合限一次);若你的手牌中仅有一张红色牌,你使用此牌时摸一张牌。',
miaoxian_info:'若你的手牌中仅有一张黑色牌,你可将此牌当作任意一张普通锦囊牌使用(每回合限一次);若你的手牌中仅有一张红色牌,你使用此牌时摸一张牌。',
yangwan:'杨婉',
youyan:'诱言',
youyan_info:'出牌阶段/弃牌阶段各限一次。当有牌进入弃牌堆后,若其中有你不因使用或打出而失去的牌,你可以从牌堆中获得你本次失去的牌中没有的花色的牌各一张。',