This commit is contained in:
parent
6b62c879ea
commit
683ebcbf56
|
@ -25,15 +25,9 @@ card.guozhan={
|
||||||
},
|
},
|
||||||
selectTarget:-1,
|
selectTarget:-1,
|
||||||
content:function(){
|
content:function(){
|
||||||
var evt=_status.event;
|
var evt=_status.event.getParent('phaseUse');
|
||||||
for(var i=0;i<10;i++){
|
if(evt&&evt.name=='phaseUse'){
|
||||||
if(evt&&evt.getParent){
|
|
||||||
evt=evt.getParent();
|
|
||||||
}
|
|
||||||
if(evt.name=='phaseUse'){
|
|
||||||
evt.skipped=true;
|
evt.skipped=true;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
target.addSkill('xietianzi');
|
target.addSkill('xietianzi');
|
||||||
},
|
},
|
||||||
|
|
15
card/swd.js
15
card/swd.js
|
@ -255,7 +255,11 @@ card.swd={
|
||||||
type:'basic',
|
type:'basic',
|
||||||
enable:true,
|
enable:true,
|
||||||
fullskin:true,
|
fullskin:true,
|
||||||
filterTarget:true,
|
filterTarget:function(card,player,target){
|
||||||
|
return target==player;
|
||||||
|
},
|
||||||
|
selectTarget:-1,
|
||||||
|
modTarget:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
event.num=3;
|
event.num=3;
|
||||||
|
@ -1269,8 +1273,11 @@ card.swd={
|
||||||
return !target.isTurnedOver()&&target!=player;
|
return !target.isTurnedOver()&&target!=player;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
target.draw(2);
|
'step 0'
|
||||||
|
target.changeHujia(2);
|
||||||
target.turnOver();
|
target.turnOver();
|
||||||
|
'step 1'
|
||||||
|
target.addTempSkill('qianxing',{player:'turnOverAfter'});
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
order:9,
|
order:9,
|
||||||
|
@ -4771,7 +4778,7 @@ card.swd={
|
||||||
yuruyi_ab:'如意',
|
yuruyi_ab:'如意',
|
||||||
yuruyi_info:'你有更高的机率摸到好牌',
|
yuruyi_info:'你有更高的机率摸到好牌',
|
||||||
fengyinzhidan:'封印之蛋',
|
fengyinzhidan:'封印之蛋',
|
||||||
fengyinzhidan_info:'出牌阶段对任意角色使用,目标随机使用三张非延时锦囊牌(随机指定目标)',
|
fengyinzhidan_info:'随机使用三张非延时锦囊牌(随机指定目标)',
|
||||||
shuchui:'鼠槌',
|
shuchui:'鼠槌',
|
||||||
shuchui_info:'出牌阶段限一次,你可以指定一名攻击范围内的角色,依次将手牌中的至多3张杀对该角色使用,若杀造成了伤害,你摸一张牌',
|
shuchui_info:'出牌阶段限一次,你可以指定一名攻击范围内的角色,依次将手牌中的至多3张杀对该角色使用,若杀造成了伤害,你摸一张牌',
|
||||||
zhiluxiaohu:'指路小狐',
|
zhiluxiaohu:'指路小狐',
|
||||||
|
@ -4919,7 +4926,7 @@ card.swd={
|
||||||
hslingjian_zhongxinghujia:'重型护甲',
|
hslingjian_zhongxinghujia:'重型护甲',
|
||||||
hslingjian_zhongxinghujia_info:'可用于煅造装备;令一名角色装备一件随机防具,然后随机弃置其一张手牌',
|
hslingjian_zhongxinghujia_info:'可用于煅造装备;令一名角色装备一件随机防具,然后随机弃置其一张手牌',
|
||||||
hslingjian_jinjilengdong:'紧急冷冻',
|
hslingjian_jinjilengdong:'紧急冷冻',
|
||||||
hslingjian_jinjilengdong_info:'可用于煅造装备;令一名武将牌正面朝上的其他角色摸两张牌并翻面',
|
hslingjian_jinjilengdong_info:'可用于煅造装备;令一名武将牌正面朝上的其他角色获得两点护甲并翻面,然后获得技能潜行直到武将牌翻回正面',
|
||||||
hslingjian_yinmilichang:'隐秘力场',
|
hslingjian_yinmilichang:'隐秘力场',
|
||||||
hslingjian_yinmilichang_info:'可用于煅造装备;令一名其他角色获得技能潜行,直到其下一回合开始',
|
hslingjian_yinmilichang_info:'可用于煅造装备;令一名其他角色获得技能潜行,直到其下一回合开始',
|
||||||
hslingjian_xingtigaizao:'型体改造',
|
hslingjian_xingtigaizao:'型体改造',
|
||||||
|
|
|
@ -170,7 +170,7 @@ card.yunchou={
|
||||||
var hs=player.get('h');
|
var hs=player.get('h');
|
||||||
for(var i=0;i<hs.length;i++){
|
for(var i=0;i<hs.length;i++){
|
||||||
var value=ai.get.value(hs[i]);
|
var value=ai.get.value(hs[i]);
|
||||||
if(event.torespond.length){
|
if(!_status.event.hasTarget){
|
||||||
if(hs[i].number>=8&&value<=7) return true;
|
if(hs[i].number>=8&&value<=7) return true;
|
||||||
if(value<=3) return true;
|
if(value<=3) return true;
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,7 @@ card.yunchou={
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}).set('source',target);
|
}).set('source',target).set('hasTarget',event.torespond.length>0);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.goto(3);
|
event.goto(3);
|
||||||
|
@ -238,18 +238,21 @@ card.yunchou={
|
||||||
notarget:true,
|
notarget:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
event.source=event.getParent(3).source;
|
var info=event.getParent(2).youdiinfo||event.getParent(3).youdiinfo;
|
||||||
if(!event.source){
|
if(!info){
|
||||||
event.finish();
|
event.finish();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var evt=event.getParent(3)._trigger;
|
info.evt.untrigger();
|
||||||
evt.untrigger();
|
info.evt.finish();
|
||||||
evt.finish();
|
event.source=info.source;
|
||||||
event.source.storage.youdishenru=player;
|
event.source.storage.youdishenru=player;
|
||||||
event.source.addSkill('youdishenru');
|
event.source.addSkill('youdishenru');
|
||||||
'step 1'
|
'step 1'
|
||||||
event.source.chooseToUse({name:'sha'},player,-1,'对'+get.translation(player)+'使用一张杀,或受到一点伤害');
|
var next=event.source.chooseToUse({name:'sha'},player,-1,'对'+get.translation(player)+'使用一张杀,或受到一点伤害');
|
||||||
|
next.ai2=function(){
|
||||||
|
return 1;
|
||||||
|
};
|
||||||
'step 2'
|
'step 2'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
if(event.source.storage.youdishenru){
|
if(event.source.storage.youdishenru){
|
||||||
|
@ -270,7 +273,10 @@ card.yunchou={
|
||||||
order:1,
|
order:1,
|
||||||
result:{
|
result:{
|
||||||
player:function(player){
|
player:function(player){
|
||||||
if(ai.get.attitude(player,_status.event.parent.source)<=0) return 1;
|
if(_status.event.parent.youdiinfo&&
|
||||||
|
ai.get.attitude(player,_status.event.parent.youdiinfo.source)<=0){
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -964,7 +970,10 @@ card.yunchou={
|
||||||
return player.hasCard('youdishenru');
|
return player.hasCard('youdishenru');
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
event.source=trigger.player;
|
event.youdiinfo={
|
||||||
|
source:trigger.player,
|
||||||
|
evt:trigger
|
||||||
|
};
|
||||||
player.chooseToUse({name:'youdishenru'},'是否使用诱敌深入?');
|
player.chooseToUse({name:'youdishenru'},'是否使用诱敌深入?');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
145
character/diy.js
145
character/diy.js
|
@ -18,7 +18,7 @@ character.diy={
|
||||||
// diy_menghuo:['male','shu',4,['huoshou','zaiqix']],
|
// diy_menghuo:['male','shu',4,['huoshou','zaiqix']],
|
||||||
re_huangyueying:['female','shu',3,['rejizhi','qicai']],
|
re_huangyueying:['female','shu',3,['rejizhi','qicai']],
|
||||||
|
|
||||||
diy_liufu:['male','shu',3,[]],
|
diy_liufu:['male','wei',3,['zhucheng','duoqi']],
|
||||||
diy_xizhenxihong:['male','shu',3,[]],
|
diy_xizhenxihong:['male','shu',3,[]],
|
||||||
diy_liuzan:['male','shu',3,[]],
|
diy_liuzan:['male','shu',3,[]],
|
||||||
diy_zaozhirenjun:['male','shu',3,[]],
|
diy_zaozhirenjun:['male','shu',3,[]],
|
||||||
|
@ -29,6 +29,132 @@ character.diy={
|
||||||
yuji:['zuoci']
|
yuji:['zuoci']
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
duoqi:{
|
||||||
|
trigger:{global:'discardAfter'},
|
||||||
|
filter:function(event,player){
|
||||||
|
if(_status.currentPhase==player) return false;
|
||||||
|
if(!player.storage.zhucheng||!player.storage.zhucheng.length) return false;
|
||||||
|
var evt=event.getParent('phaseUse');
|
||||||
|
if(evt&&evt.name=='phaseUse') return true;
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
direct:true,
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
var bool=false;
|
||||||
|
if(ai.get.attitude(player,trigger.player)<0&&trigger.player.needsToDiscard()){
|
||||||
|
bool=true;
|
||||||
|
}
|
||||||
|
player.chooseCardButton(get.prompt('zhucheng',_status.currentPhase),player.storage.zhucheng).ai=function(button){
|
||||||
|
return bool?1:0;
|
||||||
|
}
|
||||||
|
'step 1'
|
||||||
|
if(result.bool){
|
||||||
|
player.logSkill('zhucheng',_status.currentPhase);
|
||||||
|
player.$throw(result.links[0]);
|
||||||
|
player.storage.zhucheng.remove(result.links[0]);
|
||||||
|
ui.discardPile.appendChild(result.links[0]);
|
||||||
|
player.syncStorage('zhucheng');
|
||||||
|
if(player.storage.zhucheng.length==0){
|
||||||
|
player.unmarkSkill('zhucheng');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
player.updateMarks();
|
||||||
|
}
|
||||||
|
var evt=trigger.getParent('phaseUse');
|
||||||
|
if(evt&&evt.name=='phaseUse'){
|
||||||
|
evt.skipped=true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
expose:0.2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
zhucheng:{
|
||||||
|
trigger:{player:'phaseEnd'},
|
||||||
|
filter:function(event,player){
|
||||||
|
return !player.storage.zhucheng||!player.storage.zhucheng.length;
|
||||||
|
},
|
||||||
|
check:function(event,player){
|
||||||
|
if(player.storage.zhucheng&&player.storage.zhucheng.length){
|
||||||
|
if(!player.hasShan()) return false;
|
||||||
|
if(player.storage.zhucheng.length>=2) return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
intro:{
|
||||||
|
content:'cards'
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
if(player.storage.zhucheng&&player.storage.zhucheng.length){
|
||||||
|
player.gain(player.storage.zhucheng,'gain2');
|
||||||
|
delete player.storage.zhucheng;
|
||||||
|
player.unmarkSkill('zhucheng');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
var cards=get.cards(Math.max(1,player.maxHp-player.hp));
|
||||||
|
player.$gain2(cards);
|
||||||
|
player.storage.zhucheng=cards;
|
||||||
|
player.markSkill('zhucheng');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
target:function(card,player,target,current){
|
||||||
|
if(card.name=='sha'&&player.storage.zhucheng&&player.storage.zhucheng.length){
|
||||||
|
if(player.storage.zhucheng.length>=2){
|
||||||
|
if(!player.hasFriend()&&player.num('he')-2<player.storage.zhucheng.length) return 'zeroplayertarget';
|
||||||
|
return 0.1;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
var he=player.get('he');
|
||||||
|
var sha=false;
|
||||||
|
for(var i=0;i<he.length;i++){
|
||||||
|
if(he[i]=='sha'&&!sha){
|
||||||
|
sha=true;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
if(ai.get.value(he[i])<=6){
|
||||||
|
return [1,0,1,-0.5];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 'zeroplayertarget';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
group:'zhucheng2'
|
||||||
|
},
|
||||||
|
zhucheng2:{
|
||||||
|
trigger:{target:'shaBefore'},
|
||||||
|
check:function(event,player){
|
||||||
|
if(ai.get.attitude(event.player,player)<=0) return true;
|
||||||
|
return ai.get.effect(player,event.card,event.player,player)<=0;
|
||||||
|
},
|
||||||
|
filter:function(event,player){
|
||||||
|
return player.storage.zhucheng&&player.storage.zhucheng.length>0;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
var bool=false;
|
||||||
|
if(ai.get.effect(player,trigger.card,trigger.player,trigger.player)>=0){
|
||||||
|
bool=true;
|
||||||
|
}
|
||||||
|
var num=player.storage.zhucheng.length;
|
||||||
|
trigger.player.chooseToDiscard('弃置'+get.cnNumber(num)+'张牌,或令杀无效',num).ai=function(card){
|
||||||
|
if(bool){
|
||||||
|
return 7-ai.get.value(card);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
'step 1'
|
||||||
|
if(!result.bool){
|
||||||
|
trigger.untrigger();
|
||||||
|
trigger.finish();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
diy_jiaoxia:{
|
diy_jiaoxia:{
|
||||||
audio:['jiaoxia',2],
|
audio:['jiaoxia',2],
|
||||||
trigger:{target:'useCardToBegin'},
|
trigger:{target:'useCardToBegin'},
|
||||||
|
@ -477,11 +603,11 @@ character.diy={
|
||||||
else if(att==0&&trigger.player.num('he')==0){
|
else if(att==0&&trigger.player.num('he')==0){
|
||||||
bool=1;
|
bool=1;
|
||||||
}
|
}
|
||||||
trigger.player.chooseControl('draw_card','discard_card').ai=function(){
|
trigger.player.chooseControl(function(){
|
||||||
return bool;
|
return bool;
|
||||||
};
|
}).set('prompt','率言').set('choiceList',['令'+get.translation(player)+'摸一张牌','令'+get.translation(player)+'弃置你一张牌']);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.control=='draw_card'){
|
if(result.control=='选项一'){
|
||||||
player.draw();
|
player.draw();
|
||||||
event.finish();
|
event.finish();
|
||||||
}
|
}
|
||||||
|
@ -694,6 +820,13 @@ character.diy={
|
||||||
diy_lukang:'陆抗',
|
diy_lukang:'陆抗',
|
||||||
diy_caiwenji:'蔡昭姬',
|
diy_caiwenji:'蔡昭姬',
|
||||||
diy_zhenji:'甄宓',
|
diy_zhenji:'甄宓',
|
||||||
|
|
||||||
|
zhucheng:'筑城',
|
||||||
|
zhucheng2:'筑城',
|
||||||
|
zhucheng_info:'①结束阶段开始时,若没有“筑”,你可以将牌堆顶的X张牌置于你的武将牌上〔称为“筑”〕(X为你已损失的体力值与1中的较大值),否则你可以获取所有“筑”。②当你成为杀的目标时,若有“筑”,你可以令此杀的使用者弃置X张牌(X为“筑”的数量),否则杀对你无效',
|
||||||
|
duoqi:'夺气',
|
||||||
|
duoqi_info:'当一名角色于除你之外的角色的出牌阶段内因弃置而失去牌后,你可以将一张“筑”置入弃牌堆,结束此出牌阶段',
|
||||||
|
|
||||||
siji:'伺机',
|
siji:'伺机',
|
||||||
ciqiu:'刺酋',
|
ciqiu:'刺酋',
|
||||||
ciqiu2:'刺酋',
|
ciqiu2:'刺酋',
|
||||||
|
@ -708,8 +841,6 @@ character.diy={
|
||||||
jieyan:'劫焰',
|
jieyan:'劫焰',
|
||||||
honglian:'红莲',
|
honglian:'红莲',
|
||||||
xiongzi:'雄姿',
|
xiongzi:'雄姿',
|
||||||
yaliang:'雅量',
|
|
||||||
yaliang_info:'每当你对其他角色造成1点伤害后,或受到其他角色造成的1点伤害后,你可与该角色各摸一张牌。',
|
|
||||||
luweiyan:'围堰',
|
luweiyan:'围堰',
|
||||||
guihan:'归汉',
|
guihan:'归汉',
|
||||||
diyduanliang:'断粮',
|
diyduanliang:'断粮',
|
||||||
|
@ -721,6 +852,8 @@ character.diy={
|
||||||
batu:'霸图',
|
batu:'霸图',
|
||||||
zaiqix:'再起',
|
zaiqix:'再起',
|
||||||
diy_jiaoxia:'皎霞',
|
diy_jiaoxia:'皎霞',
|
||||||
|
yaliang:'雅量',
|
||||||
|
yaliang_info:'每当你对其他角色造成1点伤害后,或受到其他角色造成的1点伤害后,你可与该角色各摸一张牌。',
|
||||||
diy_jiaoxia_info:'每当你成为红色牌的目标,你可以摸一张牌',
|
diy_jiaoxia_info:'每当你成为红色牌的目标,你可以摸一张牌',
|
||||||
zaiqix_info:'摸牌阶段,若你已受伤,你可以放弃摸牌并展示牌堆顶的X+1张牌,X为你已损失的体力值,其中每有一张♥牌,你回复1点体力,然后弃掉这些♥牌,将其余的牌收入手牌。',
|
zaiqix_info:'摸牌阶段,若你已受伤,你可以放弃摸牌并展示牌堆顶的X+1张牌,X为你已损失的体力值,其中每有一张♥牌,你回复1点体力,然后弃掉这些♥牌,将其余的牌收入手牌。',
|
||||||
batu_info:'回合结束阶段,你可以将手牌数补至X,X为现存的势力数',
|
batu_info:'回合结束阶段,你可以将手牌数补至X,X为现存的势力数',
|
||||||
|
|
|
@ -16,7 +16,7 @@ character.hearth={
|
||||||
hs_magni:['male','shu',4,['zhongjia','dunji']],
|
hs_magni:['male','shu',4,['zhongjia','dunji']],
|
||||||
hs_liadrin:['female','shu',4,['xueren']],
|
hs_liadrin:['female','shu',4,['xueren']],
|
||||||
hs_morgl:['male','wu',3,['s_tuteng']],
|
hs_morgl:['male','wu',3,['s_tuteng']],
|
||||||
hs_khadgar:['male','shu',3,['midian','jinzhou']],
|
hs_khadgar:['male','shu',3,['midian','fuwen','jinzhou']],
|
||||||
hs_tyrande:['female','wei',3,['yuelu','xingluo']],
|
hs_tyrande:['female','wei',3,['yuelu','xingluo']],
|
||||||
|
|
||||||
hs_neptulon:['male','wu',4,['liechao','qingliu']],
|
hs_neptulon:['male','wu',4,['liechao','qingliu']],
|
||||||
|
@ -98,6 +98,21 @@ character.hearth={
|
||||||
hs_malfurion:['hs_malorne'],
|
hs_malfurion:['hs_malorne'],
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
fuwen:{
|
||||||
|
trigger:{player:'phaseDiscardEnd'},
|
||||||
|
frequent:true,
|
||||||
|
filter:function(event,player){
|
||||||
|
if(event.cards){
|
||||||
|
for(var i=0;i<event.cards.length;i++){
|
||||||
|
if(get.type(event.cards[i],'trick')=='trick') return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
player.changeHujia();
|
||||||
|
},
|
||||||
|
},
|
||||||
jinzhou:{
|
jinzhou:{
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
direct:true,
|
direct:true,
|
||||||
|
@ -135,14 +150,14 @@ character.hearth={
|
||||||
enable:'phaseUse',
|
enable:'phaseUse',
|
||||||
usable:1,
|
usable:1,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.num('h',{type:'trick'})>0;
|
return player.num('h',{type:['trick','delay']})>0;
|
||||||
},
|
},
|
||||||
filterCard:{type:'trick'},
|
filterCard:{type:['trick','delay']},
|
||||||
check:function(card){
|
check:function(card){
|
||||||
return 10-ai.get.value(card);
|
return 10-ai.get.value(card);
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
var list=get.inpile('trick');
|
var list=get.inpile('trick','trick');
|
||||||
var list2=[];
|
var list2=[];
|
||||||
for(var i=0;i<3;i++){
|
for(var i=0;i<3;i++){
|
||||||
list2.push(game.createCard(list.randomGet()));
|
list2.push(game.createCard(list.randomGet()));
|
||||||
|
@ -1374,11 +1389,7 @@ character.hearth={
|
||||||
if(num<1){
|
if(num<1){
|
||||||
num=1;
|
num=1;
|
||||||
}
|
}
|
||||||
var list=['hslingjian_zhongxinghujia','hslingjian_xuanfengzhiren','hslingjian_yinmilichang',
|
var list=get.typeCard('hslingjian');
|
||||||
'hslingjian_shengxiuhaojiao','hslingjian_xingtigaizao','hslingjian_shijianhuisu'];
|
|
||||||
// if(get.mode()=='stone'){
|
|
||||||
// list.remove('hslingjian_jinjilengdong');
|
|
||||||
// }
|
|
||||||
var cards=[];
|
var cards=[];
|
||||||
while(num--){
|
while(num--){
|
||||||
cards.push(game.createCard(list.randomGet()));
|
cards.push(game.createCard(list.randomGet()));
|
||||||
|
@ -5541,10 +5552,12 @@ character.hearth={
|
||||||
hs_tyrande:'泰兰德',
|
hs_tyrande:'泰兰德',
|
||||||
hs_fenjie:'芬杰',
|
hs_fenjie:'芬杰',
|
||||||
|
|
||||||
|
fuwen:'符文',
|
||||||
|
fuwen_info:'若你弃牌阶段弃置了锦囊牌,你可以获得一点护甲',
|
||||||
jinzhou:'禁咒',
|
jinzhou:'禁咒',
|
||||||
jinzhou_info:'回合结束阶段,若你手牌中有黑桃牌,你可以令一名其他角色的非锁定技失效直到其下一回合结束',
|
jinzhou_info:'回合结束阶段,若你手牌中有黑桃牌,你可以令一名其他角色的非锁定技失效直到其下一回合结束',
|
||||||
midian:'秘典',
|
midian:'秘典',
|
||||||
midian_info:'出牌阶段限一次,你可以弃置一张非延时锦囊牌,然后获得三张随机的非延时锦囊牌',
|
midian_info:'出牌阶段限一次,你可以弃置一张锦囊牌,然后随机获得三张锦囊牌',
|
||||||
yuelu:'月露',
|
yuelu:'月露',
|
||||||
yuelu_info:'在一名角色的濒死阶段,你可以弃置一张黑色牌令其回复一点体力并获得一点护甲',
|
yuelu_info:'在一名角色的濒死阶段,你可以弃置一张黑色牌令其回复一点体力并获得一点护甲',
|
||||||
xingluo:'星落',
|
xingluo:'星落',
|
||||||
|
@ -5616,7 +5629,7 @@ character.hearth={
|
||||||
zengli:'赠礼',
|
zengli:'赠礼',
|
||||||
zengli_info:'出牌阶段限一次,你指定一名其他角色与你各装备一把武器',
|
zengli_info:'出牌阶段限一次,你指定一名其他角色与你各装备一把武器',
|
||||||
xiubu:'修补',
|
xiubu:'修补',
|
||||||
xiubu_info:'每当你装备一把未强化的武器,你可以获得数量等同于武器攻击范围的随机零件(冰冻零件除外)',
|
xiubu_info:'每当你装备一把未强化的武器,你可以获得数量等同于武器攻击范围的随机零件',
|
||||||
mobao:'魔爆',
|
mobao:'魔爆',
|
||||||
mobao_info:'出牌阶段限一次,你可以弃置至多三张黑色牌,然后对所有于上轮对你造成过伤害的角色造成等同于你弃牌数的雷电伤害',
|
mobao_info:'出牌阶段限一次,你可以弃置至多三张黑色牌,然后对所有于上轮对你造成过伤害的角色造成等同于你弃牌数的雷电伤害',
|
||||||
xianji:'献祭',
|
xianji:'献祭',
|
||||||
|
|
|
@ -61,6 +61,8 @@ window.characterRank={
|
||||||
'gjqt_ouyangshaogong',
|
'gjqt_ouyangshaogong',
|
||||||
],
|
],
|
||||||
a:[
|
a:[
|
||||||
|
'hs_khadgar',
|
||||||
|
'hs_tyrande',
|
||||||
'pal_muchanglan',
|
'pal_muchanglan',
|
||||||
'hs_aya',
|
'hs_aya',
|
||||||
'ow_heiying',
|
'ow_heiying',
|
||||||
|
|
148
game/config.js
148
game/config.js
|
@ -44,154 +44,6 @@ window.config={
|
||||||
image_background_filter:['default','blur','gray','sepia','invert','saturate','contrast','hue','brightness'],
|
image_background_filter:['default','blur','gray','sepia','invert','saturate','contrast','hue','brightness'],
|
||||||
background_music:['music_default','music_diaochan','music_shezhan','music_danji','music_random','music_off']
|
background_music:['music_default','music_diaochan','music_shezhan','music_danji','music_random','music_off']
|
||||||
},
|
},
|
||||||
translate:{
|
|
||||||
character_play_config:'技能卡牌',
|
|
||||||
soldier_play_config:'士兵模式',
|
|
||||||
strategy_play_config:'尔虞我诈',
|
|
||||||
wuxing_play_config:'五行生克',
|
|
||||||
|
|
||||||
sanguozhi:'三国志',
|
|
||||||
online:'OL',
|
|
||||||
background_music_config:'背景音乐',
|
|
||||||
background_audio_config:'游戏音效',
|
|
||||||
background_speak_config:'人物配音',
|
|
||||||
background_ogg_config:'补全配音',
|
|
||||||
music_default:'默认',
|
|
||||||
music_diaochan:'貂蝉',
|
|
||||||
music_danji:'单骑',
|
|
||||||
music_shezhan:'舌战',
|
|
||||||
music_nizhan:'逆战',
|
|
||||||
music_yaoshan:'榣山',
|
|
||||||
music_jingshui:'静水',
|
|
||||||
music_xingnian:'星念',
|
|
||||||
music_random:'随机',
|
|
||||||
music_off:'关闭',
|
|
||||||
blur:'模糊',
|
|
||||||
gray:'黑白',
|
|
||||||
sepia:'褪色',
|
|
||||||
invert:'反色',
|
|
||||||
saturate:'饱和',
|
|
||||||
contrast:'对比',
|
|
||||||
hue:'偏色',
|
|
||||||
brightness:'高亮',
|
|
||||||
white:'白色',
|
|
||||||
woodden:'木纹',
|
|
||||||
music:'音乐',
|
|
||||||
simple:'简约',
|
|
||||||
newlayout:'新版',
|
|
||||||
jeans:'牛仔',
|
|
||||||
metro:'极简',
|
|
||||||
glass:'玻璃',
|
|
||||||
paper:'宣纸',
|
|
||||||
dock:'蓝白',
|
|
||||||
block:'线条',
|
|
||||||
round:'圆形',
|
|
||||||
huangyueying_bg:'逐墨',
|
|
||||||
huangtian_bg:'黄天',
|
|
||||||
zhulian_bg:'璧合',
|
|
||||||
xueji_bg:'雪霁',
|
|
||||||
haian_bg:'海岸',
|
|
||||||
paper_bg:'木纹',
|
|
||||||
yinxiang_bg:'印象',
|
|
||||||
september_bg:'九月',
|
|
||||||
zhanhuo_bg:'战火',
|
|
||||||
zhulin_bg:'竹林',
|
|
||||||
lvyin_bg:'绿茵',
|
|
||||||
chunhui_bg:'春晖',
|
|
||||||
grape_bg:'葡萄',
|
|
||||||
grass_bg:'芳草',
|
|
||||||
leaf_bg:'新叶',
|
|
||||||
space_bg:'空间',
|
|
||||||
round_dybg:'圆环',
|
|
||||||
none:'无',
|
|
||||||
|
|
||||||
cheat_config:'控制台命令',
|
|
||||||
paused_config:'暂停背景',
|
|
||||||
change_choice_config:'开启换将卡',
|
|
||||||
free_choose_config:'开启自由选将',
|
|
||||||
change_card_config:'开启手气卡',
|
|
||||||
change_identity_config:'自由选择身份',
|
|
||||||
swap_config:'死亡后换人',
|
|
||||||
revive_config:'开启复活',
|
|
||||||
auto_skill_config:'自动发动常用技能',
|
|
||||||
auto_confirm_config:'自动确认',
|
|
||||||
wuxie_self_config:'不无懈自己',
|
|
||||||
enable_drag_config:'启用拖拽',
|
|
||||||
hover_all_config:'悬停显示信息',
|
|
||||||
hover_handcard_config:'悬停手牌显示信息',
|
|
||||||
duration_config:'AI出牌间隔',
|
|
||||||
hoveration_config:'悬停时间',
|
|
||||||
theme_config:'主题',
|
|
||||||
layout_config:'布局',
|
|
||||||
mode_config:'游戏模式',
|
|
||||||
player_number_config:'游戏人数',
|
|
||||||
battle_number_config:'参战人数',
|
|
||||||
difficulty_config:'AI对人类态度',
|
|
||||||
initshow_draw_config:'首亮摸牌',
|
|
||||||
ai_strategy_config:'内奸策略',
|
|
||||||
ai_identity_config:'身份预知',
|
|
||||||
keep_max_hp_config:'锁定体力上限',
|
|
||||||
dierestart_config:'死亡后显示重来',
|
|
||||||
ban_weak_config:'屏蔽弱将',
|
|
||||||
easy:'友好',
|
|
||||||
normal:'一般',
|
|
||||||
hard:'仇视',
|
|
||||||
double_character_config:'双将模式',
|
|
||||||
auto_identity_config:'自动显示身份',
|
|
||||||
double_hp_config:'双将体力上限',
|
|
||||||
zuidazhi:'最大',
|
|
||||||
zuixiaozhi:'最小',
|
|
||||||
pingjun:'平均',
|
|
||||||
hejiansan:'相加',
|
|
||||||
zonghe:'总和',
|
|
||||||
xiangcheng:'相乘',
|
|
||||||
|
|
||||||
image_character_config:'角色头像',
|
|
||||||
image_background_config:'游戏背景',
|
|
||||||
image_background_filter_config:'背景效果',
|
|
||||||
|
|
||||||
config_menu_config:'选项菜单',
|
|
||||||
show_playerids_config:'显示身份按钮',
|
|
||||||
show_replay_config:'显示重来按钮',
|
|
||||||
show_pause_config:'显示暂停按钮',
|
|
||||||
show_wuxie_config:'显示不询问无懈',
|
|
||||||
show_wuxie_self_config:'显示不无懈自己',
|
|
||||||
show_discardpile_config:'暂停时显示弃牌堆',
|
|
||||||
only_fullskin_config:'隐藏非全身皮肤',
|
|
||||||
hide_card_image_config:'隐藏卡牌背景图',
|
|
||||||
show_auto_config:'显示托管按钮',
|
|
||||||
show_volumn_config:'显示音量按钮',
|
|
||||||
show_name_config:'显示角色名称',
|
|
||||||
ui_zoom_config:'界面缩放',
|
|
||||||
no_ios_zoom_config:'禁止触屏缩放',
|
|
||||||
show_stat_config:'显示战斗统计',
|
|
||||||
show_scrollbar_config:'显示滚动条',
|
|
||||||
mousewheel_config:'滚轮控制手牌',
|
|
||||||
handcard_scroll_config:'手牌自动滚动',
|
|
||||||
touchscreen_config:'触屏模式',
|
|
||||||
fold_card_config:'折叠手牌',
|
|
||||||
threed_card_config:'立体手牌',
|
|
||||||
blur_ui_config:'模糊效果',
|
|
||||||
vertical_scroll_config:'纵向滚动手牌',
|
|
||||||
animation_config:'游戏特效',
|
|
||||||
right_sidebar_config:'侧栏靠右',
|
|
||||||
title_config:'标题栏显示信息',
|
|
||||||
intro_config:'信息符号',
|
|
||||||
right_click_config:'右键功能',
|
|
||||||
right_info_config:'右键显示信息',
|
|
||||||
long_info_config:'长按显示信息',
|
|
||||||
sort_config:'手牌分类',
|
|
||||||
reverse_sort_config:'相反排序',
|
|
||||||
strict_sort_config:'严格排序',
|
|
||||||
save_progress_config:'自动保存',
|
|
||||||
enhance_zhu_config:'加强主公',
|
|
||||||
suit_sort:'颜色',
|
|
||||||
number_sort:'点数',
|
|
||||||
type_sort:'类型',
|
|
||||||
pause:'暂停',
|
|
||||||
config:'选项',
|
|
||||||
auto:'托管'
|
|
||||||
},
|
|
||||||
|
|
||||||
game:'sgs',
|
game:'sgs',
|
||||||
duration:500,
|
duration:500,
|
||||||
|
|
10
game/game.js
10
game/game.js
|
@ -6037,6 +6037,10 @@
|
||||||
_lianhuan2:'连环',
|
_lianhuan2:'连环',
|
||||||
qianxing:'潜行',
|
qianxing:'潜行',
|
||||||
fengyin:'封印',
|
fengyin:'封印',
|
||||||
|
|
||||||
|
pause:'暂停',
|
||||||
|
config:'选项',
|
||||||
|
auto:'托管'
|
||||||
},
|
},
|
||||||
element:{
|
element:{
|
||||||
content:{
|
content:{
|
||||||
|
@ -14489,12 +14493,13 @@
|
||||||
if(!parent) return {};
|
if(!parent) return {};
|
||||||
if(typeof level=='number'){
|
if(typeof level=='number'){
|
||||||
for(var i=1;i<level;i++){
|
for(var i=1;i<level;i++){
|
||||||
parent=parent.parent;
|
|
||||||
if(!parent) return {};
|
if(!parent) return {};
|
||||||
|
parent=parent.parent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(typeof level=='string'){
|
else if(typeof level=='string'){
|
||||||
for(var i=0;i<20;i++){
|
for(var i=0;i<20;i++){
|
||||||
|
if(!parent) return {};
|
||||||
if(parent.name==level) return parent;
|
if(parent.name==level) return parent;
|
||||||
parent=parent.parent;
|
parent=parent.parent;
|
||||||
}
|
}
|
||||||
|
@ -15383,7 +15388,7 @@
|
||||||
zhuSkill:{},
|
zhuSkill:{},
|
||||||
fengyin:{
|
fengyin:{
|
||||||
init:function(player,skill){
|
init:function(player,skill){
|
||||||
var skills=player.get('s');
|
var skills=player.get('s',true,false);
|
||||||
for(var i=0;i<skills.length;i++){
|
for(var i=0;i<skills.length;i++){
|
||||||
if(get.is.locked(skills[i])){
|
if(get.is.locked(skills[i])){
|
||||||
skills.splice(i--,1);
|
skills.splice(i--,1);
|
||||||
|
@ -15394,6 +15399,7 @@
|
||||||
onremove:function(player,skill){
|
onremove:function(player,skill){
|
||||||
player.enableSkill(skill);
|
player.enableSkill(skill);
|
||||||
},
|
},
|
||||||
|
locked:true,
|
||||||
mark:true,
|
mark:true,
|
||||||
intro:{
|
intro:{
|
||||||
content:function(storage,player,skill){
|
content:function(storage,player,skill){
|
||||||
|
|
|
@ -16,7 +16,7 @@ window.noname_update={
|
||||||
'card/guozhan.js',
|
'card/guozhan.js',
|
||||||
// 'card/sp.js',
|
// 'card/sp.js',
|
||||||
'card/yunchou.js',
|
'card/yunchou.js',
|
||||||
// 'character/rank.js',
|
'character/rank.js',
|
||||||
// 'character/extra.js',
|
// 'character/extra.js',
|
||||||
'character/ow.js',
|
'character/ow.js',
|
||||||
'character/hearth.js',
|
'character/hearth.js',
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 31 KiB |
Loading…
Reference in New Issue