diff --git a/card/gujian.js b/card/gujian.js index 913b9959e..1b5f60a86 100644 --- a/card/gujian.js +++ b/card/gujian.js @@ -1514,7 +1514,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ target.discard(target.getCards('he').randomGet()); target.addExpose(0.2); } - player.storage.mapodoufu_markcount--; if(player.storage.mapodoufu_markcount==0){ delete player.storage.mapodoufu; diff --git a/card/gwent.js b/card/gwent.js index 612723b0a..560b18cb5 100644 --- a/card/gwent.js +++ b/card/gwent.js @@ -643,7 +643,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:0.5, } }, - gw_ganhan:{ fullborder:'gold', type:'spell', @@ -892,7 +891,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:0.2, } }, - gw_youer:{ fullborder:'silver', type:'spell', @@ -1268,7 +1266,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:7, } }, - gw_nuhaifengbao:{ fullborder:'silver', type:'spell', @@ -1378,7 +1375,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:1, } }, - gw_qinpendayu:{ fullborder:'bronze', type:'spell', diff --git a/card/huanlekapai.js b/card/huanlekapai.js index 92878fa45..5ace59494 100644 --- a/card/huanlekapai.js +++ b/card/huanlekapai.js @@ -246,7 +246,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ game.log(player,'获得了','#g【'+get.translation(result.control)+'】'); }, }, - "jiuwei":{ trigger:{ player:"phaseEnd", diff --git a/card/standard.js b/card/standard.js index d4db9e422..ae1b3c8cc 100644 --- a/card/standard.js +++ b/card/standard.js @@ -801,7 +801,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } if(!card) card=event.dialog.buttons[0].link; } - var button; for(var i=0;i0?'生':'失')+'效。'); } prompt+='是否使用【无懈可击】?'; - if(player.isUnderControl(true)&&!_status.auto&&!ui.tempnowuxie&&map.tempnowuxie){ var translation=get.translation(map.card.name); if(translation.length>=4){ @@ -3263,7 +3261,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } } }; - var withme=false; var withol=false; var list=event.list; diff --git a/card/swd.js b/card/swd.js index 03e74ce6f..9af2f7339 100644 --- a/card/swd.js +++ b/card/swd.js @@ -3481,7 +3481,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ game.delay(); } }, - nvwashi:{ trigger:{global:'dying'}, priority:6, diff --git a/card/yunchou.js b/card/yunchou.js index 8c5c5b0b2..9b1f55e32 100644 --- a/card/yunchou.js +++ b/card/yunchou.js @@ -85,7 +85,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(result.bool){ target.lose(result.cards,ui.special); target.$throw(result.cards); - game.log(target,'用',result.cards,'替换了',event.button.link); target.gain(event.button.link); target.$gain2(event.button.link); diff --git a/card/zhenfa.js b/card/zhenfa.js index 5443a26be..ec6eadc28 100644 --- a/card/zhenfa.js +++ b/card/zhenfa.js @@ -348,7 +348,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, }, skill:{ - }, translate:{ zhenfa:'阵法', diff --git a/card/zhulu.js b/card/zhulu.js index 2bc7f8126..9aa9a9231 100644 --- a/card/zhulu.js +++ b/card/zhulu.js @@ -109,7 +109,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ else{ card=result.links[0]; } - var button; for(var i=0;i { pipe.x -= dx * deltaTime; }); - if (this.pipes.length && this.pipes[0].x < -this.top.sprite.width) { this.pipes.shift(); this.moved = true; @@ -8215,7 +8213,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ updateText(`${title||'御风飞行'}表演失败……`) setTimeout(switchToAuto,2000); } - break; case state.gameOver: this.frame = 1; @@ -8232,7 +8229,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ SFX.played = true; } } - break; } const animationsLength = this.animations.length; diff --git a/character/ow.js b/character/ow.js index 37ed75d9f..19d95445a 100644 --- a/character/ow.js +++ b/character/ow.js @@ -311,7 +311,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.addTempSkill('feitiao2'); target.randomDiscard(); } - } }, feitiao2:{ diff --git a/character/refresh.js b/character/refresh.js index 317939633..0d90ff1c8 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -1589,7 +1589,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.targets.length>1) return false; if(!event.target) return false; if(event.target.hp>player.hp) return false; - var card=event.card; if(card.name=='sha') return true; if(get.color(card)=='black'&&get.type(card,'trick')=='trick') return true; @@ -11535,7 +11534,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, }, - "new_yajiao":{ audio:"reyajiao", trigger:{ @@ -12246,7 +12244,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, - reguanxing:{ audio:'guanxing', audioname:['jiangwei','re_jiangwei','re_zhugeliang','gexuan','ol_jiangwei'], @@ -14052,7 +14049,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 3" player.line(result.targets,'green'); result.targets[0].gain(event.card,'gain2'); - }, ai:{ order:9, diff --git a/character/shenhua.js b/character/shenhua.js index 26ae4ab33..7ad46db23 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -1437,8 +1437,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, charlotte:true, }, - - "drlt_congjian":{ audio:2, audioname2:{tongyuan:'ocongjian_tongyuan'}, @@ -1692,7 +1690,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(cards.length) player.gain(cards,'gain2'); }, }, - nzry_juzhan:{ audio:"nzry_juzhan_1", mark:true, @@ -2662,7 +2659,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ delete player.storage.nzry_shenshi2; }, }, - xinjushou:{ audio:2, trigger:{player:'phaseJieshuBegin'}, diff --git a/character/shiji.js b/character/shiji.js index eab36ecea..c3417ddac 100644 --- a/character/shiji.js +++ b/character/shiji.js @@ -53,7 +53,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sp_chenzhen:['male','shu',3,['shameng']], sp_sunshao:['male','wu',3,['mjdingyi','mjzuici','mjfubi']], sp_xunchen:['male','qun',3,['mjweipo','mjchenshi','mjmouzhi'],['clan:颍川荀氏']], - }, skill:{ //刘巴 @@ -6299,7 +6298,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ wujing:'吴景,本吴郡吴县(今江苏苏州)人,后迁居吴郡钱塘(今浙江杭州),孙坚妻子吴夫人(武烈皇后)之弟,孙策和孙权的舅舅,东汉末年将领。吴景因追随孙坚征伐有功,被任命为骑都尉。袁术上表举荐吴景兼任丹杨太守,讨伐前任太守周昕,占据丹杨。后遭扬州刺史刘繇逼迫,再度依附袁术,袁术任用他为督军中郎将,与孙贲共同进击樊能等人。又在秣陵攻打笮融、薛礼。袁术与刘备争夺徐州时,任吴景为广陵太守。建安二年(197年),吴景放弃广陵东归孙策,孙策任他为丹杨太守。朝廷使者吴景为扬武将军,郡守之职照旧。建安八年(203年),吴景死于任上。', feiyi:'费祎(?~253年2月),字文伟,江夏鄳县(今河南省罗山县)人,三国时期蜀汉名臣,与诸葛亮、蒋琬、董允并称为蜀汉四相。深得诸葛亮器重,屡次出使东吴,孙权、诸葛恪、羊茞等人以辞锋刁难,而费祎据理以答,辞义兼备,始终不为所屈。孙权非常惊异于他的才能,加以礼遇。北伐时为中护军,又转为司马。当时魏延与杨仪不和,经常争论,费祎常为二人谏喻,两相匡护,以尽其用。诸葛亮死后,初为后军师,再为尚书令,官至大将军,封成乡侯。费祎主政时,与姜维北伐的主张相左,执行休养生息的政策,为蜀汉的发展尽心竭力。费祎性格谦恭真诚,颇为廉洁,家无余财。后为魏降将郭循(一作郭脩)行刺身死。葬于今广元市昭化古城城西。', luotong:'骆统(193年-228年),字公绪。会稽郡乌伤县(今浙江义乌)人。东汉末年至三国时期吴国将领、学者,陈国相骆俊之子。骆统二十岁时已任乌程国相,任内有政绩,使得国中民户过万。又迁为功曹,行骑都尉。曾劝孙权尊贤纳士,省役息民。后出任为建忠中郎将。将军凌统逝世后,统领其部曲。因战功迁偏将军,封新阳亭侯,任濡须督。黄武七年(228年),骆统去世,年仅三十六岁。有集十卷,今已佚。', - }, characterTitle:{ }, @@ -6863,7 +6861,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ tongduo:'统度', tongduo_info:'每回合限一次。当你成为其他角色使用牌的唯一目标后,你可令一名角色重铸一张牌。', - mobile_shijiren:'始计篇·仁', mobile_shijizhi:'始计篇·智', mobile_shijixin:'始计篇·信', diff --git a/character/sp.js b/character/sp.js index 2898ad90e..013aca24f 100755 --- a/character/sp.js +++ b/character/sp.js @@ -1478,7 +1478,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return [ (player.countCards('h')?'弃置至少一半的手牌,然后':'')+'摸三张牌', '摸三张牌,然后弃置至少一半的手牌', - ][player.countCards('h')%2]; }, check:function(card){ @@ -5414,7 +5413,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseUseTarget(card,true).set('logSkill','oljianman').set('prompt','鹣蛮:选择'+get.translation(card)+'的目标'); } } - }, //张华 olbihun:{ @@ -16461,7 +16459,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(maxval<=6) return dh; return 0; - }).set('maxval',maxval); 'step 1' if(result.bool){ @@ -25041,7 +25038,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:"limited", }, }, - "xinfu_falu":{ subSkill:{ spade:{ @@ -25666,7 +25662,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ liqueguosi:'李傕郭汜', cuimao:'崔琰毛玠', - caoying:"曹婴", simahui:"司马徽", baosanniang:"鲍三娘", diff --git a/character/swd.js b/character/swd.js index be9400be0..959662988 100644 --- a/character/swd.js +++ b/character/swd.js @@ -87,7 +87,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ // swd_yangshuo:['male','qun',4,['longdan','luomu']], // swd_zhanglie:['male','qun',4,['huajin','poxiao']], - swd_hanluo:['male','qun',5,['tiebi']], swd_fu:['male','qun',5,['yudun']], swd_linyue:['male','wei',3,['zhenjiu','lmazui']], @@ -1082,7 +1081,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result&&result.cards){ event.card=result.cards[0]; player.lose(result.cards,ui.special); - var cardx=ui.create.card(); cardx.classList.add('infohidden'); cardx.classList.add('infoflip'); @@ -3419,7 +3417,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.sex!='male') return false; var name=target.name.indexOf('unknown')==0?target.name2:target.name; if(name==player.storage.huanxing) return false; - var info=lib.character[name]; if(info){ var skills=info[3]; @@ -4317,7 +4314,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.attitude(target,player)>0) return 0; return 9-get.value(card); } - "step 1" if(result.bool){ target.addTempSkill('duishi3'); @@ -5260,7 +5256,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.player.update(); player.addTempSkill('susheng2'); } - }, ai:{ threaten:2 @@ -5407,14 +5402,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var handcards1,handcards2,judges,equips,viewAs,i,j; player.storage.kunlunjing=[]; player.storage.kunlunjing2=player.hp; - for(i=0;i
'+effects[i]+'
'); item.addEventListener('click',clickItem); item.link=i+1; - } event.control=ui.create.control('取消',function(){ event.choice=0; @@ -9225,7 +9215,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ player.unmarkSkill('mailun'); } - if(event.dialog){ event.dialog.close(); } @@ -10120,7 +10109,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ shehun:'摄魂', shehun_info:'出牌阶段限一次,你可以弃置任意张花色不同的牌,另一名其他角色弃置等量的牌,若其弃置的牌中有牌的花色与你弃置的牌相同,你对其造成1点伤害。', - zhanlu:'沾露', luomu:'落木', jifeng:'魔影', diff --git a/character/tw.js b/character/tw.js index f1c7b4dd9..dc2404dcd 100644 --- a/character/tw.js +++ b/character/tw.js @@ -3783,7 +3783,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.addTempSkill('twqirang_use'); player.addTempSkill('twqirang_clear',['phaseZhunbeiAfter','phaseDrawAfter','phaseUseAfter','phaseDiscardAfter','phaseJieshuAfter','phaseAfter']); } - }, ai:{ effect:{ @@ -8554,7 +8553,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.stat[player.stat.length-1].card.sha--; } } - } } } @@ -9093,7 +9091,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ evt.skipped=true; } } - } } }, diff --git a/character/xianding.js b/character/xianding.js index 8f0512f4d..d792a1281 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -2005,7 +2005,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return 0; } - for(var i=0;i=num1) return 0; return 2*(num2-num1); } @@ -3391,7 +3390,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.removeAdditionalSkill('xshuangren'); } } - }, ai:{ effect:{ diff --git a/character/yxs.js b/character/yxs.js index 4609f5be1..96719ef67 100644 --- a/character/yxs.js +++ b/character/yxs.js @@ -1268,7 +1268,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ player.awakenSkill('heqin'); - player.addSkill('heqin2'); target.addSkill('heqin2'); @@ -1555,7 +1554,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.sex!='male') return false; var name=target.name.indexOf('unknown')==0?target.name2:target.name; if(name==player.storage.yizhuang) return false; - var info=lib.character[name]; if(info){ var skills=info[3]; @@ -3098,7 +3096,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sheshi:'蛇噬', sheshi_info:'每受到1次伤害,可以指定1种花色,依次展示牌堆顶的牌,直到出现指定花色的牌为止,你获得与指定花色不同花色的所有牌(最多展示四张牌)。', - fengyi:'凤仪', fengyi_info:'出牌阶段,你可以弃一张手牌,指定任意目标摸两张牌。(每回合限用一次)', wange:'婉歌',