From 35723f609ff9374d25c8d3a02c07648e2eb3af66 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Tue, 1 Aug 2023 16:29:20 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E7=BC=A9=E6=94=BE=E5=90=8E=E4=B9=9F=E5=BA=94=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E4=B8=80=E6=AC=A1lib.onresize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/game/game.js b/game/game.js index 17039c5a1..5b147e6e0 100644 --- a/game/game.js +++ b/game/game.js @@ -1137,6 +1137,11 @@ } game.documentZoom=game.deviceZoom*zoom; ui.updatez(); + if (Array.isArray(lib.onresize)) { + lib.onresize.forEach(fun => { + if (typeof fun == 'function') fun(); + }); + } } }, image_background:{ From b7f482b19cffa1f0d7e921cc25751a25254047ec Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Thu, 3 Aug 2023 00:12:45 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E8=AE=B8=E5=8A=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 评鉴bug修复及优化 --- character/sp2.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/character/sp2.js b/character/sp2.js index 87f1447bd..ef7b66cee 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -7950,9 +7950,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var allList=_status.characterlist.slice(0); game.countPlayer(function(current){ - allList.add(current.name); - allList.add(current.name1); - allList.add(current.name2); + if(current.name&&lib.character[current.name]&¤t.name.indexOf('gz_shibing')!=0&¤t.name.indexOf('gz_jun_')!=0) allList.add(current.name); + if(current.name1&&lib.character[current.name1]&¤t.name1.indexOf('gz_shibing')!=0&¤t.name1.indexOf('gz_jun_')!=0) allList.add(current.name1); + if(current.name2&&lib.character[current.name2]&¤t.name2.indexOf('gz_shibing')!=0&¤t.name2.indexOf('gz_jun_')!=0) allList.add(current.name2); }); var list=[]; var skills=[]; @@ -8030,9 +8030,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var allList=_status.characterlist.slice(0); game.countPlayer(function(current){ - allList.add(current.name); - allList.add(current.name1); - allList.add(current.name2); + if(current.name&&lib.character[current.name]&¤t.name.indexOf('gz_shibing')!=0&¤t.name.indexOf('gz_jun_')!=0) allList.add(current.name); + if(current.name1&&lib.character[current.name1]&¤t.name1.indexOf('gz_shibing')!=0&¤t.name1.indexOf('gz_jun_')!=0) allList.add(current.name1); + if(current.name2&&lib.character[current.name2]&¤t.name2.indexOf('gz_shibing')!=0&¤t.name2.indexOf('gz_jun_')!=0) allList.add(current.name2); }); allList.randomSort(); for(var i=0;i Date: Thu, 3 Aug 2023 00:13:32 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=9B=BD=E6=88=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 国战模式新技能覆盖加bug修复 --- mode/guozhan.js | 579 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 566 insertions(+), 13 deletions(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index de378e8f8..09da489ac 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -396,7 +396,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ gz_zhonghui:['male','ye',4,['gzquanji','gzpaiyi'],['gzskin']], gz_simazhao:['male','ye',3,['gzzhaoxin','gzsuzhi'],['gzskin']], - gz_gongsunyuan:['male','ye',4,['gzhuaiyi','gzzisui'],['gzskin']], + gz_gongsunyuan:['male','ye',4,['gzrehuaiyi','gzrezisui'],['gzskin']], gz_sunchen:['male','ye',4,['gzshilu','gzxiongnve']], gz_tangzi:['male','wu',4,['gzxingzhao'],['doublegroup:wu:wei','gzskin']], gz_mengda:['male','wei',4,['qiuan','liangfan'],['doublegroup:wei:shu']], @@ -405,7 +405,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ gz_shixie:['male','qun',3,['gzbiluan','gzrelixia'],['doublegroup:qun:wu','gzskin']], gz_zhanglu:['male','qun',3,['gzrebushi','gzremidao'],['doublegroup:qun:wei','gzskin']], gz_dongzhao:['male','wei',3,['quanjin','zaoyun']], - gz_re_xushu:['male','shu',4,['gzzhuhai','gzpozhen','gzjiancai'],['gzskin']], + gz_re_xushu:['male','shu',4,['gzqiance','gzjujian'],['gzskin']], gz_wujing:['male','wu',4,['donggui','fengyang'],['gzskin']], gz_yanbaihu:['male','qun',4,['gzzhidao','gzyjili'],['gzskin']], gz_xuyou:['male','wei',3,['gzchenglve','gzshicai'],['doublegroup:wei:qun','gzskin']], @@ -416,7 +416,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ gz_wenqin:['male','wei',4,['gzjinfa'],['doublegroup:wei:wu','gzskin']], gz_xf_sufei:['male','wu',4,['gzlianpian'],['doublegroup:wu:qun','gzskin']], gz_liuba:['male','shu',3,['gztongduo','qingyin'],['gzskin']], - gz_pengyang:['male','shu',3,['daming','xiaoni'],['doublegroup:shu:qun','gzskin']], + gz_pengyang:['male','shu',3,['gztongling','gzjinyu'],['doublegroup:shu:qun','gzskin']], gz_zhuling:['male','wei',4,['gzjuejue','gzfangyuan'],['gzskin']], gz_caocao:['male','wei',4,['jianxiong']], @@ -510,7 +510,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ gz_bianfuren:['female','wei',3,['wanwei','gzyuejian']], gz_xunyou:['male','wei',3,['gzqice','zhiyu'],['gzskin']], gz_lingtong:['male','wu',4,['xuanlve','yongjin'],['gzskin']], - gz_lvfan:['male','wu',3,['xindiaodu','gzdiancai']], + gz_lvfan:['male','wu',3,['gzdiaodu','gzdiancai']], gz_masu:['male','shu',3,['sanyao','gzzhiman'],['gzskin']], gz_shamoke:['male','shu',4,['gzjili'],['gzskin']], @@ -525,7 +525,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ gz_miheng:['male','qun',3,['gzrekuangcai','gzshejian'],['gzskin']], gz_fengxi:['male','wu',3,['gzyusui','gzboyan'],['gzskin']], gz_dengzhi:['male','shu',3,['gzjianliang','gzweimeng'],['gzskin']], - gz_re_nanhualaoxian:['male','qun',4,['gzgongxiu','gzjinghe']], + gz_re_nanhualaoxian:['male','qun',4,['gzgongxiu','gztaidan','gzrejinghe']], gz_zhouyi:['female','wu',3,['gzzhukou','gzduannian','gzlianyou']], gz_re_xunchen:['male','qun',3,['gzfenglve','gzanyong']], gz_lvlingqi:['female','qun',4,['guowu','gzshenwei','gzzhuangrong'],['gzskin']], @@ -584,6 +584,504 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } }, skill:{ + //国战典藏2023补充 + //吕范 + gzdiaodu:{ + audio:'diaodu', + trigger:{player:'phaseUseBegin'}, + filter:function(event,player){ + return game.hasPlayer(function(current){ + return current.isFriendOf(player)&¤t.countGainableCards(player,'e')>0; + }); + }, + direct:true, + frequent:true, + preHidden:true, + content:function(){ + 'step 0' + player.chooseTarget(get.prompt2('gzdiaodu'),function(card,player,current){ + return current.isFriendOf(player)&¤t.countGainableCards(player,'e')>0; + }).set('ai',function(target){ + var num=0; + if(target.hasSkill('gzxiaoji')) num+=2.5; + if(target.isDamaged()&&target.getEquip('baiyin')) num+=2.5; + if(target.hasSkill('xuanlve')) num+=2; + return num; + }).setHiddenSkill('gzdiaodu'); + 'step 1' + if(result.bool){ + var target=result.targets[0] + event.target=target; + player.logSkill('gzdiaodu',target); + player.gainPlayerCard(target,'e',true); + } + else event.finish(); + 'step 2' + if(result.bool&&player.getCards('h').contains(result.cards[0])){ + event.card=result.cards[0]; + player.chooseTarget('将'+get.translation(event.card)+'交给另一名角色',function(card,player,current){ + return current!=player&¤t!=_status.event.target; + },true).set('target',target); + } + else event.finish(); + 'step 3' + if(result.bool){ + var target=result.targets[0]; + player.line(target,'green'); + player.give(card,target); + } + }, + group:'gzdiaodu_use', + subSkill:{ + use:{ + trigger:{global:'useCard'}, + filter:function(event,player){ + return get.type(event.card)=='equip'&&event.player.isIn()&&event.player.isFriendOf(player)&&(player==event.player||player.hasSkill('gzdiaodu')); + }, + direct:true, + content:function(){ + 'step 0' + var next=trigger.player.chooseBool(get.prompt('gzdiaodu'),'摸一张牌'); + if(player.hasSkill('gzdiaodu')) next.set('frequentSkill','gzdiaodu'); + if(player==trigger.player) next.setHiddenSkill('gzdiaodu'); + 'step 1' + if(result.bool){ + player.logSkill('gzdiaodu',trigger.player); + trigger.player.draw('nodelay'); + } + }, + }, + }, + }, + //徐庶 + gzqiance:{ + trigger:{global:'useCardToPlayered'}, + filter:function(event,player){ + if(!event.isFirstTarget||get.type/*2*/(event.card)!='trick') return false;//延时锦囊不能响应有个锤用 + return event.player.isFriendOf(player)&&event.targets.some(target=>target.isMajor()); + }, + check:function(event,player){ + var num=0,targets=event.targets.some(target=>target.isMajor()); + for(var target of targets) num+=get.sgn(get.attitude(player,target)*get.effect(target,event.card,event.player,player)); + return num>=0; + }, + logTarget:'player', + content:function(){ + trigger.getParent().directHit.addArray(trigger.targets.filter(target=>target.isMajor())); + }, + }, + gzjujian:{ + init:function(player){ + if(player.checkViceSkill('gzjujian')&&!player.viceChanged) player.removeMaxHp(); + }, + viceSkill:true, + audio:'gzjiancai', + trigger:{global:'dying'}, + filter:function(event,player){ + return event.player.isFriendOf(player); + }, + forced:true, + logTarget:'player', + content:function(){ + trigger.player.recover(1-trigger.player.hp); + player.changeVice(); + }, + }, + //彭羕 + gztongling:{ + audio:'daming', + trigger:{source:'damageSource'}, + filter:function(event,player){ + if(event.player.isFriendOf(player)) return false; + return player.isPhaseUsing()&&event.player.isIn()&&!player.hasSkill('gztongling_used'); + }, + direct:true, + content:function(){ + 'step 0' + var str=''; + if(get.itemtype(trigger.cards)=='cards'&&trigger.cards.filterInD().length) str+=';未造成伤害,其获得'+get.translation(trigger.cards.filterInD()); + player.chooseTarget(get.prompt('gztongling'),'令一名势力与你相同的角色选择是否对其使用一张牌。若使用且此牌:造成伤害,你与其各摸两张牌'+str,function(card,player,target){ + return target.isFriendOf(player); + }).set('ai',function(target){ + var aim=_status.event.aim; + var cards=target.getCards('hs',function(card){ + return target.canUse(card,aim,false)&&get.effect(aim,card,target,player)>0&&get.effect(aim,card,target,target)>0; + }) + if(cards.length) return cards.some(card=>get.tag(card,'damage'))?2:1; + return 0; + }).set('aim',trigger.player); + 'step 1' + if(result.bool){ + var target=result.targets[0]; + event.target=target; + player.logSkill('gztongling',target); + player.addTempSkill('gztongling_used','phaseUseAfter'); + player.line2([target,trigger.player]); + target.chooseToUse(function(card,player,event){ + return lib.filter.filterCard.apply(this,arguments); + },'通令:是否对'+get.translation(trigger.player)+'使用一张牌?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ + if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + return lib.filter.targetEnabled.apply(this,arguments); + }).set('sourcex',trigger.player).set('addCount',false); + } + else event.finish(); + 'step 2' + if(result.bool){ + if(target.hasHistory('sourceDamage',evt=>evt.getParent(4).name=='gztongling')){ + player.draw(2,'nodelay'); + target.draw(2); + } + else{ + if(get.itemtype(trigger.cards)=='cards'&&trigger.cards.filterInD().length&&trigger.player.isIn()) trigger.player.gain(trigger.cards.filterInD(),'gain2'); + } + } + }, + subSkill:{used:{charlotte:true}}, + }, + gzjinyu:{ + audio:'xiaoni', + trigger:{player:'showCharacterAfter'}, + filter:function(event,player){ + if(!game.hasPlayer(function(current){ + return get.distance(player,current)<=1; + })) return false; + return event.toShow.some(name=>lib.character[name][3].contains('gzjinyu')); + }, + logTarget:function(event,player){ + return game.filterPlayer(function(current){ + return get.distance(player,current)<=1; + }).sortBySeat(player); + }, + forced:true, + locked:false, + content:function(){ + 'step 0' + event.targets=game.filterPlayer(function(current){ + return get.distance(player,current)<=1; + }).sortBySeat(player); + 'step 1' + var target=event.targets.shift(); + event.target=target; + if(!target.isUnseen(2)){ + if(get.is.jun(target)) event._result={control:'副将'}; + else{ + target.chooseControl('主将','副将').set('prompt','近谀:请暗置一张武将牌').set('ai',function(){ + var target=_status.event.player; + if(target.name=='gz_pengyang') return '主将'; + if(target.name2=='gz_pengyang') return '副将'; + if(lib.character[target.name][3].some(skill=>{ + var info=get.info(skill); + return info&&info.ai&&info.ai.maixie; + })) return '主将'; + if(target.name=='gz_zhoutai') return '副将'; + if(target.name2=='gz_zhoutai') return '主将'; + return '副将'; + }); + } + } + else{ + target.chooseToDiscard(2,'he',true); + event.goto(3); + } + 'step 2' + if(result.control) target.hideCharacter(result.control=='主将'?0:1); + 'step 3' + if(event.targets.length) event.goto(1); + }, + }, + //公孙渊 + gzrehuaiyi:{ + audio:'gzhuaiyi', + enable:'phaseUse', + filter:function(event,player){ + return player.countCards('h')>0; + }, + usable:1, + delay:false, + content:function(){ + 'step 0' + var map={} + player.showHandcards(); + for(var i of ['red','black','none']){ + if(player.countCards('h',{color:i})) map[i]=true; + } + if(Object.keys(map).length<2) event.finish(); + else event.map=map; + 'step 1' + var mapx={'red':'红色','black':'黑色','none':'无色'}; + player.chooseControl(Object.keys(event.map).map(color=>mapx[color])).set('ai',function(){ + var list=_status.event.controls; + var map={'红色':'red','黑色':'black','无色':'none'}; + return list.sort((a,b)=>player.countCards('h',{color:map[a]})-player.countCards('h',{color:map[b]}))[0]; + }).set('prompt','怀异:弃置一种颜色的所有牌'); + 'step 2' + var map={'红色':'red','黑色':'black','无色':'none'}; + var cards=player.getCards('h',{color:map[result.control]}); + player.discard(cards); + event.num=cards.length; + 'step 3' + player.chooseTarget('请选择至多'+get.cnNumber(event.num)+'名有牌的其他角色,获得这些角色的各一张牌。',[1,event.num],function(card,player,target){ + return target!=player&&target.countCards('he')>0; + }).set('ai',function(target){ + return -get.attitude(_status.event.player,target)+0.5; + }); + 'step 4' + if(result.bool&&result.targets){ + player.line(result.targets,'green'); + event.targets=result.targets; + event.targets.sort(lib.sort.seat); + event.cards=[]; + } + else event.finish(); + 'step 5' + if(player.isIn()&&event.targets.length){ + player.gainPlayerCard(event.targets.shift(),'he',true); + } + else event.finish(); + 'step 6' + if(result.bool&&result.cards&&result.cards.length) event.cards.addArray(result.cards); + if(event.targets.length) event.goto(5); + 'step 7' + var hs=player.getCards('h'); + cards=cards.filter(function(card){ + return get.type(card)=='equip'&&hs.contains(card); + }); + if(cards.length){ + player.$give(cards,player,false); + game.log(player,'将',cards,'置于了武将牌上'); + player.loseToSpecial(cards,'gzrehuaiyi').visible=true; + } + else event.finish(); + 'step 8' + player.addSkill('gzrehuaiyi_unmark'); + player.markSkill('gzrehuaiyi'); + game.delayx(); + }, + ai:{ + order:10, + result:{ + player:function(player,target){ + var map={}; + for(var i of ['red','black','none']){ + if(player.countCards('h',{color:i})) map[i]=true; + } + if(Object.keys(map).length<2) return 0; + var num=player.maxHp-player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + if(player.countCards('h',{color:'red'})<=num) return 1; + if(player.countCards('h',{color:'black'})<=num) return 1; + return 0; + }, + } + }, + marktext:'异', + intro:{ + mark:function(dialog,storage,player){ + var cards=player.getCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + if(!cards||!cards.length) return; + dialog.addAuto(cards); + }, + markcount:function(storage,player){ + return player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + }, + onunmark:function(storage,player){ + var cards=player.getCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + if(cards.length){ + player.loseToDiscardpile(cards); + } + }, + }, + mod:{ + aiOrder:function(player,card,num){ + if(get.itemtype(card)=='card'&&card.hasGaintag('gzrehuaiyi')) return num+(player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + })>player.maxHp?0.5:-0.5); + }, + }, + subSkill:{ + unmark:{ + trigger:{player:'loseAfter'}, + filter:function(event,player){ + if(!event.ss||!event.ss.length) return false; + return !player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + }, + charlotte:true, + forced:true, + silent:true, + content:function(){ + player.unmarkSkill('gzrehuaiyi'); + player.removeSkill('gzrehuaiyi_unmark'); + }, + }, + }, + }, + gzrezisui:{ + audio:'gzzisui', + trigger:{player:'phaseDrawBegin2'}, + filter:function(event,player){ + return !event.numFixed&&player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + })>0; + }, + forced:true, + content:function(){ + trigger.num+=player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + }); + }, + group:'gzrezisui_die', + subSkill:{ + die:{ + audio:'gzzisui', + trigger:{player:'phaseJieshuBegin'}, + filter:function(event,player){ + return player.countCards('s',function(card){ + return card.hasGaintag('gzrehuaiyi'); + })>player.maxHp; + }, + forced:true, + content:function(){ + player.die(); + }, + }, + }, + }, + //南华老仙 + gztaidan:{ + derivation:'taipingyaoshu', + audio:'tianshu', + locked:true, + group:'gztaidan_taipingyaoshu', + }, + gztaidan_taipingyaoshu:{ + equipSkill:true, + mod:{ + maxHandcard:function(player,num){ + if(!player.isEmpty(2)) return; + if(player.hasSkill('huangjintianbingfu')){ + num+=player.getExpansions('huangjintianbingfu').length; + } + return num+game.countPlayer(function(current){ + return current.isFriendOf(player); + }); + } + }, + audio:'tianshu', + inherit:'taipingyaoshu', + filter:function(event,player){ + if(!player.isEmpty(2)) return false; + return lib.skill.taipingyaoshu.filter(event,player); + }, + noHidden:true, + ai:{ + effect:{ + target:function(card,player,target){ + if(!target.isEmpty(2)) return; + if(player==target&&get.subtype(card)=='equip2'){ + if(get.equipValue(card)<=7.5) return 0; + } + return lib.skill.taipingyaoshu.ai.effect.target.apply(this,arguments); + }, + }, + }, + }, + gzrejinghe:{ + audio:'jinghe', + enable:'phaseUse', + usable:1, + //delay:0, + content:function(){ + 'step 0' + if(!_status.gzrejinghe_tianshu){ + var list=lib.skill.gzrejinghe.derivation.slice(0); + list.remove('gzrejinghe_faq'); + var list2=list.slice(0,get.rand(0,list.length)); + list.removeArray(list2); + list.addArray(list2); + _status.gzrejinghe_tianshu=list; + ui.gzretianshu=ui.create.system('天书',null,true); + lib.setPopped(ui.gzretianshu,function(){ + var dialog=ui.create.dialog('hidden'); + dialog.content.style['overflow-x']='visible'; + var list=_status.gzrejinghe_tianshu; + var core=document.createElement('div'); + var centerX=-10,centerY=80,radius=80; + var radian=Math.PI*2/list.length; + for(var i=0;i!current.hasSkill(event.skill)); + if(!targets.length){event.finish();return;} + player.chooseTarget('经合:令一名角色获得技能【'+get.translation(event.skill)+'】',function(card,player,target){ + return _status.event.targets.contains(target); + },true).set('ai',function(target){ + var player=_status.event.player; + return get.attitude(player,target); + }).set('targets',targets); + 'step 2' + if(result.bool){ + var target=result.targets[0],skill=event.skill; + player.line(target); + player.addTempSkill('gzrejinghe_clear',{player:'phaseBegin'}); + target.addAdditionalSkill('gzrejinghe_'+player.playerid,skill); + target.popup(skill); + game.log(target,'获得了技能','#g【'+get.translation(skill)+'】'); + } + }, + ai:{ + order:10, + result:{target:1}, + }, + derivation:['gzrejinghe_faq','leiji','nhyinbing','nhhuoqi','nhguizhu','nhxianshou','nhlundao','nhguanyue','nhyanzheng'], + subSkill:{ + clear:{ + onremove:function(player){ + game.countPlayer(function(current){ + current.removeAdditionalSkill('gzrejinghe_'+player.playerid); + }); + }, + }, + }, + }, //张鲁·新 gzrebushi:{ onremove:true, @@ -12690,7 +13188,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ 'step 6' if(result.bool){ target.chat('加入'); - if(!_status.yexinjia_list) _status.yexinjia_list=['夏','商','周','秦','汉','隋','唐','宋','辽','金','元','明']; + if(!_status.yexinjia_list) _status.yexinjia_list=['夏','商','周','秦','汉','隋','唐','宋','辽','金','元','明','清']; source.chooseControl(_status.yexinjia_list).set('prompt','请选择自己所属的野心家势力的标识').set('ai',()=>(_status.yexinjia_list?_status.yexinjia_list.randomGet():0)); } else{ @@ -14236,6 +14734,28 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ jiahe_haoshi:'好施', jiahe_shelie:'涉猎', jiahe_duoshi:'度势', + //国战典藏2023 + gzdiaodu:'调度', + gzdiaodu_info:'①与你势力相同的角色使用装备牌时,其可以摸一张牌。②出牌阶段开始时,你可以获得一名与你势力相同的角色的装备区里的一张牌,然后你将此牌交给另一名角色。', + gzqiance:'谦策', + gzqiance_info:'与你势力相同的角色使用锦囊牌指定第一个目标后,你可以令其中的所有大势力角色无法响应此牌。', + gzjujian:'举荐', + gzjujian_info:'副将技,锁定技。①此武将牌计算体力上限时减少半个阴阳鱼。②与你势力相同的角色进入濒死状态时,你可以令其将体力值回复至1点,然后你变更副将。', + gztongling:'通令', + gztongling_info:'出牌阶段限一次,当你对一名与你势力不同的角色A造成伤害后,你可以选择一名与你势力相同的角色B,令B选择是否对A使用一张牌。若B选择使用,则此牌结算后,若此牌造成过伤害,你和B各摸两张牌,否则A获得你对其造成伤害的牌。', + gzjinyu:'近谀', + gzjinyu_info:'当你明置此武将牌后,你令所有与你距离为1以内的角色依次执行以下效果:若其武将牌均明置,则其选择一张武将牌暗置,否则其弃置两张牌。', + gzrehuaiyi:'怀异', + gzrehuaiyi_info:'出牌阶段限一次,你可以展示所有手牌。若其中至少包含两种颜色,则你可以弃置其中一种颜色的所有牌,然后获得至多等量名角色的各一张牌。然后你将以此法获得的装备牌置于武将牌上,称为“异”。你可以将“异”如手牌般使用或打出。', + gzrezisui:'恣睢', + gzrezisui_info:'锁定技。①摸牌阶段,你多摸X张牌。②结束阶段,若X大于你的体力上限,你死亡(X为你武将牌上的“异”数)。', + gztaidan:'太丹', + gztaidan_taipingyaoshu:'太丹', + gztaidan_info:'锁定技,若你的防具栏为空且你的防具栏未被废除,你视为装备【太平要术】。', + gzrejinghe:'经合', + gzrejinghe_info:'出牌阶段限一次,你可以转动“天书”,然后令一名角色获得“天书”向上一面的技能直到你的下个回合开始。', + gzrejinghe_faq:'转动“天书”', + gzrejinghe_faq_info:'
  • 若游戏未拥有“天书”,系统将[雷击,阴兵,活气,鬼助,仙授,论道,观月,言政]以顺时针方向组成圆环作为“天书”,并转动圆环将随机一个技能至于最上面。
  • 若游戏已拥有“天书”,则以逆时针方向转动转动“天书”至下个技能于最上面。', gz_key_ushio:'冈崎汐', ushio_huanxin:'幻心', @@ -14886,7 +15406,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }); 'step 1' if(result.bool){ - if(!event.repeat) _status.changedSkills.add(event.skill) + if(!event.repeat){ + if(!_status.changedSkills[player.playerid]) _status.changedSkills[player.playerid]=[]; + _status.changedSkills[player.playerid].add(event.skill); + } player.changeVice(event.hidden); } }, @@ -14933,9 +15456,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, /**/ mayChangeVice:function(repeat,hidden){ - if(!_status.changedSkills) _status.changedSkills=[]; + if(!_status.changedSkills) _status.changedSkills={}; var skill=_status.event.name; - if(repeat||!_status.changedSkills.contains(skill)){ + if(repeat||!_status.changedSkills[this.playerid]||!_status.changedSkills[this.playerid].contains(skill)){ var next=game.createEvent('mayChangeVice'); next.setContent('mayChangeVice'); next.player=this; @@ -15007,11 +15530,33 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ this.node.identity.dataset.color='unknown'; this.node.identity.classList.add('guessing'); } + //南华老仙天书重连显示 + if(_status.gzrejinghe_tianshu){ + ui.gzretianshu=ui.create.system('天书',null,true); + lib.setPopped(ui.gzretianshu,function(){ + var dialog=ui.create.dialog('hidden'); + dialog.content.style['overflow-x']='visible'; + var list=_status.gzrejinghe_tianshu; + var core=document.createElement('div'); + var centerX=-10,centerY=80,radius=80; + var radian=Math.PI*2/list.length; + for(var i=0;i声明
    • 以下所有规则均为根据公开爆料整理,经村规改动后制定的临时规则。不代表任何官方意见。请以后续发布的官方规则作为标准。
    ' +'
    双势力武将
    • 双势力武将牌可以和野心家武将牌/包含势力单武将牌/含有重叠势力的其他双势力武将牌组合,若你的主将为双势力武将,则:若你的副将为单势力武将牌,你的势力视为此势力;若你的副将为双势力武将,你的势力视为两张武将牌上的重叠势力(若重叠势力不止一个则需在游戏开始时选择一个作为自己的势力);野心家武将牌为主将,双势力武将牌为副将时,游戏开始时需选择一个副将所含势力作为副将的势力。
    • 变更副将时,可以选择包含原势力的双势力武将牌。左慈发动【役鬼】时,可以使用双势力武将牌同时指定两个不同势力的角色为目标。
    • 特殊地,“冈崎汐”作为多势力武将牌,结算流程和规则与其他双势力武将相同。
    ' - +'
    野心家武将
    • 野心家武将只能放在主将位置。副将可以为任意非野心家武将牌。
    • 选择了野心家武将牌的角色(以下简称“野心家角色”)仅明置副将时,若副将为单势力武将牌,则势力暂时视为与该武将牌相同。若副将为双势力武将牌,则势力视为野心家。
    • 野心家角色明置主将时,其势力改为野心家。若其是首次明置该武将牌,则其获得一个“野心家”标记。
    • “野心家”标记可以当做“先驱”标记,“阴阳鱼”标记或是“珠联璧合”标记使用。当同时拥有两种标记时,优先弃置原装标记,下次发动时才弃置“野心家”标记。
    • 野心家角色变更副将时,若其主将未明置过,则按照副将的势力进行变更。若主将已经明置过,则可以选择所有的非野心家武将牌。左慈发动【役鬼】时,可以使用野心家武将牌同时指定所有势力的角色为目标。' + +'
      野心家武将
      • 野心家武将只能放在主将位置。副将可以为任意非野心家武将牌。
      • 选择了野心家武将牌的角色(以下简称“野心家角色”)仅明置副将时,若副将为单势力武将牌,则势力暂时视为与该武将牌相同。若副将为双势力武将牌,则势力视为游戏开始时选择的副将代表的势力。
      • 野心家角色明置主将时,其势力改为野心家。若其是首次明置该武将牌,则其获得一个“野心家”标记。
      • “野心家”标记可以当做“先驱”标记,“阴阳鱼”标记或是“珠联璧合”标记使用。当同时拥有两种标记时,优先弃置原装标记,下次发动时才弃置“野心家”标记。
      • 野心家角色变更副将时,若其主将未明置过,则按照副将的势力进行变更。若主将已经明置过,则可以选择所有的非野心家武将牌。左慈发动【役鬼】时,可以使用野心家武将牌同时指定所有势力的角色为目标。' +'
      • 当场上触发了胜利条件时,若这些角色中存在未明置过主将的野心家角色,则这些野心家角色选择是否“暴露野心”。若无人选择“是”且场上存在非野心家角色存活,则所有非野心家角色胜利,野心家角色失败。若有人选择“是”,则这些角色明置主将。然后若场上存活角色数大于等于3,则这些角色选择是否发起“拉拢人心”
      • 选择发起“拉拢人心”的野心家角色,令所有其他非野心家角色和非君主角色依次选择是否和该野心家角色“结盟”。若有人选择“是”,则野心家角色弃置“野心家”标记,且该角色将势力改为野心家,将手牌摸至四张并回复1点体力,且视为和发起“拉拢人心”的野心家角色势力相同,并终止对其他角色的询问。
      ' +'
      纵横捭阖
      • 当一名角色对目标角色发动具有拥有“纵横”衍生技的技能时,其可以令对方获得“纵横”衍生技直到其下回合结束。
      ', }, From 3ecc2810e37730a978c8e7bbdc0e1b815d09c30d Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Thu, 3 Aug 2023 14:46:53 +0800 Subject: [PATCH 4/6] bug fixs --- character/clan.js | 6 ++- character/ddd.js | 51 +++++++++++---------- character/mobile.js | 27 ++++++----- character/sp2.js | 2 +- character/tw.js | 18 +++++--- game/game.js | 108 ++++++++------------------------------------ mode/guozhan.js | 82 +++++++++++++-------------------- 7 files changed, 109 insertions(+), 185 deletions(-) diff --git a/character/clan.js b/character/clan.js index 9939a030f..677866d9f 100644 --- a/character/clan.js +++ b/character/clan.js @@ -455,6 +455,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:'useCard', }, filter:function(event,player){ + var len=lib.skill.dcweidang.getLength(event.card); + if(player.hasHistory('useCard',function(evt){ + return evt!=event&&lib.skill.dcweidang.getLength(evt.card)==len; + },event)) return false; if(!player.getStat().skill.clanguangu) return false; var history=player.getAllHistory('useSkill',evt=>{ return evt.skill=='clanguangu_backup'; @@ -468,7 +472,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ break; } } - if(num&&lib.skill.dcweidang.getLength(event.card)==num) return true; + if(num&&len==num) return true; return false; }, forced:true, diff --git a/character/ddd.js b/character/ddd.js index fd7844ab1..7a7412bf1 100644 --- a/character/ddd.js +++ b/character/ddd.js @@ -625,7 +625,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.line(target,'fire'); var num=target.countCards('h')-player.countCards('h'); if(num>0) target.chooseToDiscard('h',true,num); - else target.draw(Math.min(5,num)); + else target.draw(Math.min(5,-num)); } }, subSkill:{ @@ -1927,7 +1927,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.getStorage('dddchashi'); if(!storage||!storage.length) return false; if(event.player!=storage[1]||!event.player.isIn()) return false; - if(!player.getCards('h').contains(storage[0])||!storage[0].hasGaintag('dddchashi')) return false; + if(!player.getCards('he').contains(storage[0])||!storage[0].hasGaintag('dddchashi')) return false; if(get.suit(event.card)!=get.suit(storage[0])) return false; var evt=event.getParent('phaseUse'); if(evt.player) @@ -2354,7 +2354,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var history=current.actionHistory; for(var i=history.length-2;i>=0;i--){ var evts=history[i].useSkill; - for(evt of evts){ + for(var evt of evts){ if(evt.skill=='dddfengzheng_global') return true; } if(history[i].isRound) break; @@ -2367,7 +2367,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var history=current.actionHistory; for(var i=history.length-2;i>=0;i--){ var evts=history[i].useSkill; - for(evt of evts){ + for(var evt of evts){ if(evt.skill=='dddfengzheng_global') return true; } if(history[i].isRound) break; @@ -2382,7 +2382,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var history=current.actionHistory; for(var i=history.length-2;i>=0;i--){ var evts=history[i].useSkill; - for(evt of evts){ + for(var evt of evts){ if(evt.skill=='dddfengzheng_global') return true; } if(history[i].isRound) break; @@ -3108,35 +3108,38 @@ game.import('character',function(lib,game,ui,get,ai,_status){ subSkill:{ act:{ trigger:{ - global:'phaseBefore', + global:['phaseBefore','phaseAfter','phaseYouxueed'], }, forced:true, firstDo:true, charlotte:true, - filter:function(event,player){ - var seat=event.player.getSeatNum(),seatP=event.player.getPrevious().getSeatNum(); - return !player.hasSkill('dddyouxue_acted')&&seat>=player.countMark('dddyouxue')&&(seatP>seat||seatPseat&&vseat<=seat2; + return seat2>=vseat; + } + else{ + return event.player==player; + } }, content:function(){ - 'step 0' - var seat=trigger.player.getSeatNum(),seatP=trigger.player.getPrevious().getSeatNum(); - if(trigger.player==player&&trigger.skill!='dddyouxue_act'&&(seat=player.countMark('dddyouxue'))){ + if(event.triggername=='phaseBefore'){ trigger.finish(); trigger.untrigger(true); trigger._triggered=5; - event.finish(); - return; + trigger.trigger('phaseYouxueed'); } - trigger.player.getPrevious().getHistory('custom').push({'dddyouxue':true}); - player.insertPhase(); - player.addTempSkill('dddyouxue_acted','roundStart'); - if(!trigger._finished){ - trigger.finish(); - trigger.untrigger(true); - trigger._triggered=5; - var evt=trigger.player.insertPhase(); - delete evt.skill; + else{ + player.insertPhase('dddyouxue_act'); + player.addTempSkill('dddyouxue_acted','roundStart'); } } }, diff --git a/character/mobile.js b/character/mobile.js index 6716f4003..25af8be07 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -4437,20 +4437,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(button){ var evt=_status.event,player=_status.event.player; - if(!evt.dialog._chooseButton){ - var evt2=_status.event.getParent(); - return evt2.filterCard(get.autoViewAs({name:evt.dialog._cardName},[button.link]),player,evt2); + if(evt.dialog){ + if(!evt.dialog._chooseButton){ + var evt2=_status.event.getParent(); + return evt2.filterCard(get.autoViewAs({name:evt.dialog._cardName},[button.link]),player,evt2); + } + if(ui.selected.buttons.length){ + var str=ui.selected.buttons[0].link; + if(typeof str!='string'||typeof button.link=='string') return false; + var evt2=_status.event.getParent(); + return evt2.filterCard(get.autoViewAs({name:str},[button.link]),player,evt2); + } + return typeof button.link=='string'; } - if(ui.selected.buttons.length){ - var str=ui.selected.buttons[0].link; - if(typeof str!='string'||typeof button.link=='string') return false; - var evt2=_status.event.getParent(); - return evt2.filterCard(get.autoViewAs({name:str},[button.link]),player,evt2); - } - return typeof button.link=='string'; + return false; }, select:function(){ - return (_status.event.dialog._chooseButton||1); + return _status.event.dialog?(_status.event.dialog._chooseButton||1):1; }, backup:function(links,player){ var card,name; @@ -12955,7 +12958,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zhaotongzhaoguang:['dc_zhaotongzhaoguang','zhaotongzhaoguang'], yangbiao:['yangbiao','dc_yangbiao','jsrg_yangbiao'], qiaozhou:['yj_qiaozhou','qiaozhou'], - sunhanhua:['dc_qiaozhou','sunhanhua'], + sunhanhua:['dc_sunhanhua','sunhanhua'], }, translate:{ liuzan:'手杀留赞', diff --git a/character/sp2.js b/character/sp2.js index ef7b66cee..c75cfe33e 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -9670,7 +9670,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:"enterGame", }, forced:true, - filter:function(event){ + filter:function(event,player){ return game.hasPlayer(current=>current!=player)&&(event.name!='phase'||game.phaseNumber==0); }, content:function(){ diff --git a/character/tw.js b/character/tw.js index d7431e1d4..bb1934c0e 100644 --- a/character/tw.js +++ b/character/tw.js @@ -1571,15 +1571,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return dialog; }, filter:function(button){ - var opts=_status.event.dialog._chosenOpt; - if(opts&&opts.length&&opts[0].link=='交出锦囊牌'&&typeof button.link!=typeof opts[0].link){ - return false; + if(_status.event.dialog){ + var opts=_status.event.dialog._chosenOpt; + if(opts&&opts.length&&opts[0].link=='交出锦囊牌'&&typeof button.link!=typeof opts[0].link){ + return false; + } + return true; } - return true; + return false; }, select:function(){ - var opts=_status.event.dialog._chosenOpt; - return opts&&opts.length&&opts[0].link=='交出锦囊牌'?0:1; + if(_status.event.dialog){ + var opts=_status.event.dialog._chosenOpt; + return opts&&opts.length&&opts[0].link=='交出锦囊牌'?0:1; + } + return 0; }, check:function(button){ if(_status.event.getParent().type!='phase') return 1; diff --git a/game/game.js b/game/game.js index 5b147e6e0..12a2362e0 100644 --- a/game/game.js +++ b/game/game.js @@ -13075,55 +13075,19 @@ if(event.dialog&&typeof event.dialog=='object') event.dialog.close(); var dialog=info.chooseButton.dialog(event,player); if(info.chooseButton.chooseControl){ - var choices=info.chooseButton.chooseControl(event,player); - var choicesx=choices.slice(0); - choicesx.remove('cancel2'); - if(choicesx.length==1&&dialog.direct||dialog.forceDirect){ - event._result={ - bool:true, - control:choicesx[0], - index:0, - } - } - else{ - var next=player.chooseControl(choices); - next.dialog=dialog; - next.set('ai',info.chooseButton.check||function(){return 0;}); - if(event.id) next._parent_id=event.id; - next.type='chooseToUse_button'; - } + var next=player.chooseControl(info.chooseButton.chooseControl(event,player)); + next.dialog=dialog; + next.set('ai',info.chooseButton.check||function(){return 0;}); + if(event.id) next._parent_id=event.id; + next.type='chooseToUse_button'; } else{ - var ai=info.chooseButton.check||function(){return 1;}; - var filterButton=info.chooseButton.filter||function(){return true}; - var selectButton=info.chooseButton.select||1; - var chooseable=[]; - var evt=game.createEvent('emptyEvent'); - event.next.remove(evt); - evt.parent=_status.event; - evt.player=player; - var tmpevt=_status.event; - _status.event=evt; - for(var i=0;i8, + mark:function(dialog,storage,player){ + dialog.content.style['overflow-x']='visible'; + var list=player.storage.gzrejinghe_tianshu; + var core=document.createElement('div'); + var centerX=-10,centerY=80,radius=80; + var radian=Math.PI*2/list.length; + for(var i=0;i(_status.yexinjia_list?_status.yexinjia_list.randomGet():0)); } else{ @@ -15530,28 +15532,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ this.node.identity.dataset.color='unknown'; this.node.identity.classList.add('guessing'); } - //南华老仙天书重连显示 - if(_status.gzrejinghe_tianshu){ - ui.gzretianshu=ui.create.system('天书',null,true); - lib.setPopped(ui.gzretianshu,function(){ - var dialog=ui.create.dialog('hidden'); - dialog.content.style['overflow-x']='visible'; - var list=_status.gzrejinghe_tianshu; - var core=document.createElement('div'); - var centerX=-10,centerY=80,radius=80; - var radian=Math.PI*2/list.length; - for(var i=0;i Date: Fri, 4 Aug 2023 11:15:58 +0800 Subject: [PATCH 5/6] more bug fix --- character/ddd.js | 4 ++-- character/rank.js | 30 ++++++++++++++++++++++++++++++ character/sp.js | 2 +- character/xianding.js | 14 ++++++++++---- 4 files changed, 43 insertions(+), 7 deletions(-) diff --git a/character/ddd.js b/character/ddd.js index 7a7412bf1..695d62523 100644 --- a/character/ddd.js +++ b/character/ddd.js @@ -1262,7 +1262,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||evt.player!=player) return false; return player.getHistory('useCard',function(evtx){ return evtx.getParent('phaseUse')==evt; - },event).length==2; + },event).length==3; }, forced:true, charlotte:true, @@ -1862,7 +1862,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardAfter'}, frequent:true, filter:function(event,player){ - return event.card.storage&&event.card.storage._3dfusi_owner==player&&!player.hasCard(function(card){ + return event.card.storage&&event.card.storage._dddfusi_owner==player&&!player.hasCard(function(card){ return !card.hasGaintag('dddxujing_tag'); },'h'); }, diff --git a/character/rank.js b/character/rank.js index 41406a6ed..419ff5718 100644 --- a/character/rank.js +++ b/character/rank.js @@ -1657,6 +1657,12 @@ window.noname_character_rank={ 'tw_niufudongxie', 'tw_shen_lvmeng', 'zhangjinyun', + 'sunwukong', + 'libai', + 'old_lingju', + 'wu_zhugeliang', + 'yue_caiwenji', + 'clan_zhongyan', 'key_tomoya', 'key_masato', 'key_shiorimiyuki', @@ -1882,6 +1888,20 @@ window.noname_character_rank={ 'dc_ruiji', 'xia_zhaoe', 'duanqiaoxiao', + 'longwang', + 'taoshen', + 'xiaoyuehankehan', + 'zhutiexiong', + 'sunyang', + 'yeshiwen', + 'ganfurenmifuren', + 'ruanji', + 'zhangxuan', + 'zhangchu', + 'dc_sunhanhua', + 'dc_wangjun', + 'zhanghua', + 'lushi', 'key_kano', 'key_haruko', 'key_akiko', @@ -2357,6 +2377,15 @@ window.noname_character_rank={ 'ol_yanwen', 'yanghong', 're_zhuzhi', + 'dongguiren', + 'xielingyu', + 'liupi', + 'xianglang', + 'furongfuqian', + 'zhenghun', + 'clan_wangling', + 'clan_wangyun', + 'quhuang', ], junk:[ 'sunshao', @@ -2401,6 +2430,7 @@ window.noname_character_rank={ 'junk_duanwei', 'zerong', 'std_panfeng', + 're_caochong', ], } }; diff --git a/character/sp.js b/character/sp.js index 76578d943..293f4630c 100755 --- a/character/sp.js +++ b/character/sp.js @@ -2205,7 +2205,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageBegin1'}, charlotte:true, forced:true, - onremove:true, + onremove:['olkangrui_add','olkangrui_nil'], filter:function(event,player){ return player.hasMark('olkangrui_add'); }, diff --git a/character/xianding.js b/character/xianding.js index 101641ebe..9d9a2bfcf 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -1383,7 +1383,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.goto(3); 'step 2' if(get.position(card)=='h'&&get.owner(card)==player&&player.hasUseTarget(card)){ - player.chooseUseTarget(card,true); + if(get.name(card,player)=='sha') player.chooseUseTarget(card,true,false); + else player.chooseUseTarget(card,true); } 'step 3' if(player.hasHistory('useCard',evt=>{ @@ -3455,9 +3456,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ group:'dcfengying_record', locked:false, filter:function(event,player){ - return player.storage.dcfengying&&player.storage.dcfengying.length&&player.storage.dcfengying.filter(name=>{ - return event.filterCard({name:name},player,event); - }).length&&!player.hasSkill('dcfengying_used'); + var mark=player.countMark('dclingfang'); + if(mark<=0||!player.hasCard(card=>get.number(card)<=mark,'hs')) return false; + var storage=player.getStorage('dcfengying'); + if(!storage.length) return false; + var storage2=player.getStorage('dcfengying_used') + return storage.some(name=>{ + return !storage2.contains(name)&&event.filterCard({name:name},player,event); + }); }, hiddenCard:function(player,name){ var list=player.getStorage('dcfengying'); From 6295e29f2998f359ff18534822180c1cb8b98da1 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Fri, 4 Aug 2023 11:19:16 +0800 Subject: [PATCH 6/6] v1.9.124.0.1 --- game/update.js | 54 +++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/game/update.js b/game/update.js index b5087df60..727bd3d11 100644 --- a/game/update.js +++ b/game/update.js @@ -1,13 +1,9 @@ window.noname_update={ - version:'1.9.124', - update:'1.9.123', + version:'1.9.124.0.1', + update:'1.9.124', changeLog:[ - '整合@copcap @lieren2023 @mengxinzxz @shijian的Pull Request', - '与三国杀diy吧合作推出《3D精选》武将包', - 'OL族王允、族钟琰、郝普、孟达', - '十周年陈泰、孙寒华、王濬、桓范、牵招、界曹冲、张楚', - '移动版十常侍、谋孟获、谋祝融', - '其他技能调整和bug修复', + '整合@mengxinzxz @shijian的Pull Request', + 'bug修复', ], files:[ //'LICENSE', @@ -18,43 +14,43 @@ window.noname_update={ //'card/huanlekapai.js', //'card/mtg.js', //'card/sp.js', - 'card/standard.js', + //'card/standard.js', //'card/swd.js', //'card/yunchou.js', - 'card/yingbian.js', - 'card/yongjian.js', + //'card/yingbian.js', + //'card/yongjian.js', //'card/zhenfa.js', //'card/zhulu.js', 'character/clan.js', - 'character/collab.js', + //'character/collab.js', 'character/ddd.js', - 'character/diy.js', - 'character/extra.js', + //'character/diy.js', + //'character/extra.js', //'character/hearth.js', - 'character/huicui.js', + //'character/huicui.js', //'character/gujian.js', //'character/gwent.js', //'character/hearth.js', 'character/mobile.js', //'character/mtg.js', - 'character/offline.js', + //'character/offline.js', //'character/old.js', //'character/ow.js', 'character/rank.js', - 'character/refresh.js', - 'character/sb.js', - 'character/shenhua.js', - 'character/shiji.js', + //'character/refresh.js', + //'character/sb.js', + //'character/shenhua.js', + //'character/shiji.js', 'character/sp.js', 'character/sp2.js', - 'character/standard.js', + //'character/standard.js', 'character/tw.js', //'character/swd.js', 'character/xianding.js', //'character/xianjian.js', - 'character/xinghuoliaoyuan.js', - 'character/yijiang.js', - 'character/yingbian.js', + //'character/xinghuoliaoyuan.js', + //'character/yijiang.js', + //'character/yingbian.js', //'character/yxs.js', //'extension/boss/extension.js', //'font/suits.ttf', @@ -65,13 +61,13 @@ window.noname_update={ //'layout/mobile/layout.css', //'layout/newlayout/global.css', //'layout/nova/layout.css', - 'mode/boss.js', + //'mode/boss.js', //'mode/brawl.js', //'mode/chess.js', //'mode/connect.js', - 'mode/doudizhu.js', + //'mode/doudizhu.js', 'mode/guozhan.js', - 'mode/identity.js', + //'mode/identity.js', //'mode/single.js', //'mode/stone.js', //'mode/tafang.js', @@ -80,10 +76,10 @@ window.noname_update={ //'game/keyWords.js', //'game/NoSleep.js', //'game/config.js', - 'game/package.js', + //'game/package.js', //'game/pinyinjs.js', //'game/asset.js', - 'game/source.js', + //'game/source.js', //'theme/style/hp/custom.css', //'theme/style/hp/emotion.css', //'theme/style/hp/glass.css',