From 80c94452ed46275d8a35fe992be96d23ab84e3fc Mon Sep 17 00:00:00 2001 From: libccy Date: Thu, 28 Jan 2016 14:46:42 +0800 Subject: [PATCH] 1.7.7 --- character/boss.js | 843 +++++- character/extra.js | 1 + character/shenhua.js | 60 +- character/sp.js | 133 + character/xianjian.js | 2 +- character/yxs.js | 3 +- game/game.js | 276 +- image/card/spell_ansezhadan.jpg | Bin 0 -> 20818 bytes image/card/spell_anyingxingtai.jpg | Bin 0 -> 54016 bytes image/card/spell_anzhongpohuai.jpg | Bin 0 -> 31980 bytes image/card/spell_aoshufeidan.jpg | Bin 0 -> 21332 bytes image/card/spell_beici.jpg | Bin 0 -> 68993 bytes image/card/spell_canying.jpg | Bin 0 -> 25251 bytes image/card/spell_chirehuoba.jpg | Bin 0 -> 15939 bytes image/card/spell_chongfeng.jpg | Bin 0 -> 27493 bytes image/card/spell_conglinzhihun.jpg | Bin 0 -> 21834 bytes image/card/spell_dubiao.jpg | Bin 0 -> 23502 bytes image/card/spell_emozhixin.jpg | Bin 0 -> 77537 bytes image/card/spell_enzeshu.jpg | Bin 0 -> 20444 bytes image/card/spell_fengnu.jpg | Bin 0 -> 45244 bytes image/card/spell_fennu.jpg | Bin 0 -> 60840 bytes image/card/spell_fuchoudaji.jpg | Bin 0 -> 29473 bytes image/card/spell_fugen.jpg | Bin 0 -> 29443 bytes image/card/spell_fushishu.jpg | Bin 0 -> 37826 bytes image/card/spell_hanbingpingzhang.jpg | Bin 0 -> 14855 bytes image/card/spell_heiandiyu.jpg | Bin 0 -> 70514 bytes image/card/spell_heianqiyue.jpg | Bin 0 -> 17891 bytes image/card/spell_jingxiang.jpg | Bin 0 -> 15306 bytes image/card/spell_jinyingduijue.jpg | Bin 0 -> 32863 bytes image/card/spell_jipao.jpg | Bin 0 -> 19398 bytes image/card/spell_kongxinshu.jpg | Bin 0 -> 20875 bytes image/card/spell_kuaisuzhiliao.jpg | Bin 0 -> 24765 bytes image/card/spell_kuangbao.jpg | Bin 0 -> 28681 bytes image/card/spell_laojiuhuoba.jpg | Bin 0 -> 13858 bytes image/card/spell_linghunhongxi.jpg | Bin 0 -> 14130 bytes image/card/spell_mengun.jpg | Bin 0 -> 23950 bytes image/card/spell_piaoqie.jpg | Bin 0 -> 24122 bytes image/card/spell_qiangfengsheji.jpg | Bin 0 -> 25086 bytes image/card/spell_rongyanbaolie.jpg | Bin 0 -> 19652 bytes image/card/spell_shalumingling.jpg | Bin 0 -> 21550 bytes image/card/spell_shenpan.jpg | Bin 0 -> 18980 bytes image/card/spell_shenshengfennu.jpg | Bin 0 -> 23637 bytes image/card/spell_shihuawuqi.jpg | Bin 0 -> 33094 bytes image/card/spell_siwangchanrao.jpg | Bin 0 -> 60065 bytes image/card/spell_tanxianmao.jpg | Bin 0 -> 17208 bytes image/card/spell_tianjiangzhuqun.jpg | Bin 0 -> 16861 bytes image/card/spell_weijisifu.jpg | Bin 0 -> 30812 bytes image/card/spell_xianzuzhaohuan.jpg | Bin 0 -> 18408 bytes image/card/spell_xianzuzhihun.jpg | Bin 0 -> 25578 bytes image/card/spell_xianzuzhishi.jpg | Bin 0 -> 25340 bytes image/card/spell_xingchenzhuiluo.jpg | Bin 0 -> 14221 bytes image/card/spell_xinlinghanbao.jpg | Bin 0 -> 18674 bytes image/card/spell_yanbaoshu.jpg | Bin 0 -> 23789 bytes image/card/spell_yingyongdaji.jpg | Bin 0 -> 35597 bytes image/card/spell_yongshizhufu.jpg | Bin 0 -> 56019 bytes image/card/spell_zhandounuhuo.jpg | Bin 0 -> 57650 bytes image/card/spell_zhengqianghaosheng.jpg | Bin 0 -> 33507 bytes image/card/spell_zhenyanshu.jpg | Bin 0 -> 17891 bytes image/card/spell_zhihuizhufu.jpg | Bin 0 -> 18823 bytes image/card/spell_zhongnian.jpg | Bin 0 -> 29689 bytes image/card/spell_zhuizongshu.jpg | Bin 0 -> 22272 bytes image/card/spell_zhumo.jpg | Bin 0 -> 24273 bytes image/card/spell_ziyang.jpg | Bin 0 -> 21854 bytes ...ss_zhuquemech.jpg => boss_chiyuzhuque.jpg} | Bin .../{boss_bianmech.jpg => boss_fudibian.jpg} | Bin ...boss_baihumech.jpg => boss_jileibaihu.jpg} | Bin ...{boss_yazimech.jpg => boss_lieshiyazi.jpg} | Bin ..._xuanwumech.jpg => boss_lingjiaxuanwu.jpg} | Bin image/character/boss_nianshou.jpg | Bin 0 -> 64331 bytes ...s_suannimech.jpg => boss_shihuosuanni.jpg} | Bin ..._chiwenmech.jpg => boss_tuntianchiwen.jpg} | Bin ...glongmech.jpg => boss_yunpingqinglong.jpg} | Bin image/character/stone_jingxiang.jpg | Bin 0 -> 15306 bytes image/character/stone_shurenx.jpg | Bin 0 -> 58906 bytes image/character/stone_xiaojingling.jpg | Bin 0 -> 85953 bytes image/character/stone_zhumo.jpg | Bin 0 -> 24273 bytes image/character/zumao.jpg | Bin 0 -> 40497 bytes mode/boss.js | 93 +- mode/chess.js | 36 +- mode/guozhan.js | 11 +- mode/identity.js | 12 +- mode/stone.js | 2347 ++++++++++++++++- mode/versus.js | 22 + 83 files changed, 3525 insertions(+), 314 deletions(-) create mode 100755 image/card/spell_ansezhadan.jpg create mode 100755 image/card/spell_anyingxingtai.jpg create mode 100755 image/card/spell_anzhongpohuai.jpg create mode 100644 image/card/spell_aoshufeidan.jpg create mode 100755 image/card/spell_beici.jpg create mode 100644 image/card/spell_canying.jpg create mode 100644 image/card/spell_chirehuoba.jpg create mode 100755 image/card/spell_chongfeng.jpg create mode 100755 image/card/spell_conglinzhihun.jpg create mode 100644 image/card/spell_dubiao.jpg create mode 100755 image/card/spell_emozhixin.jpg create mode 100755 image/card/spell_enzeshu.jpg create mode 100755 image/card/spell_fengnu.jpg create mode 100755 image/card/spell_fennu.jpg create mode 100755 image/card/spell_fuchoudaji.jpg create mode 100644 image/card/spell_fugen.jpg create mode 100755 image/card/spell_fushishu.jpg create mode 100644 image/card/spell_hanbingpingzhang.jpg create mode 100755 image/card/spell_heiandiyu.jpg create mode 100755 image/card/spell_heianqiyue.jpg create mode 100755 image/card/spell_jingxiang.jpg create mode 100644 image/card/spell_jinyingduijue.jpg create mode 100644 image/card/spell_jipao.jpg create mode 100755 image/card/spell_kongxinshu.jpg create mode 100644 image/card/spell_kuaisuzhiliao.jpg create mode 100755 image/card/spell_kuangbao.jpg create mode 100644 image/card/spell_laojiuhuoba.jpg create mode 100644 image/card/spell_linghunhongxi.jpg create mode 100755 image/card/spell_mengun.jpg create mode 100644 image/card/spell_piaoqie.jpg create mode 100644 image/card/spell_qiangfengsheji.jpg create mode 100755 image/card/spell_rongyanbaolie.jpg create mode 100755 image/card/spell_shalumingling.jpg create mode 100644 image/card/spell_shenpan.jpg create mode 100755 image/card/spell_shenshengfennu.jpg create mode 100755 image/card/spell_shihuawuqi.jpg create mode 100755 image/card/spell_siwangchanrao.jpg create mode 100644 image/card/spell_tanxianmao.jpg create mode 100755 image/card/spell_tianjiangzhuqun.jpg create mode 100644 image/card/spell_weijisifu.jpg create mode 100644 image/card/spell_xianzuzhaohuan.jpg create mode 100755 image/card/spell_xianzuzhihun.jpg create mode 100755 image/card/spell_xianzuzhishi.jpg create mode 100644 image/card/spell_xingchenzhuiluo.jpg create mode 100755 image/card/spell_xinlinghanbao.jpg create mode 100644 image/card/spell_yanbaoshu.jpg create mode 100755 image/card/spell_yingyongdaji.jpg create mode 100755 image/card/spell_yongshizhufu.jpg create mode 100755 image/card/spell_zhandounuhuo.jpg create mode 100755 image/card/spell_zhengqianghaosheng.jpg create mode 100755 image/card/spell_zhenyanshu.jpg create mode 100755 image/card/spell_zhihuizhufu.jpg create mode 100644 image/card/spell_zhongnian.jpg create mode 100755 image/card/spell_zhuizongshu.jpg create mode 100755 image/card/spell_zhumo.jpg create mode 100644 image/card/spell_ziyang.jpg rename image/character/{boss_zhuquemech.jpg => boss_chiyuzhuque.jpg} (100%) rename image/character/{boss_bianmech.jpg => boss_fudibian.jpg} (100%) rename image/character/{boss_baihumech.jpg => boss_jileibaihu.jpg} (100%) rename image/character/{boss_yazimech.jpg => boss_lieshiyazi.jpg} (100%) rename image/character/{boss_xuanwumech.jpg => boss_lingjiaxuanwu.jpg} (100%) create mode 100644 image/character/boss_nianshou.jpg rename image/character/{boss_suannimech.jpg => boss_shihuosuanni.jpg} (100%) rename image/character/{boss_chiwenmech.jpg => boss_tuntianchiwen.jpg} (100%) rename image/character/{boss_qinglongmech.jpg => boss_yunpingqinglong.jpg} (100%) create mode 100755 image/character/stone_jingxiang.jpg create mode 100644 image/character/stone_shurenx.jpg create mode 100755 image/character/stone_xiaojingling.jpg create mode 100755 image/character/stone_zhumo.jpg create mode 100644 image/character/zumao.jpg diff --git a/character/boss.js b/character/boss.js index 4b4295cd8..ea2668a12 100644 --- a/character/boss.js +++ b/character/boss.js @@ -11,6 +11,7 @@ character.boss={ boss_zhouyu:['male','wu',6,['huoshen','boss_honglian','boss_xianyin'],['boss','bossallowed'],'zhu'], boss_zhuoguiquxie:['male','qun',0,['boss_bianshen'],['boss','bossallowed'],'shu'], + boss_nianshou:['male','qun',Infinity,['boss_nianrui','boss_qixiang','boss_damagecount'],['boss','bossallowed'],'shu'], boss_baiwuchang:['male','qun',9,['boss_baolian','boss_qiangzheng','boss_zuijiu','juece','boss_bianshen4'],['hiddenboss','bossallowed']], boss_heiwuchang:['male','qun',9,['boss_guiji','boss_taiping','boss_suoming','boss_xixing','boss_bianshen4'],['hiddenboss','bossallowed']], boss_luocha:['male','qun',12,['boss_modao','boss_yushou','yizhong','boss_moyany'],['hiddenboss','bossallowed']], @@ -34,35 +35,564 @@ character.boss={ // boss_shuijing:['male','qun',8,[],['boss','bossallowed'],'wei'], boss_liedixuande:['male','shu',5,['boss_lingfeng','boss_jizhen'],['jiangeboss','hiddenboss','bossallowed'],'shu'], - boss_gongshenyueying:['male','shu',4,[],['jiangeboss','hiddenboss','bossallowed'],'shu'], - boss_tianhoukongming:['male','shu',4,[],['jiangeboss','hiddenboss','bossallowed'],'shu'], - boss_yuhuoshiyuan:['male','shu',4,[],['jiangeboss','hiddenboss','bossallowed'],'shu'], + boss_gongshenyueying:['male','shu',4,['boss_gongshenjg','boss_jingmiao','boss_zhinang'],['jiangeboss','hiddenboss','bossallowed'],'shu'], + boss_tianhoukongming:['male','shu',4,['boss_biantian','bazhen'],['jiangeboss','hiddenboss','bossallowed'],'shu'], + boss_yuhuoshiyuan:['male','shu',4,['boss_yuhuojg','boss_qiwu','boss_tianyujg'],['jiangeboss','hiddenboss','bossallowed'],'shu'], boss_qiaokuijunyi:['male','wei',4,['boss_huodi','boss_jueji'],['jiangeboss','hiddenboss','bossallowed'],'wei'], boss_jiarenzidan:['male','wei',5,['boss_chiying','boss_jingfan'],['jiangeboss','hiddenboss','bossallowed'],'wei'], boss_duanyuzhongda:['male','wei',5,['boss_fanshi','boss_xuanlei','boss_skonghun'],['jiangeboss','hiddenboss','bossallowed'],'wei'], boss_juechenmiaocai:['male','wei',4,['boss_chuanyun','boss_leili','boss_fengxing'],['jiangeboss','hiddenboss','bossallowed'],'wei'], - boss_baihumech:['male','shu',4,[],['jiangemech','hiddenboss','bossallowed'],'shu'], - boss_qinglongmech:['male','shu',4,[],['jiangemech','hiddenboss','bossallowed'],'shu'], - boss_xuanwumech:['male','shu',4,[],['jiangemech','hiddenboss','bossallowed'],'shu'], - boss_zhuquemech:['male','shu',4,[],['jiangemech','hiddenboss','bossallowed'],'shu'], - boss_bianmech:['male','wei',4,[],['jiangemech','hiddenboss','bossallowed'],'wei'], - boss_chiwenmech:['male','wei',4,[],['jiangemech','hiddenboss','bossallowed'],'wei'], - boss_suannimech:['male','wei',4,[],['jiangemech','hiddenboss','bossallowed'],'wei'], - boss_yazimech:['male','wei',4,[],['jiangemech','hiddenboss','bossallowed'],'wei'], + boss_jileibaihu:['male','shu',4,['boss_jiguan','boss_zhenwei','boss_benlei'],['jiangemech','hiddenboss','bossallowed'],'shu'], + boss_yunpingqinglong:['male','shu',4,['boss_jiguan','boss_mojian'],['jiangemech','hiddenboss','bossallowed'],'shu'], + boss_lingjiaxuanwu:['male','shu',5,['boss_jiguan','yizhong','boss_lingyu'],['jiangemech','hiddenboss','bossallowed'],'shu'], + boss_chiyuzhuque:['male','shu',5,['boss_jiguan','boss_yuhuojg','boss_tianyun'],['jiangemech','hiddenboss','bossallowed'],'shu'], + boss_fudibian:['male','wei',4,['boss_jiguan','boss_didong'],['jiangemech','hiddenboss','bossallowed'],'wei'], + boss_tuntianchiwen:['male','wei',5,['boss_jiguan','boss_tanshi','boss_tunshi'],['jiangemech','hiddenboss','bossallowed'],'wei'], + boss_shihuosuanni:['male','wei',3,['boss_jiguan','boss_lianyu'],['jiangemech','hiddenboss','bossallowed'],'wei'], + boss_lieshiyazi:['male','wei',4,['boss_jiguan','boss_nailuo'],['jiangemech','hiddenboss','bossallowed'],'wei'], }, skill:{ + boss_damagecount:{ + mode:['boss'], + global:'boss_damagecount2' + }, + boss_damagecount2:{ + trigger:{source:'damageEnd'}, + forced:true, + popup:false, + silent:true, + filter:function(event,player){ + if(!ui.damageCount) return false; + return event.num>0&&player.isFriendOf(game.me)&&event.player.isEnemyOf(game.me); + }, + content:function(){ + _status.damageCount+=trigger.num; + ui.damageCount.innerHTML='伤害: '+_status.damageCount; + } + }, + boss_nianrui:{ + trigger:{player:'phaseDrawBegin'}, + forced:true, + content:function(){ + trigger.num+=2; + }, + ai:{ + threaten:1.6 + } + }, + boss_qixiang:{ + group:['boss_qixiang1','boss_qixiang2'], + ai:{ + effect:{ + target:function(card,player,target,current){ + if(card.name=='lebu'&&card.name=='bingliang') return 0.8; + } + } + } + }, + boss_qixiang1:{ + trigger:{player:'judge'}, + forced:true, + filter:function(event,player){ + if(event.card){ + if(event.card.viewAs){ + return event.card.viewAs=='lebu'; + } + else{ + return event.card.name=='lebu'; + } + } + }, + content:function(){ + player.addTempSkill('boss_qixiang3','judgeAfter'); + } + }, + boss_qixiang2:{ + trigger:{player:'judge'}, + forced:true, + filter:function(event,player){ + if(event.card){ + if(event.card.viewAs){ + return event.card.viewAs=='bingliang'; + } + else{ + return event.card.name=='bingliang'; + } + } + }, + content:function(){ + player.addTempSkill('boss_qixiang4','judgeAfter'); + } + }, + boss_qixiang3:{ + mod:{ + suit:function(card,suit){ + if(suit=='diamond') return 'heart'; + } + } + }, + boss_qixiang4:{ + mod:{ + suit:function(card,suit){ + if(suit=='spade') return 'club'; + } + } + }, + boss_lingyu:{ + trigger:{player:'phaseEnd'}, + check:function(event,player){ + if(player.isTurnedOver()) return true; + var num=0; + for(var i=0;i0){ + if(game.players[i].hp==1){ + return true; + } + num++; + if(num>=2) return true; + } + } + return false; + }, + content:function(){ + 'step 0' + player.turnOver(); + 'step 1' + var list=[]; + for(var i=0;i0; + } + } + } + return num>=4; + }, + filter:function(event,player){ + for(var i=0;i0; + }, + content:function(){ + player.chooseToDiscard('h',true); + } + }, + boss_tunshi:{ + trigger:{player:'phaseBegin'}, + forced:true, + filter:function(event,player){ + var nh=player.num('h'); + for(var i=0;inh){ + return true; + } + } + return false; + }, + content:function(){ + 'step 0' + var targets=[]; + var nh=player.num('h'); + for(var i=0;inh){ + targets.push(game.players[i]); + } + } + targets.sort(lib.sort.seat); + event.targets=targets; + 'step 1' + if(event.targets.length){ + var current=event.targets.shift(); + current.damage('thunder'); + player.line(current,'thunder'); + event.redo(); + } + } + }, + boss_jiguan:{ + mod:{ + targetEnabled:function(card,player,target){ + if(card.name=='lebu'){ + return false; + } + } + } + }, + boss_gongshenjg:{ + trigger:{player:'phaseEnd'}, + mode:['versus'], + filter:function(event,player){ + if(_status.mode!='jiange') return false; + for(var i=0;i0&&target.num('j','lebu')){ + return 0.1; + } + if(player.num('h')>player.hp){ + if(target==player) return Math.max(1,att-2); + } + if(target==player) return att+5; + return att; + } + } + "step 2" + if(result&&result.targets&&result.targets.length){ + event.target=result.targets[0]; + } + if(event.cards2.length){ + player.line(event.target,'green'); + game.log(event.target,'获得了',event.cards2); + event.target.gain(event.cards2,'gain2'); + } + }, + ai:{ + threaten:1.3 + } + }, + boss_biantian4:{ + trigger:{player:'dieBegin'}, + forced:true, + popup:false, + content:function(){ + for(var i=0;i0&&event.player!=player&&event.player.hp-3) return 0; + var eff=ai.get.damageEffect(target,player,player,'fire'); + if(eff>0){ + return eff+target.num('e')/2; + } + return 0; + } + "step 1" + if(result.bool){ + player.logSkill('boss_tianyun',result.targets,'fire'); + player.loseHp(); + event.target=result.targets[0]; + } + else{ + event.finish(); + } + "step 2" + if(event.target){ + event.target.damage(2,'fire'); + } + "step 3" + if(event.target){ + var es=event.target.get('e'); + if(es.length){ + event.discard(es); + } + } + }, + ai:{ + threaten:2 + } + }, boss_tianyu:{ audio:true, trigger:{player:'phaseEnd'}, @@ -1467,6 +2045,77 @@ character.boss={ } } }, + boss_tianyujg:{ + audio:true, + trigger:{player:'phaseEnd'}, + forced:true, + filter:function(event,player){ + for(var i=0;i0){ + if(noneed&&player==target){ + num=0.5; + } + else if(target.hp==1){ + num+=3; + } + else if(target.hp==2){ + num+=1; + } + } + return num; + } + "step 1" + if(result.bool){ + player.logSkill('qiwu',result.targets); + result.targets[0].recover(); + } + }, + ai:{ + expose:0.3, + threaten:1.5 + } + }, boss_jizhi:{ audio:2, trigger:{player:'useCard'}, @@ -1770,15 +2419,55 @@ character.boss={ boss_duanyuzhongda:'断狱仲达', boss_juechenmiaocai:'绝尘妙才', - boss_baihumech:'机雷白虎', - boss_qinglongmech:'云屏青龙', - boss_xuanwumech:'灵甲玄武', - boss_zhuquemech:'炽羽朱雀', - boss_bianmech:'缚地狴犴', - boss_chiwenmech:'吞天螭吻', - boss_suannimech:'食火狻猊', - boss_yazimech:'裂石睚眦', + boss_jileibaihu:'机雷白虎', + boss_yunpingqinglong:'云屏青龙', + boss_lingjiaxuanwu:'灵甲玄武', + boss_chiyuzhuque:'炽羽朱雀', + boss_fudibian:'缚地狴犴', + boss_tuntianchiwen:'吞天螭吻', + boss_shihuosuanni:'食火狻猊', + boss_lieshiyazi:'裂石睚眦', + boss_nianshou:'年兽', + + boss_nianrui:'年瑞', + boss_nianrui_info:'锁定技,摸牌阶段,你额外摸两张牌', + boss_qixiang:'祺祥', + boss_qixiang1:'祺祥', + boss_qixiang2:'祺祥', + boss_qixiang_info:'乐不思蜀判定时,你的方块判定牌视为红桃;兵粮寸断判定时,你的黑桃判定牌视为草花', + boss_jiguan:'机关', + boss_jiguan_info:'锁定技,你不能成为【乐不思蜀】的目标', + boss_lingyu:'灵愈', + boss_lingyu_info:'结束阶段,你可以将自己的武将牌翻面,然后令所有已受伤的己方其他角色回复1点体力', + boss_tianyun:'天陨', + boss_tianyun_info:'结束阶段,你可以失去1点体力,然后令一名敌方角色受到2点火焰伤害并弃置其装备区里的所有牌', + boss_zhenwei:'镇卫', + boss_zhenwei_info:'锁定技,对方角色计算与其他己方角色的距离时,始终+1', + boss_benlei:'奔雷', + boss_benlei_info:'锁定技,准备阶段,对敌方攻城器械造成2点雷电伤害', + boss_nailuo:'奈落', + boss_nailuo_info:'结束阶段,你可以将你的武将牌翻面,令所有敌方角色弃置装备区内的所有牌', + boss_tanshi:'贪食', + boss_tanshi_info:'锁定技,结束阶段开始时,你须弃置一张手牌', + boss_tunshi:'吞噬', + boss_tunshi_info:'锁定技,准备阶段,你对所有手牌数量大于你的敌方角色造成1点伤害', + boss_yuhuojg:'浴火', + boss_yuhuojg_info:'锁定技,每当你受到火焰伤害时,防止此伤害', + boss_qiwu:'栖梧', + boss_qiwu_info:'每当你使用一张梅花牌,你可以令一名友方角色回复一点体力', + boss_tianyujg:'天狱', + boss_tianyujg_info:'锁定技,回合结束阶段,你令所有未横置的敌方角色横置', + boss_gongshenjg:'工神', + boss_gongshenjg_info:'结束阶段,若已方器械已受伤,你可以为其回复一点体力;否则你可以对敌方器械造成一点火焰伤害', + boss_zhinang:'智囊', + boss_zhinang_info:'准备阶段,你可以亮出牌堆顶的三张牌,你可以将其中锦囊或装备牌交给一名己方角色,然后将其余牌置入弃牌堆', + boss_jingmiao:'精妙', + boss_jingmiao_info:'锁定技,每当敌方角色使用的无懈可击生效后,你令其失去1点体力', + boss_biantian:'变天', + boss_biantian_info:'锁定技,准备阶段,你进行一次判定,若为红色,直到下个回合开始前,令敌方所有角色处于“狂风”状态,若为黑桃,直到下个回合开始前,令己方所有角色处于“大雾”状态', + boss_biantian2:'大雾', + boss_biantian3:'狂风', boss_lingfeng:'灵锋', boss_lingfeng_info:'摸牌阶段,你可以放弃摸牌,亮出牌堆顶的两张牌,然后获得之,若这些牌的颜色不同,你令一名敌方角色失去1点体力', boss_jizhen:'激阵', @@ -1810,13 +2499,13 @@ character.boss={ jizhen_info:'结束阶段,你可以令所至多两名已受伤角色摸一张牌', boss_yushou:'驭兽', - boss_yushou_info:'出牌阶段开始时,视为你使用了一张[南蛮入侵]', + boss_yushou_info:'出牌阶段开始时,你可以对所有敌方角色使用一张南蛮入侵', boss_moyany:'魔炎', boss_moyany_info:'每当你于回合外失去牌时,你可以进行一次判定,若结果为红色,你对一名其他角色造成2点火焰伤害', boss_modao:'魔道', boss_modao_info:'锁定技,准备阶段,你摸两张牌', boss_mojian:'魔箭', - boss_mojian_info:'出牌阶段开始时,视为你使用了一张[万箭齐发]', + boss_mojian_info:'出牌阶段开始时,你可以对所有敌方角色使用一张万箭齐发', boss_danshu:'丹术', boss_danshu_info:'每当你于回合外失去牌时,你可以进行一次判定,若结果为红色,你回复1点体力', @@ -1838,7 +2527,7 @@ character.boss={ boss_guiji:'诡计', boss_guiji_info:'锁定技,准备阶段结束时,若你的判定区内有牌,你随机弃置其中一张牌', boss_lianyu:'炼狱', - boss_lianyu_info:'结束阶段,对所有其他角色造成1点火焰伤害', + boss_lianyu_info:'结束阶段,你可以对所有敌方角色造成1点火焰伤害', boss_guihuo:'鬼火', boss_guihuo_info:'结束阶段,你可以对一名其他角色造成1点火焰伤害', @@ -1851,7 +2540,7 @@ character.boss={ boss_guimei:'鬼魅', boss_guimei_info:'锁定技,你不能成为延时类锦囊的目标', boss_didong:'地动', - boss_didong_info:'结束阶段,你可以令一名其他角色将其武将牌翻面', + boss_didong_info:'结束阶段,你可以选择一名敌方角色将其武将牌翻面', boss_shanbeng:'山崩', boss_shanbeng_info:'锁定技,当你死亡时,你令所有其他角色弃置其装备区内的所有牌', @@ -1908,8 +2597,8 @@ character.boss={ boss_xianyin:'仙音', boss_xianyin_info:'每当你于回合外失去牌,你可以进行一次判定,若为红色,你令一名敌人失去一点体力', - // boss_yuhuo:'浴火', - // boss_yuhuo_info:'觉醒技,在你涅槃后,你获得技能【神威】、【朱羽】', + boss_yuhuo:'浴火', + boss_yuhuo_info:'觉醒技,在你涅槃后,你获得技能【神威】、【朱羽】', boss_tianyu:'天狱', boss_tianyu_info:'锁定技,回合结束阶段,你解除横置状态,除你之外的所有角色进入横置状态', diff --git a/character/extra.js b/character/extra.js index 1751fcbb6..15d1502d7 100755 --- a/character/extra.js +++ b/character/extra.js @@ -1216,6 +1216,7 @@ character.extra={ dawu_info:'回合结束阶段,你可以弃掉X枚“星”指定X名角色:直到你的下回合开始,防止他们受到的除雷电伤害外的一切伤害。', kuangfeng:'狂风', kuangfeng2:'狂风', + kuangfeng2_bg:'风', // kuangfeng2_info:'已获得狂风标记', kuangfeng3:'狂风', kuangfeng_info:'回合结束阶段,你可以弃掉1枚“星”指定一名角色:直到你的下回合开始,该角色每次受到的火焰伤害+1。', diff --git a/character/shenhua.js b/character/shenhua.js index 733623c24..7968316fe 100644 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -525,9 +525,14 @@ character.shenhua={ intro:{ content:'cards' }, - mod:{ - globalFrom:function(from,to,distance){ - if(from.storage.tuntian) return distance-from.storage.tuntian.length; + group:'tuntian_dist', + subSkill:{ + dist:{ + mod:{ + globalFrom:function(from,to,distance){ + if(from.storage.tuntian) return distance-from.storage.tuntian.length; + } + } } }, ai:{ @@ -708,20 +713,19 @@ character.shenhua={ forceaudio:true, enable:'phaseUse', filter:function(event,player){ - if(!game.zhu) return false; - if(!game.zhu.isZhu) return false; - return (player!=game.zhu&&game.zhu.skills.contains('zhiba')&& - player.group=='wu'&&player.num('h')>0&&game.zhu.num('h')>0); + var zhu=get.zhu('zhiba'); + if(!zhu) return false; + return (player!=zhu&&player.group=='wu'&&player.num('h')>0&&zhu.num('h')>0); }, filterTarget:function(card,player,target){ - return target==game.zhu; + return target.isZhu&&target.get('s').contains('zhiba'); }, usable:1, content:function(){ "step 0" player.chooseToCompare(target,function(card){ var player=get.owner(card); - if(player!=game.zhu&&ai.get.attitude(player,game.zhu)>0){ + if(player!=target&&ai.get.attitude(player,target)>0){ return -get.number(card); } return get.number(card); @@ -738,10 +742,10 @@ character.shenhua={ }, expose:0.2, result:{ - target:function(player){ + target:function(player,target){ if(player.num('h')<=player.hp) return false; var maxnum=0; - var cards2=game.zhu.get('h'); + var cards2=target.get('h'); for(var i=0;imaxnum){ maxnum=cards2[i].number; @@ -1432,15 +1436,15 @@ character.shenhua={ forceaudio:true, trigger:{player:'judgeEnd'}, filter:function(event,player){ - if(!game.zhu) return false; - if(!game.zhu.isZhu) return false; - return (player!=game.zhu&&game.zhu.skills.contains('songwei')&&player.group=='wei'&&get.color(event.result.card)=='black'); + var zhu=get.zhu('songwei'); + if(!zhu) return false; + return (player!=zhu&&player.group=='wei'&&get.color(event.result.card)=='black'); }, check:function(event,player){ - return ai.get.attitude(player,game.zhu)>0; + return ai.get.attitude(player,get.zhu('songwei'))>0; }, content:function(){ - game.zhu.draw(); + get.zhu('songwei').draw(); } }, duanliang:{ @@ -1795,12 +1799,14 @@ character.shenhua={ forceaudio:true, trigger:{source:'damageEnd'}, filter:function(event,player){ - if(!game.zhu) return false; - if(!game.zhu.isZhu) return false; - return (player!=game.zhu&&game.zhu.skills.contains('baonue')&&player.group=='qun')&&game.zhu.hp0; + var zhu=get.zhu('baonue'); + if(!zhu) return false; + return ai.get.attitude(player,zhu)>0; }, content:function(){ "step 0" @@ -1810,7 +1816,10 @@ character.shenhua={ }) "step 1" if(result.bool){ - game.zhu.recover(); + var zhu=get.zhu('baonue'); + if(zhu){ + zhu.recover(); + } } } }, @@ -2912,15 +2921,16 @@ character.shenhua={ player.$give(cards,targets[0]); }, filter:function(event,player){ - if(!game.zhu) return false; - if(!game.zhu.isZhu) return false; - return (player!=game.zhu&&game.zhu.skills.contains('huangtian')&&player.group=='qun') + var zhu=get.zhu('huangtian'); + if(!zhu) return false; + return (player!=zhu&&player.group=='qun'&& + (player.num('h','shan')+player.num('h','shandian')>0)) }, filterCard:function(card){ return (card.name=='shan'||card.name=='shandian') }, filterTarget:function(card,player,target){ - return target==game.zhu; + return target.isZhu&&target.get('s').contains('huangtian'); }, usable:1, forceaudio:true, diff --git a/character/sp.js b/character/sp.js index 20eb8af83..1837d2f80 100755 --- a/character/sp.js +++ b/character/sp.js @@ -44,6 +44,7 @@ character.sp={ // zhuling:['male','wei',4,['zhanyi']], sunluyu:['female','wu',3,['meibu','mumu']], hanba:['female','qun',4,['fentian','zhiri']], + zumao:['male','wu',4,['yinbing','juedi']], }, perfectPair:{ zhugejin:['zhugeke'], @@ -62,6 +63,133 @@ character.sp={ caohong:['caoren'], }, skill:{ + yinbing:{ + trigger:{player:'phaseEnd'}, + direct:true, + init:function(player){ + player.storage.yinbing=[]; + }, + filter:function(event,player){ + return player.num('he',{type:'basic'})0&& + (event.card.name=='sha'||event.card.name=='juedou'); + }, + content:function(){ + 'step 0' + player.chooseCardButton('将一张引兵牌置入弃牌堆',true,player.storage.yinbing); + 'step 1' + var card=result.links[0]; + player.storage.yinbing.remove(card); + ui.discardPile.appendChild(card); + player.$throw(card); + game.log(player,'将',card,'置入弃牌堆'); + player.syncStorage('yinbing'); + if(player.storage.yinbing.length==0){ + player.unmarkSkill('yinbing'); + } + } + } + }, + group:'yinbing_discard' + }, + juedi:{ + trigger:{player:'phaseBegin'}, + filter:function(event,player){ + return player.storage.yinbing&&player.storage.yinbing.length>0; + }, + direct:true, + content:function(){ + 'step 0' + player.chooseTarget('是否发动【绝地】?',function(card,player,target){ + return player.hp>=target.hp; + }).ai=function(target){ + if(target==player) return 0.5; + var att=ai.get.attitude(player,target); + if(att<2) return 0; + if(target.hp==1&&att>2){ + att+=2; + } + if(player.num('j','lebu')){ + if(target.hp==target.maxHp) return att-2; + return att-1; + } + if(target.hp==target.maxHp) return 0; + if(player.num('h')player.hp) return true; if(target.hp构筑
  • 点击右上角的卡组管理构建卡组
  • 一套卡组共30张牌,由法术和随从牌构成,每个同名卡牌最多带两张'+ '
  • 卡组管理器中,随从右上角的x/y表示登场状态为x牌y血'+ '
  • 游戏开始时,双方摸三张牌并从牌库中获得一张牌,并可选择将手牌置换一次'+ - '
  • 摸牌阶段,主将少摸一张牌,并从卡组中获得一张牌'+ + '
  • 每当主将摸X张牌时,若X至少为2,则其中的X-1张牌从牌堆中获得,1张牌从牌库中获得'+ '
  • 每名角色使用一套卡组,卡组用完后会重新补满'+ '
  • 卡组与职业绑定,每个职业有一个专属技能,每回合限用一次,消耗两点行动值
'+ '
职业技能
  • 祭司:召唤一个随机图腾'+ @@ -2525,12 +2527,12 @@ '
  • 圣骑士:召唤一名士兵'+ '
  • 猎人:对敌方主将造成一点伤害'+ '
  • 德鲁伊:视为使用一张不计入出杀次数的杀
'+ - '
战斗