'usr strict'; character.boss={ mode:['identity','guozhan','stone','boss'], character:{ boss_zhangchunhua:['female','wei',4,['jueqing','wuxin','shangshix'],['boss','bossallowed'],'wei'], boss_zhenji:['female','wei',4,['tashui','lingbo','jiaoxia','fanghua'],['boss','bossallowed'],'wei'], // boss_liubei:['male','shu',5,['lingfeng'],['boss','bossallowed'],'qun'], // boss_zhugeliang:['male','shu',4,[],['boss','bossallowed'],'qun'], boss_huangyueying:['female','shu',4,['boss_gongshen','boss_jizhi','qicai','boss_guiyin'],['boss','bossallowed'],'wei'], boss_pangtong:['male','shu',4,['boss_tianyu','qiwu','niepan','boss_yuhuo'],['boss','bossallowed'],'zhu'], boss_zhouyu:['male','wu',6,['huoshen','boss_honglian','boss_xianyin'],['boss','bossallowed'],'zhu'], boss_lvbu1:['male','qun',8,['mashu','wushuang','boss_baonu'],['boss','bossallowed'],'wei'], boss_lvbu2:['male','qun',4,['mashu','wushuang','swd_xiuluo','shenwei','shenji'],['hiddenboss'],'qun'], boss_caiwenji:['female','qun',4,['beige','boss_hujia','boss_guihan'],['boss','bossallowed'],'wei'], boss_zhangjiao:['male','qun',8,['boss_leiji','tiandao','jidian'],['boss','bossallowed'],'shu'], boss_zuoci:['male','qun',0,['huanhua'],['boss','bossallowed'],'shu'], // boss_yuji:['male','qun',8,[],['boss','bossallowed'],'nei'], boss_diaochan:['female','qun',4,['fengwu','yunshen','lianji','boss_wange','yuehun'],['boss','bossallowed'],'qun'], boss_huatuo:['male','qun',6,['chulao','mazui','boss_shengshou','guizhen','wuqin'],['boss','bossallowed'],'wu'], boss_dongzhuo:['male','qun',20,['jiuchi','boss_qiangzheng','boss_baolin'],['boss','bossallowed'],'shu'], // boss_shuijing:['male','qun',8,[],['boss','bossallowed'],'wei'], }, skill:{ boss_leiji:{ audio:2, trigger:{player:'respond'}, filter:function(event,player){ return event.card.name=='shan'; }, direct:true, content:function(){ "step 0"; player.chooseTarget('是否发动雷击?').ai=function(target){ return ai.get.damageEffect(target,player,player,'thunder'); }; "step 1" if(result.bool){ player.logSkill('diyleiji',result.targets,'thunder'); event.target=result.targets[0]; event.target.judge(function(card){ // var suit=get.suit(card); // if(suit=='spade') return -4; // if(suit=='club') return -2; if(get.color(card)=='black') return -2; return 0; }); } else{ event.finish(); } "step 2" if(result.bool==false){ event.target.damage('thunder'); player.draw(); } }, ai:{ effect:{ target:function(card,player,target,current){ if(get.tag(card,'respondShan')){ var hastarget=false; for(var i=0;i2){ if(!target.skills.contains('guidao')) return 0; return [0,hastarget?target.num('h')/4:0]; } if(target.num('h')>3||(be&&target.num('h')>=2)){ return [0,0]; } if(target.num('h')==0){ return [1.5,0]; } if(target.num('h')==1&&!be){ return [1.2,0]; } if(!target.skills.contains('guidao')) return [1,0.05]; return [1,Math.min(0.5,(target.num('h')+be)/4)]; } } } } }, wuqin:{ trigger:{player:'phaseEnd'}, filter:function(event,player){ return player.num('h')==0; }, content:function(){ player.draw(3) } }, boss_baolin:{ inherit:'juece', }, boss_qiangzheng:{ trigger:{player:'phaseEnd'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i=3; }, content:function(){ "step 0" player.chooseTarget(function(card,player,target){ return target!=player; }).ai=function(){ return 1; } "step 1" if(result.bool){ player.logSkill('boss_konghun',result.targets); result.targets[0].goMad(); } }, group:'boss_konghun2' }, boss_konghun2:{ trigger:{player:'phaseBegin'}, forced:true, popup:false, content:function(){ var players=game.players.concat(game.dead); for(var i=0;i1){ num--; } else{ num++; } } return num; } } } }, huanhua:{ trigger:{global:'gameDrawAfter'}, forced:true, unique:true, content:function(){ for(var i=0;i1; }, content:function(){ "step 0" event.players=get.players(player); event.num=0; "step 1" if(event.players.length){ event.players.shift().loseHp(); event.redo(); } } }, wuxin:{ inherit:'miles_xueyi', group:'swd_wuxie' }, shenwei:{ unique:true, trigger:{player:'phaseDrawBegin'}, forced:true, content:function(){ trigger.num+=Math.max(2,game.players.length-1); }, mod:{ maxHandcard:function(player,current){ return current+Math.max(2,game.players.length-1); } } }, shenji:{ unique:true, mod:{ selectTarget:function(card,player,range){ if(card.name=='sha'||card.name=='juedou') range[1]=3; }, } }, boss_baonu:{ unique:true, group:'boss_baonu2', trigger:{player:'changeHp'}, forced:true, priority:100, filter:function(event,player){ return player.hp<=4 }, content:function(){ player.init('boss_lvbu2'); player.update(); ui.clear(); while(_status.event.name!='phaseLoop'){ _status.event=_status.event.parent; } for(var i=0;i1) return [0,2]; if(num&&Math.random()<0.7) return [0,1]; } } } } } }, boss_baonu2:{ trigger:{player:'gameDrawBegin'}, forced:true, popup:false, content:function(){ player.draw(4,false); } }, }, translate:{ boss_qiangzheng:'强征', boss_qiangzheng_info:'锁定技,回合结束阶段,你获得每个敌方角色的一张手牌', boss_baolin:'暴凌', guizhen:'归真', guizhen_info:'每当你失去最后一张手牌,你可以所有敌人失去全部手牌,没有手牌的角色失去一点体力(不触发技能)', boss_shengshou:'圣手', boss_shengshou_info:'每当你使用一张牌,你可以进行一次判定,若为红色,你回复一点体力', wuqin:'五禽戏', wuqin_info:'回合结束阶段,若你没有手牌,可以摸三张牌', boss_konghun:'控心', boss_konghun_info:'回合结束阶段,你可以指定一名敌人令其进入混乱状态(不受对方控制,并将队友视为敌人)直到下一回合开始', yuehun:'月魂', yuehun_info:'回合开始阶段,你可以回复一点体力并摸两张牌', fengwu:'风舞', fengwu_info:'出牌阶段限一次,可令除你外的所有角色依次对与其距离最近的另一名角色使用一张【杀】,无法如此做者失去1点体力。', boss_wange:'笙歌', huanhua:'幻化', huanhua_info:'锁定技,游戏开始时,你获得其他角色的所有技能,体力上限变为其他角色之和;其他角色于摸牌阶段摸牌时,你摸等量的牌;其他角色于弃牌阶段弃牌时,你弃置等量的手牌', boss_leiji:'雷击', boss_leiji_info:'每当你使用或打出一张【闪】,可令任意一名角色进行一次判定,若结果为黑色,其受到一点雷电伤害,然后你摸一张牌', jidian:'亟电', jidian_info:'每当你造成一次伤害,可以指定距离受伤害角色1以内的一名其他角色进行判定,若结果为黑色,该角色受到一点雷电伤害', tinqin:'听琴', boss_guihan:'归汉', boss_guihan_info:'限定技,濒死阶段,你可以将体力回复至体力上限,摸4张牌,令所有敌人的技能恢复,并获得技能【听琴】、【蕙质】', boss_huixin:'蕙质', boss_huixin_info:'每当你于回合外失去牌,可以进行一次判定,若为黑色,当前回合角色失去一点体力,否则你回复一点体力并摸一张牌', boss_hujia:'胡笳', boss_hujia_info:'回合结束阶段,若你已受伤,可以弃置一张牌令一名其他角色的所有技能失效,若其所有技能已失效,改为令其失去一点体力上限', boss_honglian:'红莲', boss_honglian_info:'锁定技,回合结束阶段,你摸两张牌,并对所有敌人造成一点火焰伤害', huoshen:'火神', huoshen_info:'锁定技,你防止即将受到的火焰伤害,改为回复1点体力', boss_xianyin:'仙音', boss_xianyin_info:'每当你于回合外失去牌,你可以进行一次判定,若为红色,你令一名敌人失去一点体力', // boss_yuhuo:'浴火', // boss_yuhuo_info:'觉醒技,在你涅槃后,你获得技能【神威】、【朱羽】', boss_tianyu:'天狱', boss_jizhi:'集智', boss_jizhi_info:'每当你使用一张锦囊牌或装备牌,你可以摸一张牌并展示之', boss_guiyin:'归隐', boss_guiyin_info:'锁定技,体力值比你多的角色无法在回合内对你使用卡牌', boss_gongshen:'工神', boss_gongshen_info:'锁定技,除你之外的角色没有装备区;你不能成为其他角色的的延时锦囊目标', fanghua:'芳华', fanghua_info:'回合结束阶段,你可以令所有已翻面角色流失一点体力', tashui:'踏水', tashui_info:'每当你使用或打出一张黑色牌,你可以令一名其他角色翻面', wuxin:'无心', wuxin_info:'锁定技,你防止即将受到的伤害,改为流失一点体力;你不能成为其他角色的延时锦囊的目标', shangshix:'伤逝', shangshix2:'伤逝', shangshix_info:'锁定技,你的手牌数至少为4,回合结束阶段,若你的体力值大于1,你令场上所有角色流失一点体力', boss_baonu:'暴怒', boss_baonu_info:'锁定技,当你的体力值降至4或更低时,你变身为暴怒战神,并立即开始你的回合', shenwei:'神威', shenwei_info:'锁定技,摸牌阶段,你额外摸X张牌,你的手牌上限+X,X为敌方存活角色个数且至少为2', shenji:'神戟', shenji_info:'你使用的杀或决斗可指定至多3名角色为目标', boss_shuijing:'水镜先生', boss_huangyueying:'奇智女杰', boss_zhangchunhua:'冷血皇后', boss_satan:'堕落天使', boss_dongzhuo:'乱世魔王', boss_lvbu1:'最强神话', boss_lvbu2:'暴怒战神', boss_zhouyu:'赤壁火神', boss_pangtong:'涅盘凤雏', boss_zhugeliang:'祭风卧龙', boss_zhangjiao:'天公将军', boss_zuoci:'迷之仙人', boss_yuji:'琅琊道士', boss_liubei:'蜀汉烈帝', boss_caiwenji:'异乡孤女', boss_huatuo:'药坛圣手', boss_luxun:'蹁跹君子', boss_zhenji:'洛水仙子', boss_diaochan:'绝代妖姬', } };