Skip to content

Commit

Permalink
v1.9.125.1
Browse files Browse the repository at this point in the history
v1.9.125.1
  • Loading branch information
Spmario233 authored Aug 22, 2023
2 parents 6de5687 + 2d110f0 commit f899d4c
Show file tree
Hide file tree
Showing 168 changed files with 7,123 additions and 3,868 deletions.
Binary file added audio/die/clan_wangyun.mp3
Binary file not shown.
Binary file added audio/die/dc_duyu.mp3
Binary file not shown.
Binary file added audio/die/dc_huanghao.mp3
Binary file not shown.
Binary file added audio/die/dc_wangjun.mp3
Binary file not shown.
Binary file added audio/die/haopu.mp3
Binary file not shown.
Binary file added audio/die/key_abyusa.mp3
Binary file not shown.
Binary file added audio/die/key_hinata.mp3
Binary file not shown.
Binary file added audio/die/key_hisako.mp3
Binary file not shown.
Binary file added audio/die/key_noda.mp3
Binary file not shown.
Binary file added audio/die/key_shiina.mp3
Binary file not shown.
Binary file added audio/die/key_shiorimiyuki.mp3
Binary file not shown.
Binary file added audio/die/key_yui.mp3
Binary file not shown.
Binary file added audio/die/key_yuri.mp3
Binary file not shown.
Binary file added audio/die/ol_zhouqun.mp3
Binary file not shown.
Binary file added audio/die/sp_key_kanade.mp3
Binary file not shown.
Binary file added audio/die/sunlingluan.mp3
Binary file not shown.
Binary file added audio/die/yuechen.mp3
Binary file not shown.
Binary file added audio/die/zhoubuyi.mp3
Binary file not shown.
Binary file added audio/skill/abyusa_dunying1.mp3
Binary file not shown.
Binary file added audio/skill/abyusa_dunying2.mp3
Binary file not shown.
Binary file added audio/skill/abyusa_jueqing1.mp3
Binary file not shown.
Binary file added audio/skill/abyusa_jueqing2.mp3
Binary file not shown.
Binary file added audio/skill/clanjiexuan1.mp3
Binary file not shown.
Binary file added audio/skill/clanjiexuan2.mp3
Binary file not shown.
Binary file added audio/skill/clanmingjie1.mp3
Binary file not shown.
Binary file added audio/skill/clanmingjie2.mp3
Binary file not shown.
Binary file added audio/skill/clanzhongliu_clan_wangyun1.mp3
Binary file not shown.
Binary file added audio/skill/clanzhongliu_clan_wangyun2.mp3
Binary file not shown.
Binary file added audio/skill/dcchangqu1.mp3
Binary file not shown.
Binary file added audio/skill/dcchangqu2.mp3
Binary file not shown.
Binary file added audio/skill/dccunwei1.mp3
Binary file not shown.
Binary file added audio/skill/dccunwei2.mp3
Binary file not shown.
Binary file added audio/skill/dcdyqingshi1.mp3
Binary file not shown.
Binary file added audio/skill/dcdyqingshi2.mp3
Binary file not shown.
Binary file added audio/skill/dcgonghu1.mp3
Binary file not shown.
Binary file added audio/skill/dcgonghu2.mp3
Binary file not shown.
Binary file added audio/skill/dcjianguo1.mp3
Binary file not shown.
Binary file added audio/skill/dcjianguo2.mp3
Binary file not shown.
Binary file added audio/skill/dclingyue1.mp3
Binary file not shown.
Binary file added audio/skill/dclingyue2.mp3
Binary file not shown.
Binary file added audio/skill/dcpandi1.mp3
Binary file not shown.
Binary file added audio/skill/dcpandi2.mp3
Binary file not shown.
Binary file added audio/skill/dcporui1.mp3
Binary file not shown.
Binary file added audio/skill/dcporui2.mp3
Binary file not shown.
Binary file added audio/skill/dcqinqing1.mp3
Binary file not shown.
Binary file added audio/skill/dcqinqing2.mp3
Binary file not shown.
Binary file added audio/skill/dcshiji1.mp3
Binary file not shown.
Binary file added audio/skill/dcshiji2.mp3
Binary file not shown.
Binary file added audio/skill/dcsilun1.mp3
Binary file not shown.
Binary file added audio/skill/dcsilun2.mp3
Binary file not shown.
Binary file added audio/skill/dctongye1.mp3
Binary file not shown.
Binary file added audio/skill/dctongye2.mp3
Binary file not shown.
Binary file added audio/skill/hinata_ehou1.mp3
Binary file not shown.
Binary file added audio/skill/hinata_ehou2.mp3
Binary file not shown.
Binary file added audio/skill/hinata_qiulve1.mp3
Binary file not shown.
Binary file added audio/skill/hinata_qiulve2.mp3
Binary file not shown.
Binary file added audio/skill/hisako_yinbao1.mp3
Binary file not shown.
Binary file added audio/skill/hisako_yinbao2.mp3
Binary file not shown.
Binary file added audio/skill/huisheng_dc_huanghao1.mp3
Binary file not shown.
Binary file added audio/skill/huisheng_dc_huanghao2.mp3
Binary file not shown.
Binary file added audio/skill/kanade_benzhan1.mp3
Binary file not shown.
Binary file added audio/skill/kanade_benzhan2.mp3
Binary file not shown.
Binary file added audio/skill/kanade_benzhan3.mp3
Binary file not shown.
Binary file added audio/skill/kanade_mapo1.mp3
Binary file not shown.
Binary file added audio/skill/kanade_mapo2.mp3
Binary file not shown.
Binary file added audio/skill/noda_fengcheng1.mp3
Binary file not shown.
Binary file added audio/skill/noda_fengcheng2.mp3
Binary file not shown.
Binary file added audio/skill/noda_xunxin1.mp3
Binary file not shown.
Binary file added audio/skill/noda_xunxin2.mp3
Binary file not shown.
Binary file added audio/skill/olchenshuo1.mp3
Binary file not shown.
Binary file added audio/skill/olchenshuo2.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou1.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou2.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou_club.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou_diamond.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou_heart.mp3
Binary file not shown.
Binary file added audio/skill/oltianhou_spade.mp3
Binary file not shown.
Binary file added audio/skill/olzhenying1.mp3
Binary file not shown.
Binary file added audio/skill/olzhenying2.mp3
Binary file not shown.
Binary file added audio/skill/shiina_feiyan1.mp3
Binary file not shown.
Binary file added audio/skill/shiina_qingshen1.mp3
Binary file not shown.
Binary file added audio/skill/shiina_retieji1.mp3
Binary file not shown.
Binary file added audio/skill/shiorimiyuki_banyin1.mp3
Binary file not shown.
Binary file added audio/skill/shiorimiyuki_banyin2.mp3
Binary file not shown.
Binary file added audio/skill/shiorimiyuki_tingxian1.mp3
Binary file not shown.
Binary file added audio/skill/shiorimiyuki_tingxian2.mp3
Binary file not shown.
Binary file added audio/skill/spxizhan3.mp3
Binary file not shown.
Binary file added audio/skill/spxizhan4.mp3
Binary file not shown.
Binary file added audio/skill/tspowei3.mp3
Binary file not shown.
Binary file added audio/skill/yui_jiang1.mp3
Binary file not shown.
Binary file added audio/skill/yui_jiang2.mp3
Binary file not shown.
Binary file added audio/skill/yui_lieyin1.mp3
Binary file not shown.
Binary file added audio/skill/yui_lieyin2.mp3
Binary file not shown.
Binary file added audio/skill/yui_takaramono1.mp3
Binary file not shown.
Binary file added audio/skill/yui_takaramono2.mp3
Binary file not shown.
Binary file added audio/skill/yuri_wangxi1.mp3
Binary file not shown.
Binary file added audio/skill/yuri_wangxi2.mp3
Binary file not shown.
Binary file modified audio/skill/yuri_xingdong1.mp3
Binary file not shown.
Binary file modified audio/skill/yuri_xingdong2.mp3
Binary file not shown.
Binary file added audio/skill/yuri_xingdong3.mp3
Binary file not shown.
Binary file added audio/skill/yuri_xingdong_gain1.mp3
Binary file not shown.
Binary file added audio/skill/yuri_xingdong_gain2.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion card/guozhan.js
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
equipSkill:true,
mod:{
canBeReplaced:function(card,player){
return false;
if(player.getEquips('liulongcanjia').contains(card)) return false;
},
},
},
Expand Down
32 changes: 14 additions & 18 deletions card/mtg.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,36 +484,32 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
mtg_yixialan_skill:{
enable:'phaseUse',
filter:function(event,player){
return player.countCards('h',{type:'basic'})>0;
},
filterCard:{type:'basic'},
prepare:function(cards,player){
player.$throw(cards,1000);
},
filter:(event,player)=>player.hasCard(card=>lib.skill.mtg_yixialan_skill.filterCard(card,player),'h'),
filterCard:(card,player)=>get.type(card)=='basic'&&player.canRecast(card),
discard:false,
delay:0.5,
lose:false,
check:function(card){
return 7-get.value(card);
},
usable:1,
content:function(){
var card=get.cardPile(function(card){
return get.type(card,'trick')=='trick'
player.recast(cards,null,(player,cards)=>{
var cardsToGain=[];
for(let repetition=0;repetition<cards.length;repetition++){
var card=get.cardPile(card=>get.type(card,'trick')=='trick');
if(card) cardsToGain.push(card);
}
if(cardsToGain.length) player.gain(cardsToGain,'draw');
if(cards.length-cardsToGain.length) player.draw(cards.length-cardsToGain.length).log=false;
return cardsToGain;
});
if(card){
player.gain(card,'draw');
}
else{
player.draw();
}
},
ai:{
mapValue:2,
order:1,
result:{
player:1,
},
player:1
}
}
},
mtg_shuimomuxue_skill:{
Expand Down
2 changes: 1 addition & 1 deletion card/yingbian.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
content:function(){
'step 0'
player.chooseCard('h','是否发动【太公阴符】重铸一张手牌?').set('ai',function(card){
player.chooseCard('h','是否发动【太公阴符】重铸一张手牌?',lib.filter.cardRecastable).set('ai',function(card){
return 5-get.value(card);
});
'step 1'
Expand Down
7 changes: 4 additions & 3 deletions card/yongjian.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){
else player.choosePlayerCard(target,'h',true);
'step 1'
if(result.bool){
event.show_card=result.cards[0],str=get.translation(player);
event.show_card=result.cards[0];
var str=get.translation(player);
player.showCards(event.show_card);
target.chooseControl().set('choiceList',[
'令'+str+'获得'+get.translation(event.show_card),
Expand Down Expand Up @@ -699,11 +700,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
duanjian_append:'<span class="text" style="font-family: yuanli">不要因为手快而装给自己。</span>',
serafuku:'水手服',
serafuku_info:'锁定技。当你成为【杀】的目标后,若你的性别包含男性,则你进行判定:若结果为黑色,则此牌对你的伤害值基数+1。',
serafuku_append:'<span class="text" style="font-family: yuanli">セーラー服だからです、<br>结论! </span>',
serafuku_append:'<span class="text" style="font-family: yuanli">セーラー服だからです、<br>結論! </span>',
yinfengyi:'引蜂衣',
yinfengyi_info:'锁定技。当你受到渠道为锦囊牌的伤害时,此伤害+1。当你因〖毒①〗而失去体力时,失去体力的量值+1。',
yonglv:'庸驴',
yonglv_info:'锁定技。其他角色至你的距离视为1。',
yonglv_info:'锁定技。①你至其他角色的距离-1。②其他角色至你的距离视为1。',
yonglv_append:'<span class="text" style="font-family: yuanli">它旁边的就是王仲宣。</span>',
zhanxiang:'战象',
zhanxiang_info:'锁定技。①其他角色至你的距离+1。②当你成为〖赠予〗的目标后,你将此次赠予的效果改为“将赠予牌移动至弃牌堆”。',
Expand Down
94 changes: 30 additions & 64 deletions character/clan.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var skill=event.sourceSkill||event.skill;
var info=get.info(skill);
if(info.charlotte) return false;
var translation=lib.translate[skill+'_info'];
if(translation&&!(/(?<!“)出牌阶段限一次/.test(translation))) return false;
var translation=get.skillInfoTranslation(skill,event.player);
if(!translation||!(/(?<!“)出牌阶段限一次/.test(translation))) return false;
return event.player.countCards('h')>0;
},
check:function(event,player){
Expand All @@ -244,22 +244,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:function(){
'step 0'
var num=trigger.player.countCards('h');
trigger.player.chooseCard('是否重铸任意张牌名字数为'+num+'的牌?',[1,Infinity],'he',(card,player,target)=>{
if(!_status.event.cards.contains(card)) return false;
var mod=game.checkMod(card,player,'unchanged','cardChongzhuable',player);
return mod=='unchanged';
}).set('ai',card=>{
trigger.player.chooseCard('是否重铸任意张牌名字数为'+num+'的牌?',[1,Infinity],'he',(card,player)=>_status.event.cards.contains(card)&&player.canRecast(card)).set('ai',card=>{
var val=get.value(card);
return 6-val;
}).set('cards',trigger.player.getCards('he',card=>{
return lib.skill.dcweidang.getLength(card)==num;
}));
'step 1'
if(result.bool){
var cards=result.cards;
trigger.player.loseToDiscardpile(cards);
trigger.player.draw(cards.length);
}
if(result.bool) trigger.player.recast(result.cards);
}
},
//族王允
Expand Down Expand Up @@ -575,8 +567,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(!targets.length){
var num=lib.skill.clanguangu_backup.num;
var cards=get.cards(num);
game.cardsGotoOrdering(cards);
event.cards=cards;
event.cards=cards.slice(0);
while(cards.length) ui.cardPile.insertBefore(cards.pop().fix(),ui.cardPile.firstChild);
game.updateRoundNumber();
event.goto(2);
}
else{
Expand Down Expand Up @@ -652,11 +645,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
next.set('owner',owner);
}
}
'step 4'
if(!targets.length){
while(cards.length) ui.cardPile.insertBefore(cards.pop().fix(),ui.cardPile.firstChild);
game.updateRoundNumber();
}
},
ai:{
order:10,
Expand Down Expand Up @@ -787,7 +775,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'step 0'
var num=player.countCards('h');
var str='是否交给其'+get.cnNumber(num)+'张牌,然后视为你对其使用一张【酒】?或者点击“取消”,令其交给你一张牌,然后其视为对你使用一张雷【杀】。';
target.chooseCard(get.translation(player)+'对你发动了【驳龙】',str,num,'he').set('ai',card=>{
if(!num||target.countCards('he')<num) event._result={bool:false};
else target.chooseCard(get.translation(player)+'对你发动了【驳龙】',str,num,'he').set('ai',card=>{
if(_status.event.canGive) return 5+Math.max(0,3-_status.event.player.hp)/1.5-get.value(card);
return 0;
}).set('canGive',function(){
Expand Down Expand Up @@ -848,7 +837,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
cards.addArray(evt.getl(current).hs);
});
})
return event.cards.some(card=>!cards.contains(card));
if(event.cards.some(card=>!cards.contains(card))) return false;
return true;
},
content:function(){
'step 0'
Expand Down Expand Up @@ -910,18 +900,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{
global:{
enable:'phaseUse',
filter:function(event,player){
return game.hasPlayer(current=>lib.skill.clanlianzhu_global.filterTarget(null,player,current));
},
filterCard:function(card,player){
if(!game.hasPlayer(current=>{
if(!current.hasSkill('clanlianzhu')||current.hasSkill('clanlianzhu_targeted')) return false;
return !current.storage.clanlianzhu;
})) return false;
var mod=game.checkMod(card,player,'unchanged','cardChongzhuable',player);
if(mod!='unchanged') return mod;
return true;
},
filter:(event,player)=>game.hasPlayer(current=>lib.skill.clanlianzhu_global.filterTarget(null,player,current)),
filterCard:(card,player)=>game.hasPlayer(current=>current.hasSkill('clanlianzhu')&&!current.hasSkill('clanlianzhu_targeted')&&!current.storage.clanlianzhu)&&player.canRecast(card),
selectCard:[0,1],
check:function(card){
return 5-get.value(card);
Expand Down Expand Up @@ -968,10 +948,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
bocchi.sortBySeat();
kita.sortBySeat();
var str='';
var getn=function(target){
if(player==target) return '自己';
return get.translation(target);
}
if(bocchi.length){
str+='重铸一张牌,然后令';
bocchi.forEach((current,i)=>{
Expand All @@ -998,19 +974,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(target.storage.clanlianzhu) event.goto(4);
target.changeZhuanhuanji('clanlianzhu');
'step 1'
player.loseToDiscardpile(cards);
player.draw(cards.length);
player.recast(cards);
'step 2'
if(!target.countCards('he')&&!_status.connectMode) event._result={bool:false};
else target.chooseCard('he','联诛:是否重铸一张牌?',(card,player)=>{
var mod=game.checkMod(card,player,'unchanged','cardChongzhuable',player);
if(mod!='unchanged') return mod;
return true;
});
else target.chooseCard('he','联诛:是否重铸一张牌?',lib.filter.cardRecastable);
'step 3'
if(result.bool){
target.loseToDiscardpile(result.cards);
target.draw(result.cards.length);
target.recast(result.cards);
if(get.color(cards[0])!=get.color(result.cards[0])) lib.skill.chenliuwushi.change(target,-1);
}
event.finish();
Expand Down Expand Up @@ -1473,16 +1443,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var target=result.targets[0],num=lib.skill.clansankuang.getNum(target),num2=target.countCards('he');
event.target=target;
player.logSkill('clansankuang',target);
if(num==0||num2==0) event._result={bool:false};
if(num2==0) event._result={bool:false};
else if(num2<=num) event._result={bool:true,cards:target.getCards('he')};
else target.chooseCard('he',true,[num,Infinity]).set('ai',get.unuseful).set('prompt','交给'+get.translation(player)+'至少'+get.cnNumber(num)+'张牌');
else{
var cards=trigger.cards.filterInD('oe');
target.chooseCard('he',num>0,[num,Infinity]).set('ai',get.unuseful).set('prompt',num>0?
'是否交给'+get.translation(player)+'任意张牌'+(cards.length?'并获得'+get.translation(cards):'')+'?':
'交给'+get.translation(player)+'至少'+get.cnNumber(num)+'张牌');
}
}else event.finish();
'step 2'
if(result.bool){
var cards=result.cards;
target.give(cards,player);
game.delayx();
}
else event.finish();
'step 3'
if(trigger.cards.filterInD().length) target.gain(trigger.cards.filterInD(),'gain2','bySelf');
else if(trigger.cards.filterInD('e').length) target.gain(trigger.cards.filterInD('e'),get.owner(trigger.cards.filterInD('e')[0]),'give');
Expand Down Expand Up @@ -1955,25 +1931,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
if(player.actionHistory[i].isRound) break;
}
return event.targets&&event.targets.length==1&&(!event.targets[0].isLinked()||
player.getCards('h',card=>get.suit(card)==get.suit(event.card)).filter(card=>{
var mod=game.checkMod(card,player,'unchanged','cardChongzhuable',player);
if(mod!='unchanged') return true;
return false;
}).length==0);
return event.targets&&event.targets.length==1&&!event.targets[0].isLinked()||
player.hasCard(card=>get.suit(card)==get.suit(event.card)&&player.canRecast(card),'h');
},
content:function(){
'step 0'
if(trigger.targets&&trigger.targets.length==1){
trigger.targets[0].link(true);
}
var cards=player.getCards('h',card=>get.suit(card)==get.suit(trigger.card));
if(cards.length>0){
player.loseToDiscardpile(cards);
player.draw(cards.length);
}
'step 1'
player.draw();
var cards=player.getCards('h',card=>get.suit(card)==get.suit(trigger.card)&&player.canRecast(card));
if(cards.length>0) player.recast(cards);
}
},
clanhuanyin:{
Expand Down Expand Up @@ -2361,14 +2327,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clanbolong:'驳龙',
clanbolong_info:'出牌阶段限一次。你可以令一名其他角色选择一项:1.你交给其一张牌,然后视为对其使用一张雷【杀】;2.交给你等同于你手牌数的牌,然后视为对你使用一张【酒】。',
clanzhongliu:'中流',
clanzhongliu_info:'宗族技,锁定技。当你使用牌时,若此牌对应的实体牌不全为同族角色的手牌,你重置武将牌上的技能。',
clanzhongliu_info:'宗族技,锁定技。当你使用牌时,若此牌对应的实体牌均不为太原王氏角色的手牌,你重置武将牌上的技能。',
clan_zhongyan:'族钟琰',
clanguangu:'观骨',
clanguangu_info:'转换技,出牌阶段限一次。阴:你可以观看牌堆顶的至多四张牌;阳:你可以观看一名角色的至多四张手牌。然后你可以使用其中的一张牌。',
clanxiaoyong:'啸咏',
clanxiaoyong_info:'锁定技。当你于回合内首次使用字数为X的牌时,你重置〖观骨〗(X为你上次发动〖观骨〗观看的牌数)。',
clanbaozu:'保族',
clanbaozu_info:'宗族技,限定技。当一名同族角色进入濒死状态时,你可以令其横置并回复1点体力。',
clanbaozu_info:'宗族技,限定技。当一名颍川钟氏角色进入濒死状态时,你可以令其横置并回复1点体力。',
clan_wangyun:'族王允',
clanjiexuan:'解悬',
clanjiexuan_info:'限定技,转换技。阴:你可以将一张红色牌当【顺手牵羊】使用;阳:你可以将一张黑色牌当【过河拆桥】使用。',
Expand Down
Loading

0 comments on commit f899d4c

Please sign in to comment.