Skip to content

Commit

Permalink
v1.9.126
Browse files Browse the repository at this point in the history
v1.9.126
  • Loading branch information
Spmario233 authored Sep 2, 2023
2 parents 5897375 + 78b0a78 commit 9d4b0f6
Show file tree
Hide file tree
Showing 119 changed files with 8,024 additions and 6,913 deletions.
Binary file added audio/die/clan_wanghun.mp3
Binary file not shown.
Binary file added audio/die/clan_wukuang.mp3
Binary file not shown.
Binary file added audio/die/clan_zhongyan.mp3
Binary file not shown.
Binary file added audio/die/dongxie.mp3
Binary file not shown.
Binary file added audio/die/duanjiong.mp3
Binary file not shown.
Binary file added audio/die/ol_wenqin.mp3
Binary file not shown.
Binary file added audio/die/peiyuanshao.mp3
Binary file not shown.
Binary file added audio/die/sb_zhanghe.mp3
Binary file not shown.
Binary file added audio/die/xin_guozhao.mp3
Binary file not shown.
Binary file added audio/die/xin_zhangyi.mp3
Binary file not shown.
Binary file added audio/skill/chuhai3.mp3
Binary file not shown.
Binary file added audio/skill/clanbaozu_clan_zhongyan1.mp3
Binary file not shown.
Binary file added audio/skill/clanbaozu_clan_zhongyan2.mp3
Binary file not shown.
Binary file added audio/skill/clanchenya1.mp3
Binary file not shown.
Binary file added audio/skill/clanchenya2.mp3
Binary file not shown.
Binary file added audio/skill/clanfuxun1.mp3
Binary file not shown.
Binary file added audio/skill/clanfuxun2.mp3
Binary file not shown.
Binary file added audio/skill/clanguangu1.mp3
Binary file not shown.
Binary file added audio/skill/clanguangu2.mp3
Binary file not shown.
Binary file added audio/skill/clanlianzhu1.mp3
Binary file not shown.
Binary file added audio/skill/clanlianzhu2.mp3
Binary file not shown.
Binary file added audio/skill/clanmuyin_clan_wukuang1.mp3
Binary file not shown.
Binary file added audio/skill/clanmuyin_clan_wukuang2.mp3
Binary file not shown.
Binary file added audio/skill/clanxiaoyong1.mp3
Binary file not shown.
Binary file added audio/skill/clanxiaoyong2.mp3
Binary file not shown.
Binary file added audio/skill/clanzhongliu_clan_wanghun1.mp3
Binary file not shown.
Binary file added audio/skill/clanzhongliu_clan_wanghun2.mp3
Binary file not shown.
Binary file added audio/skill/dchumei1.mp3
Binary file not shown.
Binary file added audio/skill/dchumei2.mp3
Binary file not shown.
Binary file added audio/skill/dcjiaoxia1.mp3
Binary file not shown.
Binary file added audio/skill/dcjiaoxia2.mp3
Binary file not shown.
Binary file added audio/skill/dcmoyu1.mp3
Binary file not shown.
Binary file added audio/skill/dcmoyu2.mp3
Binary file not shown.
Binary file added audio/skill/olguangao1.mp3
Binary file not shown.
Binary file added audio/skill/olguangao2.mp3
Binary file not shown.
Binary file added audio/skill/olhuiqi1.mp3
Binary file not shown.
Binary file added audio/skill/olhuiqi2.mp3
Binary file not shown.
Binary file added audio/skill/olsaogu1.mp3
Binary file not shown.
Binary file added audio/skill/olsaogu2.mp3
Binary file not shown.
Binary file added audio/skill/olxieju1.mp3
Binary file not shown.
Binary file added audio/skill/olxieju2.mp3
Binary file not shown.
Binary file added audio/skill/sbqiaobian1.mp3
Binary file not shown.
Binary file added audio/skill/sbqiaobian2.mp3
Binary file not shown.
Binary file added audio/skill/wufei1.mp3
Binary file not shown.
Binary file added audio/skill/wufei2.mp3
Binary file not shown.
Binary file added audio/skill/xinwurong1.mp3
Binary file not shown.
Binary file added audio/skill/xinwurong2.mp3
Binary file not shown.
Binary file added audio/skill/xinwurong3.mp3
Binary file not shown.
Binary file added audio/skill/yichong1.mp3
Binary file not shown.
Binary file added audio/skill/yichong2.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion card/extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
content:function(){
target.link();
},
chongzhu:true,
recastable:true,
ai:{
wuxie:function(target,card,player,viewer){
if(_status.event.getRand()<0.5) return 0;
Expand Down
80 changes: 24 additions & 56 deletions card/guozhan.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
player.logSkill('taipingyaoshu');
player.draw(2);
'step 1'
if(player.hp>1) player.loseHp();
if(player.hp>1||get.mode()=='guozhan') player.loseHp();
}
},
yuxi:{
Expand Down Expand Up @@ -455,28 +455,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return target!=player&&(get.mode()!='guozhan'||_status.mode=='yingbian'||_status.mode=='free'||target.countCards('e')>0);
},
enable:true,
yingbian_prompt:function(card){
var str='';
if(get.cardtag(card,'yingbian_all')){
str+='此牌的效果改为依次执行所有选项';
}
if(!str.length||get.cardtag(card,'yingbian_add')){
if(str.length) str+=';';
str+='当你使用此牌选择目标后,你可为此牌增加一个目标';
}
return str;
},
yingbian:function(event){
var card=event.card,bool=false;
if(get.cardtag(card,'yingbian_all')){
bool=true;
card.yingbian_all=true;
game.log(card,'执行所有选项');
}
if(!bool||get.cardtag(card,'yingbian_add')){
event.yingbian_addTarget=true;
}
},
defaultYingbianEffect:'add',
content:function(){
'step 0'
if(event.card.yingbian_all){
Expand Down Expand Up @@ -577,7 +556,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
mode:['guozhan','versus'],
filterTarget:true,
chongzhu:true,
recastable:true,
changeTarget:function(player,targets){
var target=targets[0];
game.filterPlayer(function(current){
Expand Down Expand Up @@ -942,7 +921,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
fullskin:true,
type:'trick',
enable:true,
chongzhu:true,
recastable:true,
filterTarget:function(card,player,target){
if(player==target) return false;
return (target.countCards('h')||target.isUnseen(2));
Expand Down Expand Up @@ -1496,7 +1475,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
return current.isFriendOf(player);
});
}
return num+game.countGroup();
return num+game.countGroup()-1;
}
},
trigger:{player:'damageBegin4'},
Expand Down Expand Up @@ -1687,34 +1666,23 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
g_diaohulishan:{},
diaohulishan:{
trigger:{player:['damageBegin3','loseHpBefore','recoverBefore']},
forced:true,
popup:false,
content:function(){
trigger.cancel();
},
mod:{
cardEnabled:function(){
return false;
},
cardSavable:function(){
return false;
},
targetEnabled:function(){
return false;
},
},
mark:true,
intro:{
content:'不计入距离的计算且不能使用牌且不是牌的合法目标且不能失去/回复体力和受到伤害'
},
charlotte:true,
group:'undist',
ai:{
effect:{
target:function (card,player,target){
if(get.tag(card,'recover')||get.tag(card,'damage')) return 'zeroplayertarget';
},
},
init:function(player){
if(player.isIn()){
game.broadcastAll(function(player){
player.classList.add('out');
},player);
game.log(player,'移出了游戏');
}
},
onremove:function(player){
if(player.isOut()){
game.broadcastAll(function(player){
player.classList.remove('out');
},player);
game.log(player,'移回了游戏');
}
},
},
huxinjing:{
Expand Down Expand Up @@ -1815,8 +1783,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){
feilongduofeng3:'飞龙夺凤',
feilongduofeng_info:'①当你使用【杀】指定目标后,你可令目标角色弃置一张牌。②当你因使用【杀】而令其他角色进入濒死状态时,你可以获得其一张手牌。',
taipingyaoshu:'太平要术',
taipingyaoshu_info:'锁定技。①当你即将收到属性伤害时,取消之。②你的手牌上限+X(X为势力数)。③当你失去装备区里的【太平要术】时,你摸两张牌,然后若你的体力值大于1,你失去1点体力。',
taipingyaoshu_info_guozhan:'锁定技。①当你即将收到属性伤害时,取消之。②你的手牌上限+X(X为与你势力相同的角色数)。③当你失去装备区里的【太平要术】时,你摸两张牌,然后若你的体力值大于1,你失去1点体力。',
taipingyaoshu_info:'锁定技。①当你即将受到属性伤害时,取消之。②你的手牌上限+X(X为场上势力数-1)。③当你失去装备区里的【太平要术】时,你摸两张牌,然后若你的体力值大于1,你失去1点体力。',
taipingyaoshu_info_guozhan:'锁定技。①当你即将受到属性伤害时,取消之。②你的手牌上限+X(X为与你势力相同的角色数)。③当你失去装备区里的【太平要术】时,你摸两张牌,然后你失去1点体力。',
yuxi_skill:'玉玺',
yuxi_skill2:'玉玺',
yuxi:'玉玺',
Expand All @@ -1836,7 +1804,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
chiling:'敕令',
chiling_info:'①出牌阶段,对所有没有势力的角色使用。目标角色选择一项:1、明置一张武将牌,然后摸一张牌;2、弃置一张装备牌;3、失去1点体力。②当【敕令】因判定或弃置而置入弃牌堆时,系统将之移出游戏并将【诏书】置于牌堆底,然后系统于当前回合结束后视为对所有没有势力的角色使用【敕令】。',
diaohulishan:'调虎离山',
diaohulishan_info:'出牌阶段,对至多两名其他角色使用。目标角色于此回合结束之前不计入距离的计算且不能使用牌且不是牌的合法目标且不能失去或回复体力或受到伤害。',
diaohulishan_info:'出牌阶段,对至多两名其他角色使用。目标角色于此回合视为移出游戏。',
huoshaolianying:'火烧连营',
huoshaolianying_bg:'烧',
huoshaolianying_info_guozhan:'出牌阶段,对你的下家及其队列中的所有角色使用。你对目标角色造成1点火属性伤害。',
Expand Down
2 changes: 1 addition & 1 deletion card/hearth.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
fullskin:true,
type:'trick',
enable:true,
// chongzhu:true,
// recastable:true,
filterTarget:function(card,player,target){
return target==player;
},
Expand Down
1 change: 0 additions & 1 deletion card/mtg.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
if(cardsToGain.length) player.gain(cardsToGain,'draw');
if(cards.length-cardsToGain.length) player.draw(cards.length-cardsToGain.length).log=false;
return cardsToGain;
});
},
ai:{
Expand Down
2 changes: 1 addition & 1 deletion card/sp.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
enable:function(){
return game.countPlayer()>2;
},
chongzhu:function(){
recastable:function(){
return game.countPlayer()<=2;
},
singleCard:true,
Expand Down
101 changes: 9 additions & 92 deletions card/standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,39 +100,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(lib.linked.contains(card.nature)) return '出牌阶段,对你攻击范围内的一名角色使用。其须使用一张【闪】,否则你对其造成1点'+get.translation(card.nature)+'属性伤害。';
return '出牌阶段,对你攻击范围内的一名角色使用。其须使用一张【闪】,否则你对其造成1点伤害。';
},
yingbian_prompt:function(card){
var str='';
if(get.cardtag(card,'yingbian_hit')){
str+='此牌不可被响应';
}
if(get.cardtag(card,'yingbian_damage')){
if(str.length) str+=';';
str+='此牌的伤害值基数+1';
}
if(!str.length||get.cardtag(card,'yingbian_add')){
if(str.length) str+=';';
str+='当你使用此牌选择目标后,你可为此牌增加一个目标';
}
return str;
},
yingbian:function(event){
var card=event.card,bool=false;
if(get.cardtag(card,'yingbian_hit')){
bool=true;
event.directHit.addArray(game.players);
game.log(card,'不可被响应');
}
if(get.cardtag(card,'yingbian_damage')){
bool=true;
if(typeof event.baseDamage!='number') event.baseDamage=1;
event.baseDamage++;
game.log(event.card,'的伤害值基数+1');
}
if(!bool||get.cardtag(card,'yingbian_add')){
event.yingbian_addTarget=true;
}
},
yingbian_tags:['hit','damage','add'],
defaultYingbianEffect:'add',
filterTarget:function(card,player,target){return player!=target},
content:function(){
"step 0"
Expand Down Expand Up @@ -387,27 +355,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
cardcolor:'red',
notarget:true,
nodelay:true,
yingbian_prompt:function(card){
var str='';
if(get.cardtag(card,'yingbian_gain')){
str+='当你声明使用此牌时,你获得此牌响应的目标牌';
}
if(!str.length||get.cardtag(card,'yingbian_draw')){
if(str.length) str+=';';
str+='当你声明使用此牌时,你摸一张牌';
}
return str;
},
yingbian_tags:['gain','draw'],
yingbian:function(event){
var bool=false;
if(get.cardtag(event.card,'yingbian_gain')){
bool=true;
var cardx=event.respondTo;
if(cardx&&cardx[1]&&cardx[1].cards&&cardx[1].cards.filterInD('od').length) event.player.gain(cardx[1].cards.filterInD('od'),'gain2','log');
}
if(!bool||get.cardtag(event.card,'yingbian_draw')) event.player.draw();
},
defaultYingbianEffect:'draw',
content:function(){
event.result='shaned';
event.getParent().delayx=false;
Expand Down Expand Up @@ -889,11 +837,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
selectTarget:-1,
cardcolor:'red',
reverseOrder:true,
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌减少一个目标',
yingbian_tags:['remove'],
yingbian:function(event){
event.yingbian_removeTarget=true;
},
defaultYingbianEffect:'remove',
filterTarget:function(card,player,target){
//return target.hp<target.maxHp;
return true;
Expand Down Expand Up @@ -929,11 +873,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'trick',
enable:true,
selectTarget:-1,
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌减少一个目标',
yingbian_tags:['remove'],
yingbian:function(event){
event.yingbian_removeTarget=true;
},
defaultYingbianEffect:'remove',
filterTarget:function(card,player,target){
return target!=player;
},
Expand Down Expand Up @@ -1006,11 +946,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
enable:true,
selectTarget:-1,
reverseOrder:true,
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌减少一个目标',
yingbian_tags:['remove'],
yingbian:function(event){
event.yingbian_removeTarget=true;
},
defaultYingbianEffect:'remove',
filterTarget:function(card,player,target){
return target!=player;
},
Expand Down Expand Up @@ -1124,11 +1060,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
fullskin:true,
type:'trick',
enable:true,
yingbian_prompt:'你令此牌不可被响应',
yingbian_tags:['hit'],
yingbian:function(event){
event.directHit.addArray(game.players);
},
defaultYingbianEffect:'hit',
filterTarget:function(card,player,target){
return target!=player;
},
Expand Down Expand Up @@ -1426,11 +1358,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(player==target) return false;
return target.countDiscardableCards(player,get.is.single()?'he':'hej');
},
yingbian_prompt:'当你使用此牌选择目标后,你可为此牌增加一个目标',
yingbian_tags:['add'],
yingbian:function(event){
event.yingbian_addTarget=true;
},
defaultYingbianEffect:'add',
content:function(){
'step 0'
if(!get.is.single()&&target.countDiscardableCards(player,'hej')){
Expand Down Expand Up @@ -1665,14 +1593,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
notarget:true,
finalDelay:false,
yingbian_tags:['gain','draw'],
yingbian_prompt:function(card){
if(!get.cardtag(card,'yingbian_gain')) return '当你声明使用此牌时,你摸一张牌';
return '当此牌生效后,你获得此牌响应的目标牌';
},
yingbian:function(event){
if(!get.cardtag(event.card,'yingbian_gain')||get.cardtag(event.card,'yingbian_draw')) event.player.draw();
},
defaultYingbianEffect:'draw',
contentBefore:function(){
'step 0'
if(get.mode()=='guozhan'&&get.cardtag(card,'guo')){
Expand Down Expand Up @@ -1725,11 +1646,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
delete ui.tempnowuxie;
}
}
if(event.card.yingbian&&get.cardtag(event.card,'yingbian_gain')){
var cardx=event.getParent().respondTo;
if(cardx&&cardx[1]&&cardx[1].cards&&cardx[1].cards.filterInD('od').length) player.gain(cardx[1].cards.filterInD('od'),'gain2','log');
}
},
}
},
lebu:{
audio:true,
Expand Down
2 changes: 1 addition & 1 deletion card/swd.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
fullskin:true,
type:'trick',
nodelay:true,
// chongzhu:true,
// recastable:true,
global:'g_shencaojie',
content:function(){
var evt=event.getParent('g_shencaojie')._trigger;
Expand Down
Loading

0 comments on commit 9d4b0f6

Please sign in to comment.