diff --git a/card/yingbian.js b/card/yingbian.js index 6249f4ae4..7558d2260 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -277,18 +277,24 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, trigger:{ player:['useCard1','respond'], + global:'phaseBeginStart', }, silent:true, firstDo:true, filter:function(event,player,name){ - //if(name=='phaseBeginStart') return true; + if(name=='phaseBeginStart') return true; var type=get.type(event.card); return type=='basic'||type=='trick'; }, content:function(){ - //if(event.triggername=='phaseBeginStart') delete player.storage.suijiyingbian; - player.storage.suijiyingbian=trigger.card.name; - player.storage.suijiyingbian_nature=trigger.card.nature; + if(event.triggername=='phaseBeginStart'){ + delete player.storage.suijiyingbian; + delete player.storage.suijiyingbian_nature; + } + else{ + player.storage.suijiyingbian=trigger.card.name; + player.storage.suijiyingbian_nature=trigger.card.nature; + } }, }, wuxinghelingshan_skill:{ @@ -390,10 +396,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ direct:true, content:function(){ 'step 0' - player.chooseTarget(true,function(card,player,target){ + player.chooseTarget(function(card,player,target){ return !target.isLinked(); },'是否发动【太公阴符】横置一名角色?').set('',function(target){ - return get.effect(target,{name:'tiesuo'},_status.event.player); + return get.effect(target,{name:'tiesuo'},_status.event.player,_status.event.player); }); 'step 1' if(result.bool){ @@ -653,7 +659,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, translate:{ suijiyingbian:'随机应变', - suijiyingbian_info:'此牌的牌名视为你本局游戏内使用或打出的上一张基本牌或普通锦囊牌的牌名。', + suijiyingbian_info:'此牌的牌名视为你本回合内使用或打出的上一张基本牌或普通锦囊牌的牌名。', zhujinqiyuan:'逐近弃远', zhujinqiyuan_info:'出牌阶段,对一名有牌的其他角色使用。若你与其距离的大于1,你弃置其区域内的一张牌;若你与其的距离等于1,你获得其区域内的一张牌。', dongzhuxianji:'洞烛先机', @@ -763,7 +769,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ['heart',12,'tao'], ['heart',12,'shan'], ['heart',12,'guohe'], - ['heart',1,'shandian'], + ['heart',12,'shandian'], ['heart',13,'wuxie',null,['yingbian_kongchao']], ['heart',13,'shan'], ['heart',13,'zhuahuang'], @@ -774,7 +780,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ['club',2,'sha',null,['yingbian_kongchao']], ['club',2,'heiguangkai'], ['club',2,'tengjia'], - ['club',1,'renwang'], + ['club',2,'renwang'], ['club',3,'sha',null,['yingbian_kongchao']], ['club',3,'jiu'], ['club',3,'zhujinqiyuan',null,['yingbian_zhuzhan']], @@ -792,7 +798,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ['club',7,'nanman'], ['club',8,'sha'], ['club',8,'sha','thunder'], - ['club',8,'jiu'], + ['club',8,'sha'], ['club',9,'sha','thunder'], ['club',9,'sha','thunder'], ['club',9,'jiu'], diff --git a/character/mobile.js b/character/mobile.js index f2f9a3336..b6dba433b 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -6445,7 +6445,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ xinqiaoshui_info:'出牌阶段限一次,你可以和一名其他角色拼点。若你赢,则你本阶段内使用的下一张基本牌或普通锦囊牌可以增加减少一个目标。若你没赢,你本阶段内不能使用锦囊牌。', xinjyzongshi:'纵适', xinjyzongshi_info:'当你拼点后,你可以观看牌堆顶的一张牌,然后选择一项:获得此牌,或获得两张拼点牌中点数较小的一张。', - dingyuan:'丁原', + dingyuan:'手杀丁原', beizhu:'备诛', beizhu_draw:'备诛', beizhu_info:'出牌阶段限一次,你可以观看一名其他角色的手牌。若其中:没有【杀】,你弃置其一张牌,然后你可令其获得牌堆中的一张【杀】;有【杀】,其依次对你使用这些【杀】,当你因此受到1点伤害后,你摸一张牌。', diff --git a/character/rank.js b/character/rank.js index 936a96e52..cabd5d222 100644 --- a/character/rank.js +++ b/character/rank.js @@ -1233,6 +1233,7 @@ window.noname_character_rank={ 'mini_zhugeliang', 'jin_simayi', 'jin_zhangchunhua', + 'liuhong', 'key_haruko', 'key_akiko', 'key_sunohara', @@ -1507,6 +1508,8 @@ window.noname_character_rank={ 'xin_lingtong', 'xin_liubiao', 're_xinxianying', + 'ol_dingyuan', + 'wangrong', ], junk:[ 'sunshao', diff --git a/character/refresh.js b/character/refresh.js index da06e3f49..e30db7200 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -8293,6 +8293,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ decadezishou_info:'摸牌阶段,你可以多摸X张牌,然后本回合你对其他角色造成伤害时,防止此伤害。结束阶段,若你本回合没有使用牌指定其他角色为目标,你可以弃置任意张花色不同的手牌,然后摸等量的牌。', decadezongshi:'宗室', decadezongshi_info:'锁定技,你的手牌上限+X(X为现存势力数)。你的回合外,若你的手牌数大于等于手牌上限,则当你成为延时类锦囊牌或无颜色的牌的目标后,你令此牌对你无效。', + re_caozhen:'界曹真', + residi:'司敌', + residi_info:'结束阶段,你可以摸一张牌,并将一张牌置于你的武将牌上,称为“司”。其他角色的出牌阶段开始时,你可以移去任意张“司”。若如此做,其本阶段内不能使用或打出与这些“司”颜色相同的牌,且此阶段结束时,若X:不大于2,你视为对其使用【杀】;不大于1,你摸两张牌;不大于0,你将牌堆顶的一张牌置于你的武将牌上,称为“司”。(X为该角色本阶段内使用过牌的类型数)', refresh_standard:'界限突破·标', refresh_feng:'界限突破·风', diff --git a/character/sp.js b/character/sp.js index f51500216..8f5d90cdf 100755 --- a/character/sp.js +++ b/character/sp.js @@ -143,7 +143,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ wangyun:['male','qun',4,['xinlianji','xinmoucheng']], sunqian:['male','shu',3,['qianya','shuimeng']], xizhicai:['male','wei',3,['tiandu','xianfu','chouce']], - quyi:['male','qun',4,['fuqi','jiaozi']], luzhi:['male','wei',3,['qingzhongx','weijing']], @@ -14864,7 +14863,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ wangyun:'王允', sunqian:'孙乾', xizhicai:'戏志才', - quyi:'麴义', liuye:'刘晔', beimihu:'卑弥呼', luzhi:'鲁芝', diff --git a/character/sp2.js b/character/sp2.js index 420940f85..6f393bdb2 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -6,16 +6,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ character:{ jin_zhangchunhua:['female','jin',3,['huishi','qingleng','xuanmu'],['hiddenSkill']], jin_simayi:['male','jin',3,['buchen','smyyingshi','xiongzhi','quanbian'],['hiddenSkill']], + quyi:['male','qun',4,['fuqi','jiaozi']], dongxie:['female','qun','3/4',['juntun','jiaojie']], re_xinxianying:['female','wei',3,['rezhongjian','recaishi']], - wangrong:['female','qun',3,['sicong','xianzhao'],['unseen']], - ol_dingyuan:['male','qun',4,['weihuan','shouchong'],['unseen']], - liubian:['male','qun',3,['shiyuan','dushi']], + wangrong:['female','qun',3,['minsi','jijing','zhuide']], + ol_dingyuan:['male','qun',4,['cixiao','xianshuai']], + liubian:['male','qun',3,['shiyuan','dushi','yuwei'],['zhu']], xin_baosanniang:['female','shu',3,['decadewuniang','decadexushen']], re_hejin:['male','qun',4,['spmouzhu']], - hansui:['male','qun',4,['spniluan','spweiwu']], - liuhong:['male','qun',4,['yujue','tuxing'],['unseen']], - zhujun:['male','qun',4,['gongjian','kuimang'],['unseen']], + re_hansui:['male','qun',4,['spniluan','spweiwu']], + liuhong:['male','qun',4,['yujue','tuxing']], + zhujun:['male','qun',4,['gongjian','kuimang']], caoxing:['male','qun',4,['cxliushi','zhanwan']], re_maliang:['male','shu',3,['rexiemu','heli'],[]], ol_yujin:['male','wei',4,['rezhenjun']], @@ -83,8 +84,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sp_shengun:["puyuan","guanlu","gexuan","xushao"], sp_baigei:['re_panfeng','xingdaorong','caoxing'], sp_guandu:["sp_zhanghe","xunchen","sp_shenpei","gaolan","lvkuanglvxiang","chunyuqiong","sp_xuyou"], - sp_huangjin:['liuhong','zhujun','re_hejin','hansui'], - sp_decade:['wulan','leitong','huaman','wangshuang','wenyang','re_liuzan','re_sunluyu','caobuxing','ol_yujin','re_maliang','xin_baosanniang','liubian','re_xinxianying','dongxie'], + sp_huangjin:['liuhong','zhujun','re_hejin','re_hansui','liubian'], + sp_fadong:['ol_dingyuan','wangrong','quyi'], + sp_decade:['wulan','leitong','huaman','wangshuang','wenyang','re_liuzan','re_sunluyu','caobuxing','ol_yujin','re_maliang','xin_baosanniang','re_xinxianying','dongxie'], sp_mini:["mini_sunquan","mini_zuoci","mini_jiangwei","mini_diaochan","mini_zhangchunhua"], sp_luanwu:["ns_lijue","ns_zhangji","ns_fanchou"], sp_yongjian:["ns_chendao","yj_caoang"], @@ -92,6 +94,38 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, skill:{ + zhuide:{ + audio:2, + trigger:{player:'die'}, + forceDie:true, + skillAnimation:true, + animationColor:'thunder', + direct:true, + content:function(){ + 'step 0' + player.chooseTarget(get.prompt2('zhuide'),lib.filter.notMe).set('ai',function(target){ + return get.attitude(_status.event.player,target); + }); + 'step 1' + if(result.bool){ + var target=result.targets[0]; + player.logSkill('zhuide',target); + var names=[]; + var cards=[]; + while(cards.length<4){ + var card=get.cardPile2(function(card){ + return !cards.contains(card)&&!names.contains(card.name)&&get.type(card)=='basic'; + }); + if(card){ + cards.push(card); + names.push(card.name); + } + else break; + } + if(cards.length) target.gain(cards,'gain2'); + } + }, + }, buchen:{ audio:2, trigger:{player:'showCharacterAfter'}, @@ -146,8 +180,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=get.cards()[0]; event.card=card; player.showCards(card); + if(!player.hasUseTarget(card)) event.finish(); 'step 2' - player.chooseUseTarget(card,true); + var next=player.chooseUseTarget(card,true); + if(get.info(card).updateUsable=='phaseUse') next.addCount=false; 'step 3' if(result.bool) event.goto(1); else{ @@ -1081,7 +1117,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.target.discard(trigger.target.getCards('h',{color:result.control})); }, }, - sicong:{ + minsi:{ audio:2, enable:'phaseUse', getResult:function(cards){ @@ -1127,8 +1163,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(card){ var evt=_status.event; - if(!evt.sicong_choice) evt.sicong_choice=lib.skill.sicong.getResult(evt.player.getCards('he')); - if(!evt.sicong_choice.contains(card)) return 0; + if(!evt.minsi_choice) evt.minsi_choice=lib.skill.minsi.getResult(evt.player.getCards('he')); + if(!evt.minsi_choice.contains(card)) return 0; return 1; }, position:'he', @@ -1137,8 +1173,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.draw(cards.length*2); 'step 1' if(get.itemtype(result)=='cards'){ - player.addTempSkill('sicong2'); - player.markAuto('sicong2',result); + player.addTempSkill('minsi2'); + player.markAuto('minsi2',result); } }, ai:{ @@ -1146,7 +1182,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{player:1}, }, }, - sicong2:{ + minsi2:{ intro:{ mark:function(dialog,content,player){ if(content&&content.length){ @@ -1164,36 +1200,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ targetInRange:function(card,player,target){ if(!card.cards) return; - var storage=player.getStorage('sicong2'); + var storage=player.getStorage('minsi2'); for(var i of card.cards){ if(!storage.contains(i)||get.color(i)!='black') return; } return true; }, - cardUsable:function(card,player,target){ - if(!card.cards) return; - var storage=player.getStorage('sicong2'); - for(var i of card.cards){ - if(!storage.contains(i)||get.color(i)!='black') return; - } - return Infinity; - }, ignoredHandcard:function(card,player){ - if(player.getStorage('sicong2').contains(card)&&get.color(card)=='red'){ + if(player.getStorage('minsi2').contains(card)&&get.color(card)=='red'){ return true; } }, cardDiscardable:function(card,player,name){ - if(name=='phaseDiscard'&&player.getStorage('sicong2').contains(card)&&get.color(card)=='red'){ + if(name=='phaseDiscard'&&player.getStorage('minsi2').contains(card)&&get.color(card)=='red'){ return false; } }, aiOrder:function(player,card,num){ - if(player.getStorage('sicong2').contains(card)&&get.color(card)=='black') return num-0.1; + if(player.getStorage('minsi2').contains(card)&&get.color(card)=='black') return num-0.1; }, }, }, - xianzhao:{ + jijing:{ audio:2, trigger:{player:'damageEnd'}, frequent:true, @@ -1251,14 +1279,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool) player.recover(); }, }, - weihuan:{ + cixiao:{ trigger:{player:'phaseZhunbeiBegin'}, direct:true, filter:function(event,player){ if(!game.hasPlayer(function(current){ return current.hasSkill('panshi'); })) return true; - return player.countCards('he')>1&&game.hasPlayer(function(current){ + return player.countCards('he')>=1&&game.hasPlayer(function(current){ return current!=player&&!current.hasSkill('panshi'); }); }, @@ -1267,31 +1295,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(game.hasPlayer(function(current){ return current.hasSkill('panshi'); })) event.goto(2); - else player.chooseTarget(lib.filter.notMe,get.prompt('weihuan'),'令一名其他角色获得「虎」标记'); + else player.chooseTarget(lib.filter.notMe,get.prompt('cixiao'),'令一名其他角色获得「义子」标记').set('ai',function(target){ + var player=_status.event.player; + var att=-get.attitude(player,target); + return att*target.countCards('h'); + }); 'step 1' if(result.bool){ var target=result.targets[0]; - player.logSkill('weihuan',target); + player.logSkill('cixiao',target); target.addSkill('panshi'); } event.finish(); 'step 2' player.chooseCardTarget({ - prompt:get.prompt('weihuan'), - prompt2:('弃置两张牌并将'+get.translation(game.filterPlayer(function(current){ + prompt:get.prompt('cixiao'), + prompt2:('弃置一张牌并将'+get.translation(game.filterPlayer(function(current){ return current.hasSkill('panshi'); - }))+'的「虎」标记转移给其他角色'), + }))+'的「义子」标记转移给其他角色'), position:'he', filterTarget:function(card,player,target){ return player!=target&&!target.hasSkill('panshi'); }, filterCard:lib.filter.cardDiscardable, - selectCard:2, }); 'step 3' if(result.bool){ var target=result.targets[0]; - player.logSkill('weihuan'); + player.logSkill('cixiao'); player.discard(result.cards).delay=false; player.line2(game.filterPlayer(function(current){ if(current.hasSkill('panshi')){ @@ -1306,22 +1337,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.delayx(); }, derivation:'panshi', + ai:{threaten:8}, }, panshi:{ mark:true, - marktext:'虎', - intro:{content:'吾乃吕奉先是也'}, + marktext:'子', + intro:{content:'我是儿子'}, trigger:{player:'phaseZhunbeiBegin'}, forced:true, filter:function(event,player){ return player.countCards('h')>0&&game.hasPlayer(function(current){ - return current!=player&¤t.hasSkill('weihuan'); + return current!=player&¤t.hasSkill('cixiao'); }); }, content:function(){ 'step 0' var targets=game.filterPlayer(function(current){ - return current!=player&¤t.hasSkill('weihuan'); + return current!=player&¤t.hasSkill('cixiao'); }); if(targets.length==1){ event.target=targets[0]; @@ -1351,20 +1383,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, logTarget:'player', filter:function(event,player){ - return event.card&&event.card.name=='sha'&&event.player.hasSkill('weihuan'); + return player.isPhaseUsing()&&event.card&&event.card.name=='sha'&&event.player.hasSkill('cixiao'); }, content:function(){ trigger.num++; + var evt=event.getParent('phaseUse'); + if(evt&&evt.player==player) evt.skipped=true; }, }, - shouchong:{ + xianshuai:{ trigger:{global:'damageEnd'}, forced:true, filter:function(event,player){ - return event.source&&event.source.isAlive()&&!player.hasSkill('shouchong2'); + return event.source&&event.source.isAlive()&&!player.hasSkill('xianshuai2'); }, content:function(){ - player.addTempSkill('shouchong2','roundStart'); + player.addTempSkill('xianshuai2','roundStart'); if(trigger.source!=player) player.draw(); else if(trigger.player.isAlive()){ player.line(trigger.player,'green'); @@ -1372,14 +1406,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, }, - shouchong2:{}, + xianshuai2:{}, shiyuan:{ trigger:{target:'useCardToTargeted'}, frequent:true, filter:function(event,player){ - return player!=event.player&&!player.getHistory('gain',function(evt){ + var num=1; + if(_status.currentPhase&&_status.currentPhase.group=='qun'&&player.hasZhuSkill('yuwei',_status.currentPhase)) num=2; + return player!=event.player&&player.getHistory('gain',function(evt){ return evt.getParent(2).name=='shiyuan'&&evt.cards.length==(2+get.sgn(event.player.hp-player.hp)); - }).length; + }).length0&&!game.hasPlayer(function(current){ + return current!=player&¤t!=target&¤t.countCards('h')>hs; + })&&get.attitude(player,target)>0; + })) return 1; + return 0; + }, + }, + }, }, yujuex:{ audio:'yujue', @@ -1542,6 +1597,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return hs>0&&!game.hasPlayer(function(current){ return current!=player&¤t!=target&¤t.countCards('h')>hs; }); + }).set('ai',function(target){ + return get.attitude(_status.event.player,target)*target.countCards('h'); }); } else event.finish(); @@ -1563,14 +1620,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, zhihu:{ - usable:3, + usable:2, trigger:{source:'damageSource'}, forced:true, filter:function(event,player){ return player!=event.player; }, content:function(){ - player.draw(); + player.draw(2); }, }, zhihu_mark:{ @@ -1637,6 +1694,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return evt.targets.contains(target); }).length>0&&event.target.countDiscardableCards(player,'he')>0; }, + check:function(event,player){ + return get.attitude(player,event.target)<=0; + }, content:function(){ 'step 0' player.discardPlayerCard(trigger.target,true,'he',2); @@ -7065,6 +7125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zhangchangpu:['ol_zhangchangpu','zhangchangpu'], huangfusong:['huangfusong','old_huangfusong'], wenyang:['wenyang','diy_wenyang'], + dingyuan:['ol_dingyuan','dingyuan'], }, translate:{ lijue:"李傕", @@ -7359,7 +7420,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ yujue_info:'出牌阶段限一次,你可以废除一个装备栏,然后令除你之外手牌数最多的一名其他角色交给你一张手牌。其获得〖执笏〗直到你的下回合开始。', zhihu:'执笏', zhihu_mark:'执笏', - zhihu_info:'锁定技,每回合限三次,当你对其他角色造成伤害后,你摸一张牌。', + zhihu_info:'锁定技,每回合限两次,当你对其他角色造成伤害后,你摸两张牌。', tuxing:'图兴', tuxing2:'图兴', tuxing_info:'锁定技,当你废除一个装备栏时,你加1点体力上限并回复1点体力。然后若你所有的装备栏均已被废除,则你减4点体力上限,且本局游戏内使用【杀】造成的伤害+1。', @@ -7375,20 +7436,24 @@ game.import('character',function(lib,game,ui,get,ai,_status){ shiyuan_info:'每回合每项限一次,当你成为其他角色使用牌的目标后:①若其体力值大于你,你摸三张牌。②若其体力值等于你,你摸两张牌。③若其体力值小于你,你摸一张牌。', dushi:'毒逝', dushi_info:'锁定技,你处于濒死状态时,其他角色不能对你使用【桃】。你死亡时,你选择一名其他角色获得〖毒逝〗。', + yuwei:'余威', + yuwei_info:'主公技,锁定技,其他群雄角色的回合内,你将〖诗怨〗改为“每回合每项限两次”。', ol_dingyuan:'丁原', - weihuan:'为患', - weihuan_info:'准备阶段,若场上没有“虎”标记,你可令一名其他角色获得一个“虎”标记;若场上有“虎”标记,你可以弃置两张牌移动“虎”标记。拥有“虎”标记的角色获得技能“叛弑”', + cixiao:'慈孝', + cixiao_info:'准备阶段,若场上没有“义子”标记,你可令一名其他角色获得一个“义子”标记;若场上有“义子”标记,你可以弃置一张牌移动“义子”标记。拥有“义子”标记的角色获得技能“叛弑”。', panshi:'叛弑', - panshi_info:'锁定技,准备阶段,你交给有“为患”技能的角色一张手牌;你的【杀】对其造成的伤害+1', - shouchong:'首冲', - shouchong_info:'锁定技,有角色造成伤害后,若此伤害是本轮第一次造成伤害,且伤害来源是其他角色,则你摸一张牌;若伤害来源是你,则你对受伤角再造成1点伤害。', + panshi_info:'锁定技,准备阶段,你交给有“慈孝”技能的角色一张手牌;当你于出牌阶段因使用【杀】对其他角色造成伤害时,若其拥有技能“慈孝”,则此伤害+1,且你结束出牌阶段。', + xianshuai:'先率', + xianshuai_info:'锁定技,有角色造成伤害后,若此伤害是本轮第一次造成伤害,且伤害来源是其他角色,则你摸一张牌;若伤害来源是你,则你对受伤角再造成1点伤害。', luyusheng:'陆郁生', wangrong:'王荣', - sicong:'思聪', - sicong2:'思聪', - sicong_info:'出牌阶段限一次,你可以弃置任意张点数之和为13的牌,然后摸两倍数量的牌。以此法获得的牌中,黑色牌本回合无距离和次数限制,红色牌本回合不计入手牌上限。', - xianzhao:'先兆', - xianzhao_info:'当你受到伤害后,你可以进行一次判定,然后若你弃置任意张点数之和与判定结果点数相同的牌,你回复1点体力。', + minsi:'敏思', + minsi2:'敏思', + minsi_info:'出牌阶段限一次,你可以弃置任意张点数之和为13的牌,然后摸两倍数量的牌。以此法获得的牌中,黑色牌本回合无距离限制,红色牌本回合不计入手牌上限。', + jijing:'吉境', + jijing_info:'当你受到伤害后,你可以进行一次判定,然后若你弃置任意张点数之和与判定结果点数相同的牌,你回复1点体力。', + zhuide:'追德', + zhuide_info:'当你死亡时,你可令一名其他角色从牌堆中获得四张名称各不相同的基本牌。', yj_caoang:'SP曹昂', yjxuepin:'血拼', yjxuepin_info:'出牌阶段限一次,你可以选择攻击范围内的一名角色并失去1点体力。你弃置其两张牌。若这两张牌类型相同,你回复1点体力。', @@ -7445,6 +7510,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ xuanmu2:'宣穆', xuanmu_info:'锁定技,隐匿技。你于其他角色的回合登场时,防止你受到的伤害直到回合结束。', jin_simayi:'晋司马懿', + jin_simayi_ab:'司马懿', dongxie:'董翓', juntun:'军屯', juntun_info:'锁定技,准备阶段,若X大于1,则你减1点体力上限并摸X张牌(X为你的体力上限)。', @@ -7459,6 +7525,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ quanbian:'权变', quanbian2:'权变', quanbian_info:'当你于出牌阶段内使用/打出手牌时,若此牌有花色且你本回合内未使用/打出过该花色的其他手牌,则你可以选择一项:①摸一张牌。②将牌堆顶X张牌中的一张置于牌堆底(X为你的体力上限)。若你发动此技能,则你本回合内不能再使用与此牌花色相同的手牌。', + re_hansui:'韩遂', + quyi:'麴义', sp_yingbian:'应变篇', sp_whlw:"文和乱武", sp_zlzy:"逐鹿中原", @@ -7469,6 +7537,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sp_baigei:'无双上将', sp_guandu:'官渡之战', sp_huangjin:'黄巾之乱', + sp_fadong:'诸侯伐董', sp_decade:'其他新服武将', sp_mini:'欢乐三国杀', sp_luanwu:'文和乱武·线下', diff --git a/character/standard.js b/character/standard.js index cc3d26ed3..c4e416008 100755 --- a/character/standard.js +++ b/character/standard.js @@ -2681,7 +2681,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ characterReplace:{ caocao:['re_caocao','caocao'], guojia:['re_guojia','guojia'], - simayi:['re_simayi','simayi'], + simayi:['jin_simayi','re_simayi','simayi'], zhenji:['re_zhenji','zhenji'], xuzhu:['re_xuzhu','xuzhu'], zhangliao:['re_zhangliao','sp_zhangliao','yj_zhangliao','zhangliao'], diff --git a/character/yijiang.js b/character/yijiang.js index d74916035..6f6858a87 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -11472,7 +11472,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ yuce:{ audio:2, audioname:['re_manchong'], - trigger:{player:'damageAfter'}, + trigger:{player:'damageEnd'}, direct:true, filter:function(event,player){ return player.countCards('h')>0&&player.isDamaged(); @@ -12060,7 +12060,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, characterReplace:{ caozhi:['re_caozhi','caozhi'], - zhangchunhua:['zhangchunhua','jin_zhangchunhua','mini_zhangchunhua'], + zhangchunhua:['jin_zhangchunhua','zhangchunhua','mini_zhangchunhua'], yujin:['yujin_yujin','re_yujin','ol_yujin','xin_yujin','yujin'], xushu:['re_xushu','xin_xushu','xushu'], fazheng:['xin_fazheng','fazheng'], @@ -12614,7 +12614,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zongxuan_info:'当你的牌因弃置而进入弃牌堆时,你可以将其按任意顺序置于牌堆顶', zhiyan_info:'结束阶段,你可以令一名角色摸一张牌并展示之,若为装备牌,其使用此牌并回复一点体力。', miji_info:'结束阶段,若你已受伤,则可以摸X张牌,然后可以将等量的牌交给一名其他角色(X为你已损失的体力值)。', - zhenlie_info:'当你成为其他角色使用牌的目标后,你可以失去一点体力并令此牌对你无效,然后弃置对方一张牌。', + zhenlie_info:'当你成为其他角色使用【杀】或普通锦囊牌的目标后,你可以失去一点体力并令此牌对你无效,然后弃置对方一张牌。', chengxiang_info:'当你受到伤害后,你可以亮出牌堆顶的四张牌。然后获得其中任意数量点数之和不大于13的牌', oldchengxiang_info:'当你受到伤害后,你可以亮出牌堆顶的四张牌。然后获得其中任意数量点数之和不大于12的牌', renxin_info:'当体力值为1的一名其他角色受到伤害时,你可以将武将牌翻面并弃置一张装备牌,然后防止此伤害。', diff --git a/game/game.js b/game/game.js index 189fdd46e..a4bfcd9fe 100644 --- a/game/game.js +++ b/game/game.js @@ -21393,10 +21393,10 @@ return _status.dying.contains(this)&&this.hp<=0&&this.isAlive(); }, isDamaged:function(){ - return this.hp