'use strict'; mode.stone={ element:{ stonecharacter:{ type:'stonecharacter', color:'white', opacity:1, enable:function(event,player){ return player.canAddFellow(); }, chongzhu:true, textShadow:'black 0 0 2px', notarget:true, content:function(){ "step 0" var name=card.name.slice(0,card.name.indexOf('_stonecharacter')); var added=false; var i; for(i=0;i=100){ _status.friendRage=100; ui.friendBar.fillnode.style.top='-50%'; ui.friendBar.classList.add('full'); } else{ ui.friendBar.fillnode.style.top=(100-_status.friendRage)+'%'; ui.friendBar.classList.remove('full'); } } else{ if(_status.enemyRage<100){ popup=ui.enemyBar; } _status.enemyRage+=num; if(_status.enemyRage<0){ _status.enemyRage=0; } if(_status.enemyRage>=100){ _status.enemyRage=100; ui.enemyBar.fillnode.style.top='-50%'; ui.enemyBar.classList.add('full'); } else{ ui.enemyBar.fillnode.style.top=(100-_status.enemyRage)+'%'; ui.enemyBar.classList.remove('full'); } } if(num>0&&popup){ var node=ui.create.div('.skillbartext',num.toString(),popup); ui.refresh(node); node.style.opacity=1; setTimeout(function(){ node.delete(); },700); } }, drawDeck:function(num,log){ if(this.isMin()){ this.draw(num,log); return; } if(!num){ num=1; } if(log==false){ this.directgain(this.getDeckCards(num)); } else if(log==true){ this.directgain(this.getDeckCards(num)); game.log(this,'从牌库中获得了'+get.cnNumber(num)+'张牌'); } else{ this.gain(this.getDeckCards(num),'draw'); game.log(this,'从牌库中获得了'+get.cnNumber(num)+'张牌'); } }, updateActCount:function(used,countx,current){ if(_status.video){ this.actcount=countx||2; } else{ game.addVideo('updateActCount',this,[used,this.actcount,this.getActCount()]); } var maxcount,overflow2; if(lib.config.layout=='default'||used=='outphase'||_status.currentPhase!=this){ maxcount=this.actcount; } else{ if(_status.video){ maxcount=this.actcount-(current||0); } else{ maxcount=this.actcount-this.getActCount(); } if(this.actcount>maxcount){ maxcount=this.actcount; } if(maxcount>12){ maxcount=this.actcount+1; this.node.actcount.classList.add('overflow2'); } else{ this.node.actcount.classList.remove('overflow2'); } } for(var i=0;i<12;i++){ if(maxcount>this.node.actcount.childElementCount){ ui.create.div(this.node.actcount); } else if(maxcount=this.actcount){ this.node.actcount.childNodes[i].classList.add('overflow'); } else{ this.node.actcount.childNodes[i].classList.remove('overflow'); } } else{ this.node.actcount.childNodes[i].classList.add('lost'); this.node.actcount.childNodes[i].classList.remove('overflow'); } } } }, getAct:function(){ return this.actcount-this.getActCount(); }, hasFellowSkill:function(skill,exclude){ for(var i=0;i=0){ this.actcharacterlist[index]=null; } return this; }, dieAfter:function(source){ var dead=this; if(game.me.isDead()){ if(!_status.mylist.length){ _status.friendCount.innerHTML='友军: '+get.cnNumber(0); game.over(false); } else{ game.pause(); _status.deadfriend.push(this); game.additionaldead.push(this); setTimeout(function(){ var player=ui.create.player(); player.classList.add('noidentity'); player.dataset.position=dead.dataset.position; player.side=dead.side; player.actcharacterlist=dead.actcharacterlist; player.animate('replaceme'); player.actcount=game.enemy.actcount; player.actcount=dead.actcount; if(_status.double_character){ player.init(_status.mylist.shift(),_status.mylist.shift()); } else{ player.init(_status.mylist.shift()); } player.maxHp++; player.hp++; if(_status.mode=='deck'){ get.deck(player,_status.deck.shift()); } game.players.push(player); ui.arena.appendChild(player); game.addVideo('stoneSwap',null,{ name:player.name, name2:player.name2, position:player.dataset.position, actcount:player.actcount, me:true }); game.swapControl(player); game.arrangePlayers(); if(_status.mode=='deck'){ var nd=game.enemy.countFellow(); if(nd){ player.draw(3+nd,{drawDeck:nd},false); } else{ player.draw(3,false); } } else{ player.draw(3+game.enemy.countFellow(),false); } game.resume(); game.updateStatusCount(); },lib.config.duration); } } else if(game.enemy.isDead()){ if(!_status.enemylist.length){ _status.enemyCount.innerHTML='敌军: '+get.cnNumber(0); game.over(true); } else{ game.pause(); _status.deadenemy.push(this); game.additionaldead.push(this); setTimeout(function(){ var player=ui.create.player(); player.classList.add('noidentity'); player.dataset.position=dead.dataset.position; player.side=dead.side; player.actcharacterlist=dead.actcharacterlist; player.animate('replaceenemy'); player.actcount=dead.actcount; if(_status.double_character){ player.init(_status.enemylist.shift(),_status.enemylist.shift()); } else{ player.init(_status.enemylist.shift()); } player.maxHp++; player.hp++; if(_status.mode=='deck'){ get.deck(player,'random'); } game.players.push(player); game.enemy=player; ui.arena.appendChild(player); game.addVideo('stoneSwap',null,{ name:player.name, name2:player.name2, position:player.dataset.position, actcount:player.actcount, }); game.arrangePlayers(); if(_status.mode=='deck'){ var nd=game.me.countFellow(); if(nd){ player.draw(3+nd,{drawDeck:nd},false); } else{ player.draw(3,false); } } else{ player.draw(3+game.me.countFellow(),false); } game.resume(); game.updateStatusCount(); },lib.config.duration); } } if(source&&source.side!=this.side&&!source.isMin()){ source.draw(2); source.actused--; source.updateActCount(); } game.dead.remove(this); game.arrangePlayers(); this.getLeader().removeFellow(this); setTimeout(function(){ dead.delete(); },500); } } }, beastList:['stone_misha','stone_leiouke','stone_huofu','stone_caoyuanshi','stone_jiewangzhu', 'stone_huangjialeixiang','stone_damoshatuo','stone_tujiu','stone_senlinlang', 'stone_fennuxiaoji','stone_juxingchanchu','stone_yanjingshe','stone_yuanhou' ], cardPack:{ mode_stone:[ 'spell_xiaoshi','spell_chenmo','spell_morizaihuo','spell_shengerpingdeng','spell_jingshenkongzhi','spell_anyingkuangluan', 'spell_binghuan','spell_yanmie','spell_zhiliaozhichu','spell_wangzhezhufu','spell_diyulieyan','spell_zhiliaoshui', 'spell_hanbingjian','spell_huoqiushu','spell_bianxingshu','spell_aoshuzhihui','spell_baofengxue','spell_lieyanfengbao', 'spell_shandianfengbao','spell_chazhuangshandian','spell_yaoshu','spell_shixue','spell_lianhuanbaolie','spell_yexinglanghun', 'spell_fuchouzhinu','spell_liliangzhufu','spell_fennuzhichui','spell_fengxian','spell_zuozhandongyuan','spell_shengliaoshu', 'spell_cigu','spell_modaoyou','spell_jianrenluanwu','spell_daoshan','spell_cisha','spell_sijidaifa', 'spell_huotigenxu','spell_wuyashenxiang','spell_ziranzhili','spell_yemanpaoxiao','spell_hengsao','spell_yexingchengzhang', 'spell_xishengqiyue','spell_zuzhou','spell_xiaoguibaopo','spell_emozhinu','spell_anyinglieyan','spell_liliangdaijia', 'spell_shenshengxinxing','spell_shengguangzhadan','spell_maizang','spell_xinlingshijie','spell_naluzhiguang','spell_zhiliaozhihuan', 'spell_nuxi','spell_dunpaimengji','spell_zhansha','spell_nuhuozhongshao','spell_xuanfengzhan','spell_juemingluandou', 'spell_lierenyinji','spell_kuaisusheji','spell_guanmenfanggou','spell_zhaohuanchongwu','spell_zidanshangtang','spell_duochongsheji', 'spell_xianzuzhihun','spell_xianzuzhaohuan','spell_fengnu','spell_shihuawuqi','spell_xianzuzhishi','spell_rongyanbaolie', 'spell_laojiuhuoba','spell_chirehuoba','spell_aoshufeidan','spell_canying','spell_yanbaoshu','spell_hanbingpingzhang','spell_jingxiang', 'spell_mengun','spell_jipao','spell_beici','spell_weijisifu','spell_anzhongpohuai','spell_piaoqie', 'spell_conglinzhihun','spell_heiandiyu','spell_fugen','spell_xingchenzhuiluo','spell_fengnu','spell_ziyang', 'spell_shalumingling','spell_tianjiangzhuqun','spell_tanxianmao','spell_dubiao','spell_qiangfengsheji','spell_zhuizongshu', 'spell_zhenyanshu','spell_enzeshu','spell_anyingxingtai','spell_kuaisuzhiliao','spell_kongxinshu','spell_xinlinghanbao', 'spell_jinyingduijue','spell_zhihuizhufu','spell_shenshengfennu','spell_yongshizhufu','spell_shenpan','spell_zhengqianghaosheng', 'spell_zhongnian','spell_fuchoudaji','spell_yingyongdaji','spell_zhandounuhuo','spell_chongfeng','spell_kuangbao', 'spell_linghunhongxi','spell_siwangchanrao','spell_emozhixin','spell_fushishu','spell_ansezhadan','spell_heianqiyue' ] }, characterPack:{ mode_stone:{ stone_tutengyongshi:['male','wei',4,['shaman_jili'],['minskin','stone'],[4,2,'shaman']], stone_xuejuren:['male','wei',2,['shaman_xueju'],['minskin','stone'],[1,1,'shaman']], stone_tuyuansu:['male','qun',5,['chaofeng'],['minskin','stone'],[5,4,'shaman']], stone_huoyuansu:['male','shu',3,['shaman_huoxi'],['minskin','stone'],[4,3,'shaman']], stone_fachao:['male','wei',3,['shaman_tuteng','shaman_fachao'],['minskin','stone'],[3,0,'shaman']], stone_huoshe:['male','shu',3,['shaman_tuteng','shaman_huoshe'],['minskin','stone'],[3,0,'shaman']], stone_huoli:['male','wei',3,['shaman_tuteng','shaman_huoli'],['minskin','stone'],[2,0,'shaman']], stone_huoyanweishi:['male','shu',4,['shaman_zhuhuo'],['minskin','stone'],[4,1,'shaman']], stone_tutengshi:['female','wei',2,['shaman_peiyu'],['minskin','stone'],[3,3,'shaman']], stone_shachuisaman:['male','qun',3,['shaman_fengnu'],['minskin','stone'],[4,4,'shaman']], stone_wanshiyuansu:['male','qun',3,['shaman_zoushi'],['minskin','stone'],[3,1,'shaman']], stone_shalinxingzhe:['male','qun',4,['shaman_anhun'],['minskin','stone'],[4,2,'shaman']], stone_kuangyedoushi:['male','wu',3,['druid_nuhuo'],['minskin','stone'],[4,2,'druid']], stone_conglinshouwei:['male','wu',3,['druid_huwei'],['minskin','stone'],[4,2,'druid']], stone_baohuzhishu:['male','qun',6,['chaofeng'],['minskin','stone'],[6,4,'druid']], stone_liebao:['male','wei',3,['stone_chongfeng'],['minskin','stone'],[3,2,'druid']], stone_zongxiong:['male','shu',4,['chaofeng'],['minskin','stone'],[4,2,'druid']], stone_baoqishi:['female','wei',2,['druid_chengzhang'],['minskin','stone'],[2,2,'druid']], stone_renyaqishi:['female','wei',1,['druid_renya'],['minskin','stone'],[1,1,'druid']], stone_huangyeqishi:['male','wei',4,['druid_chicheng'],['minskin','stone'],[5,2,'druid']], stone_huoshanxiemu:['male','wei',3,['druid_juhuo','chaofeng'],['minskin','stone'],[5,6,'druid']], stone_conglinxiaoshou:['male','wei',3,['druid_yuehuo'],['minskin','stone'],[4,4,'druid']], stone_lindishuyao:['female','wei',3,['druid_yeyou'],['minskin','stone'],[3,3,'druid']], stone_xunmenglong:['male','wei',2,['druid_qicheng'],['minskin','stone'],[3,3,'druid']], stone_caoyuanshi:['male','qun',5,['hunter_nuhou'],['minskin','stone'],[5,2,'hunter']], stone_leiouke:['male','shu',3,['hunter_zhanhuo'],['minskin','stone'],[3,1,'hunter']], stone_huofu:['male','qun',2,['stone_chongfeng'],['minskin','stone'],[3,4,'hunter']], stone_misha:['male','shu',3,['chaofeng'],['minskin','stone'],[3,3,'hunter']], stone_jiewangzhu:['male','wu',1,['hunter_jiewang'],['minskin','stone'],[1,2,'hunter']], stone_xunshoushi:['male','qun',2,['hunter_xunshou'],['minskin','stone'],[4,3,'hunter']], stone_senlinlang:['male','qun',1,['hunter_qunxi'],['minskin','stone'],[1,2,'hunter']], stone_tujiu:['male','qun',3,['hunter_mishi'],['minskin','stone'],[3,2,'hunter']], stone_muyangren:['male','qun',3,['hunter_muyang'],['minskin','stone'],[4,3,'hunter']], stone_jujishou:['male','qun',2,['hunter_juji'],['minskin','stone'],[2,2,'hunter']], stone_damoshatuo:['male','qun',3,['hunter_dusha'],['minskin','stone'],[3,3,'hunter']], stone_huangjialeixiang:['male','qun',2,['hunter_chuanlin'],['minskin','stone'],[2,3,'hunter']], stone_shuiyuansu:['male','wei',4,['mage_bingdong'],['minskin','stone'],[4,2,'mage']], stone_wushixuetu:['female','wu',1,['mage_zhufa'],['minskin','stone'],[1,2,'mage']], stone_huoyao:['male','shu',3,['mage_lieyan'],['minskin','stone'],[3,1,'mage']], stone_falifulong:['male','shu',2,['mage_tunfa'],['minskin','stone'],[1,1,'mage']], stone_yingxiongzhihun:['male','wei',1,['mage_minghuo'],['minskin','stone'],[1,2,'mage']], stone_shifazhe:['male','qun',3,['mage_shifa'],['minskin','stone'],[3,3,'mage']], stone_aoshushi:['male','qun',3,['mage_aoshu'],['minskin','stone'],[3,2,'mage']], stone_faqishi:['male','qun',4,['mage_jili'],['minskin','stone'],[4,2,'mage']], stone_fuhuokaijia:['male','qun',3,['mage_gushou'],['minskin','stone'],[3,3,'mage']], stone_kaodalalong:['male','qun',4,['mage_yufa'],['minskin','stone'],[5,4,'mage']], stone_yanshushi:['male','qun',2,['mage_yanshu'],['minskin','stone'],[4,4,'mage']], stone_xulingwushi:['male','qun',2,['mage_pingxu'],['minskin','stone'],[3,3,'mage']], stone_hudunren:['male','qun',2,['paladin_hudun'],['minskin','stone'],[2,2,'paladin']], stone_junxuguan:['male','qun',3,['paladin_buji'],['minskin','stone'],[4,1,'paladin']], stone_yurenqishi:['male','qun',2,['paladin_zhaochao'],['minskin','stone'],[4,2,'paladin']], stone_chidunweishi:['male','qun',3,['paladin_chidun'],['minskin','stone'],[3,2,'paladin']], stone_liewangshouwei:['male','qun',5,['paladin_shouwei'],['minskin','stone'],[5,2,'paladin']], stone_longwangpeiou:['female','qun',4,['paladin_zhaohuan'],['minskin','stone'],[5,4,'paladin']], stone_baoweizhe:['male','qun',2,['paladin_baowei'],['minskin','stone'],[2,1,'paladin']], stone_guiqishi:['male','qun',5,['paladin_tuxi'],['minskin','stone'],[5,4,'paladin']], stone_shenmiqishou:['male','qun',4,['paladin_miying'],['minskin','stone'],[5,4,'paladin']], stone_shixiangweishi:['female','qun',3,['paladin_huashi'],['minskin','stone'],[3,3,'paladin']], stone_xuefanzhanshi:['male','qun',3,['paladin_jinghua'],['minskin','stone'],[4,4,'paladin']], stone_xunmashi:['male','qun',3,['paladin_moma'],['minskin','stone'],[3,2,'paladin']], stone_lieyanxiaogui:['male','qun',2,['warlock_nonghuo'],['minskin','stone'],[1,4,'warlock']], stone_xiaoguishouling:['male','qun',3,['warlock_zhaogui'],['minskin','stone'],[3,1,'warlock']], stone_xiaogui:['male','qun',1,[],['minskin','stone','stonehidden'],[1,1]], stone_kongjuzhanma:['male','qun',1,['warlock_yongsheng'],['minskin','stone'],[3,1,'warlock']], stone_morishouwei:['male','qun',4,['stone_chongfeng','warlock_zaihuo'],['minskin','stone'],[4,4,'warlock']], stone_xukongxingzhe:['male','qun',2,['chaofeng'],['minskin','stone'],[1,1,'warlock']], stone_diyuhuo:['male','qun',4,['warlock_yuhuo'],['minskin','stone'],[5,4,'warlock']], stone_diyuhuox:['male','qun',2,[],['minskin','stone','stonehidden'],[2,2,'warlock']], stone_heishitanfan:['male','qun',2,['warlock_anyu'],['minskin','stone'],[2,2,'warlock']], stone_zhaohuanzhe:['male','qun',3,['warlock_zhaohuan'],['minskin','stone'],[4,2,'warlock']], stone_meimo:['male','qun',3,['warlock_huanmeng'],['minskin','stone'],[2,3,'warlock']], stone_tongkunvwang:['male','qun',2,['warlock_tongku'],['minskin','stone'],[2,1,'warlock']], stone_xukongkongmo:['male','qun',3,['warlock_tunshi'],['minskin','stone'],[3,3,'warlock']], stone_fukongmoyan:['male','qun',4,['warlock_shijie'],['minskin','stone'],[5,4,'warlock']], stone_zhihuiguan:['female','qun',2,['warrior_tongling'],['minskin','stone'],[2,2,'warrior']], stone_kuangzhanshi:['male','qun',2,['warrior_baoluan'],['minskin','stone'],[3,1,'warrior']], stone_zhujiashi:['male','qun',2,['warrior_zhujia'],['minskin','stone'],[2,1,'warrior']], stone_jiangong:['male','qun',2,['warrior_jiangong'],['minskin','stone'],[2,2,'warrior']], stone_chidunshinv:['female','qun',4,['warrior_tidun'],['minskin','stone'],[5,4,'warrior']], stone_yuanhou:['male','qun',2,['chaofeng'],['minskin','stone'],[2,3,'warrior']], stone_heiyaoyaoshou:['male','qun',4,['warrior_heiyao'],['minskin','stone'],[5,4,'warrior']], stone_honglongyongshi:['male','qun',2,['warrior_fenyong'],['minskin','stone'],[2,3,'warrior']], stone_peilianshi:['male','qun',2,['chaofeng','warrior_peilian'],['minskin','stone'],[2,2,'warrior']], stone_jingyingweishi:['male','qun',3,['stone_chongfeng'],['minskin','stone'],[4,3,'warrior']], stone_mengmaren:['male','qun',3,['warrior_chuanci'],['minskin','stone'],[4,4,'warrior']], stone_zhifuzhe:['male','qun',2,['warrior_zhifu'],['minskin','stone'],[3,1,'warrior']], stone_daomufeizei:['male','qun',3,['rogue_xunbao'],['minskin','stone'],[4,3,'rogue']], stone_qiezei:['male','qun',2,['rogue_touqie'],['minskin','stone'],[2,2,'rogue']], stone_heitieairen:['male','qun',2,['rogue_qiancang'],['minskin','stone'],[4,3,'rogue']], stone_tegong:['male','qun',2,['rogue_touxi'],['minskin','stone'],[3,3,'rogue']], stone_haidaotoumu:['male','qun',2,['rogue_zhaomu'],['minskin','stone'],[3,2,'rogue']], stone_haidao:['male','qun',1,[],['minskin','stone','stonehidden'],[1,2,'rogue']], stone_cike:['male','qun',1,['rogue_cisha','stone_qianxing'],['minskin','stone'],[1,1,'rogue']], stone_duyanhaidao:['male','qun',2,['rogue_duxing'],['minskin','stone'],[3,4,'rogue']], stone_gangtiewushi:['male','qun',2,['rogue_shoudao'],['minskin','stone'],[3,2,'rogue']], stone_lifaji:['male','qun',2,['rogue_lifa'],['minskin','stone'],[2,2,'rogue']], stone_shihualong:['male','qun',1,['rogue_fusheng'],['minskin','stone'],[3,2,'rogue']], stone_xiushuihaidao:['male','qun',1,['rogue_jielue'],['minskin','stone'],[1,2,'rogue']], stone_zousishangfan:['male','qun',3,['rogue_jiaoyi'],['minskin','stone'],[4,3,'rogue']], stone_beijunmushi:['male','qun',2,['priest_shengliao'],['minskin','stone'],[1,1,'priest']], stone_guanliyuan:['male','qun',2,['priest_faxian'],['minskin','stone'],[2,1,'priest']], stone_linghunjisi:['female','qun',4,['priest_hunwu'],['minskin','stone'],[4,2,'priest']], stone_heianjiaotu:['male','qun',3,['priest_zhufu'],['minskin','stone'],[3,2,'priest']], stone_guangyaozhizi:['male','qun',3,['priest_guangyao'],['minskin','stone'],[5,3,'priest']], stone_longmianjiaoguan:['male','qun',2,['priest_xundao'],['minskin','stone'],[2,2,'priest']], stone_shengdianzhishi:['male','qun',4,['priest_puzhao'],['minskin','stone'],[5,4,'priest']], stone_suoxiaojishi:['male','qun',2,['priest_suoxiao'],['minskin','stone'],[2,2,'priest']], stone_anyingzisi:['male','qun',3,['priest_shixin'],['minskin','stone'],[4,4,'priest']], stone_guangmingquan:['male','qun',3,['priest_shengshui'],['minskin','stone'],[2,0,'priest']], stone_muguangchulong:['male','qun',2,['priest_muguang'],['minskin','stone'],[1,1,'priest']], stone_shenshengyongshi:['male','qun',3,['priest_shengguang'],['minskin','stone'],[4,3,'priest']], stone_zhongshi:['male','wei',1,['stone_zhongshi1'],['minskin','stone'],[1,2]], stone_zhucangzhe:['male','wei',1,['stone_zhucangzhe1'],['minskin','stone'],[1,2]], stone_huoqiangshou:['male','wei',3,['stone_huoqiangshou1'],['minskin','stone'],[3,1]], stone_lansaizhanshi:['male','shu',1,['stone_chongfeng'],['minskin','stone'],[1,2]], stone_kutongsiseng:['male','shu',1,['stone_kutongsiseng1'],['minskin','stone'],[1,2]], stone_yuanguanying:['male','shu',3,['stone_yuanguanying1'],['minskin','stone'],[3,1]], stone_dijieshicong:['male','wu',2,['stone_dijieshicong1'],['minskin','stone'],[1,1]], stone_yaosaishouwei:['male','wu',2,['stone_yaosaishouwei1'],['minskin','stone'],[1,1]], stone_famingjia:['male','wu',3,['stone_famingjia1'],['minskin','stone'],[3,1]], stone_chilundashi:['male','qun',2,['stone_chilundashi1'],['minskin','stone'],[1,1]], stone_hanguangzhizhe:['male','qun',2,['stone_hanguangzhizhe1'],['minskin','stone'],[2,2]], stone_aihaozhihun:['male','qun',3,['stone_aihaozhihun1'],['minskin','stone'],[3,1]], stone_fennuxiaoji:['male','qun',1,['stone_fennuxiaoji1'],['minskin','stone'],[1,2]], stone_juxingchanchu:['male','qun',2,['stone_juxingchanchu1'],['minskin','stone'],[2,1]], stone_wuyi:['male','qun',1,['jijiu'],['minskin','stone'],[2,2]], stone_langren:['male','qun',1,['stone_qianxing'],['minskin','stone'],[1,2]], stone_shishigui:['male','qun',2,['stone_shishigui1'],['minskin','stone'],[2,1]], stone_fatiaozhuru:['female','qun',1,['stone_fatiaozhuru1'],['minskin','stone'],[1,2]], stone_mingguangjisi:['female','wu',2,['shushen'],['minskin','stone'],[2,1]], stone_nianqingjisi:['female','wei',2,['stone_zhufu'],['minskin','stone'],[2,1]], stone_aomishouwei:['female','qun',1,['biyue'],['minskin','stone'],[2,2]], stone_yanjingshe:['female','qun',2,['stone_yanjingshe1'],['minskin','stone'],[3,2]], stone_zhiyuzhe:['female','qun',3,['stone_zhiyu'],['minskin','stone'],[3,1]], stone_mafengzhuru:['female','qun',1,['stone_mafengzhuru1'],['minskin','stone'],[1,2]], stone_shumiao:['none','wu',1,[],['minskin','stone','stonehidden'],[1,1]], stone_shuren:['none','wu',2,['stone_chongfeng','stone_zibao'],['minskin','stone','stonehidden'],[2,2]], stone_shurenx:['none','wu',2,[],['minskin','stone','stonehidden'],[2,2]], stone_shurenxx:['none','wu',2,['chaofeng'],['minskin','stone','stonehidden'],[2,2]], stone_youlinglang:['none','qun',2,['chaofeng'],['minskin','stone','stonehidden'],[2,2]], stone_xiaojingling:['none','qun',1,['xuying'],['minskin','stone','stonehidden'],[1,1]], stone_zhumo:['none','qun',2,[],['minskin','stone','stonehidden'],[2,2]], stone_jingxiang:['none','qun',2,['stone_jingxiang','chaofeng'],['minskin','stone','stonehidden'],[2,0]], stone_shengguanghuwei:['female','qun',2,['priest_shengguang'],['minskin','stone','stonehidden'],[1,1]], stone_liegou:['none','qun',1,['stone_chongfeng'],['minskin','stone','stonehidden'],[1,2]], stone_mianyang:['none','qun',1,['mage_mianyang'],['minskin','stone','stonehidden'],[1,0]], stone_qingwa:['none','wu',1,['shaman_qingwa'],['minskin','stone','stonehidden'],[1,0]], stone_shengjiachong:['none','qun',1,['chaofeng'],['minskin','stone','stonehidden'],[1,1]], stone_tuteng1:['none','qun',2,['shaman_tuteng','chaofeng'],['minskin','stone','stonehidden'],[2,0]], stone_tuteng2:['none','qun',2,['shaman_tuteng','shaman_zhuore'],['minskin','stone','stonehidden'],[2,0]], stone_tuteng3:['none','qun',2,['shaman_tuteng','shaman_fali'],['minskin','stone','stonehidden'],[2,0]], stone_tuteng4:['none','qun',2,['shaman_tuteng','shaman_zhiliao'],['minskin','stone','stonehidden'],[2,0]], stone_xinbing:['none','qun',2,[],['minskin','stone','stonehidden'],[2,1]], stone_siwangzhiyi:['male','qun',6,['stone_mieshi'],['minskin','stone','stonehidden','stonelegend'],[6,6]], stone_alaikesita:['female','qun',5,['stone_fushi'],['minskin','stone','stonehidden','stonelegend'],[6,5]], stone_yisela:['female','qun',6,['stone_chenshui'],['minskin','stone','stonehidden','stonelegend'],[6,2]], stone_nuoziduomu:['male','qun',5,['stone_shixu'],['minskin','stone','stonehidden','stonelegend'],[6,5]], stone_maligousi:['male','qun',6,['stone_mowang'],['minskin','stone','stonehidden','stonelegend'],[6,2]], stone_aolajier:['male','qun',6,['stone_chongfeng','shaman_fengnu','paladin_hudun','chaofeng'],['minskin','stone','stonehidden','stonelegend_shaman'],[6,4]], stone_andongni:['male','qun',6,['stone_zhiyin'],['minskin','stone','stonehidden','stonelegend_mage'],[6,4]], stone_jialakesi:['male','qun',6,['stone_bianshen'],['minskin','stone','stonehidden','stonelegend_warlock'],[6,0]], stone_jialakesix:['male','qun',6,['stone_lianyu'],['stonehidden','stonespecial']], stone_kelushi:['male','qun',8,['stone_chongfeng'],['minskin','stone','stonehidden','stonelegend_hunter'],[6,8]], stone_geluomashi:['male','qun',6,['stone_chongfeng','stone_jinu'],['minskin','stone','stonehidden','stonelegend_warrior'],[6,4]], stone_aidewen:['male','qun',3,['stone_lianji'],['minskin','stone','stonehidden','stonelegend_rogue'],[6,3]], stone_sainaliusi:['male','qun',6,['stone_shenyu'],['minskin','stone','stonehidden','stonelegend_druid'],[6,4]], stone_fuding:['male','qun',4,['paladin_hudun','chaofeng','stone_fuchou'],['minskin','stone','stonehidden','stonelegend_paladin'],[6,4]], stone_weilun:['male','qun',6,['stone_shenyou'],['minskin','stone','stonehidden','stonelegend_priest'],[6,6]], } }, careerList:['mage','shaman','druid','paladin','rogue','priest','hunter','warrior','warlock'], game:{ reserveDead:true, bannedcards:['lebu','guiyoujie'], onwash:function(){ if(_status.mode!='deck') return; var list=[]; for(var i=0;i/g,''); }; var observer = new MutationObserver(removeLine); observer.observe(rename,{characterData:true,subtree:true}); rename.addEventListener('keyup',removeLine); var cardDialog=ui.create.cardDialog(true,function(name){ if(lib.card[name].stonehidden) return true; var type=lib.card[name].type; return type!='stonecard'&&type!='stonecharacter'; },{seperate:function(list){ var nl=[],ns=[]; var career={}; var careerspell={}; for(var i=0;i=30){ for(var i=0;i=2){ list.push(i); } } for(var i=0;ib) return 1; if(a'+editing.name+'', listContainer,editDeck); ui.create.div('.menubutton.round',deckitem).dataset.career=editing.content.career; deckitem.name=editing.name; } lib.storage.deckList[editing.name]=editing.content; } game.save('deckList',lib.storage.deckList); listContainer.style.transform=''; deckContainer.classList.remove('shown'); updateCardDialog(); } e.stopPropagation(); }); var listContainer=ui.create.div('.list-container',deckList); for(var i in lib.storage.deckList){ var deckitem=ui.create.div('.deckitem.shadowed',''+i+'', listContainer,editDeck); ui.create.div('.menubutton.round',deckitem).dataset.career=lib.storage.deckList[i].career; deckitem.name=i; } var deckContainer=ui.create.div('.list-container.deck',deckList); }()); ui.deckcontrol=ui.create.system('卡组管理',function(){ // if(lib.config.low_performance){ // ui.arena.style.transform='translateY('+ui.window.offsetHeight+'px)'; // } // else{ // ui.arena.style.top='100%'; // } // ui.arena.style.transform='scale(0.6)'; ui.arena.style.opacity=0; ui.system.style.opacity=0; ui.window.appendChild(ui.deckBuilder); if(ui.deckBuilder.timeout){ clearTimeout(ui.deckBuilder.timeout); delete ui.deckBuilder.timeout; } ui.refresh(ui.deckBuilder); ui.deckBuilder.classList.add('shown'); ui.auto.hide(); ui.pause.hide(); },true); } if(playback){ ui.create.me(); ui.arena.style.display='none'; ui.system.style.display='none'; _status.playback=playback; localStorage.removeItem(lib.configprefix+'playback'); var store=lib.db.transaction(['video'],'readwrite').objectStore('video'); store.get(parseInt(playback)).onsuccess=function(e){ if(e.target.result){ game.playVideoContent(e.target.result.video); } else{ alert('播放失败:找不到录像'); game.reload(); } } event.finish(); } else{ game.prepareArena(2); game.delay(); } ui.arena.classList.add('stone'); "step 2" for(var i=0;i'+game.me.deckCards.length); uiintro.addSmall([game.me.deckCards,'card']); return uiintro; },220); if(get.config('skill_bar')){ _status.rageEnabled=true; ui.friendBar=ui.create.div('.skillbar.right.shadowed.playerbg',ui.arena); ui.enemyBar=ui.create.div('.skillbar.left.shadowed.playerbg',ui.arena); // ui.friendBar.dataset.nature='metal'; // ui.enemyBar.dataset.nature='fire'; ui.create.div('.skillbarshadow',ui.friendBar); ui.create.div('.skillbarshadow',ui.enemyBar); ui.create.div('.skillbarfill',ui.friendBar); ui.create.div('.skillbarfill',ui.enemyBar); ui.friendBar.fillnode=ui.create.div(ui.friendBar.lastChild); ui.enemyBar.fillnode=ui.create.div(ui.enemyBar.lastChild); // ui.friendBar.popnode=ui.create.div('.skillbartext',ui.friendBar); // ui.enemyBar.popnode=ui.create.div('.skillbartext',ui.enemyBar); _status.friendRage=0; _status.enemyRage=0; if(lib.config.touchscreen){ lib.setLongPress(ui.friendBar,ui.click.intro); lib.setLongPress(ui.enemyBar,ui.click.intro); } else{ if(lib.config.hover_all){ lib.setHover(ui.friendBar,ui.click.hoverplayer); lib.setHover(ui.enemyBar,ui.click.hoverplayer); } if(lib.config.right_info){ ui.friendBar.oncontextmenu=ui.click.rightplayer; ui.enemyBar.oncontextmenu=ui.click.rightplayer; } } } } _status.friendCount=ui.create.system('',null,true); _status.enemyCount=ui.create.system('',null,true); game.updateStatusCount(); lib.setPopped(_status.friendCount,function(){ var uiintro=ui.create.dialog('hidden'); if(_status.deadfriend.length){ uiintro.add('已阵亡'); uiintro.add([_status.deadfriend,'player']); } uiintro.add('未上场'); if(_status.mylist.length){ uiintro.add([_status.mylist,'character']); } else{ uiintro.add('(无)') } return uiintro; }); lib.setPopped(_status.enemyCount,function(){ if(_status.deadenemy.length){ var uiintro=ui.create.dialog('hidden'); uiintro.add('已阵亡'); uiintro.add([_status.deadenemy,'player']); return uiintro; } }); game.me.side=Math.random()<0.5; game.enemy.side=!game.me.side; var players=get.players(lib.sort.position); var info=[]; for(var i=0;i'+i+'',buttons,clickButton); ui.create.div('.menubutton.round',deckitem).dataset.career=lib.storage.deckList[i].career; deckitem.name=i; } } for(var i=0;i随机',buttons,clickButton); ui.create.div('.menubutton.round',deckitem).dataset.career=lib.careerList[i]; deckitem.name='random:'+lib.careerList[i]; } event.dialog.open(); } else{ var bn=parseInt(get.config('battle_number')); for(var i=0;ib) return 1; if(a==b) return 0; return -1; }); player.deck=name; player.career=career; if(!player.node.career){ player.node.career=ui.create.div('.menubutton.round.identity',player); player.node.career.dataset.career=career; if(lib.config.touchscreen){ lib.setLongPress(player.node.career,ui.click.intro); } else{ if(lib.config.hover_all){ lib.setHover(player.node.career,ui.click.hoverplayer); } if(lib.config.right_info){ player.node.career.oncontextmenu=ui.click.rightplayer; } } } if(!player.deckCards) player.deckCards=[]; for(var i=0;i=2) return 1; return 0; } } } }, spell_linghunhongxi:{ type:'stonecard', stoneact:4, career:'warlock', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ 'step 0' target.die(); 'step 1' player.recover(); }, ai:{ order:7.5, value:5, useful:5, result:{ target:function(player,target){ return -target.hp-target.num('h')/2; } } } }, spell_fushishu:{ type:'stonecard', stoneact:2, career:'warlock', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&!target.skills.contains('warlock_fushishu'); }, content:function(){ target.addSkill('warlock_fushishu'); }, ai:{ order:7.5, value:5, useful:5, result:{ target:function(player,target){ return -target.hp-target.num('h')/2; } } } }, spell_fuchoudaji:{ type:'stonecard', fullimage:true, enable:true, stoneact:3, career:'warrior', filterTarget:function(card,player,target){ return target.isMin(); }, selectTarget:-1, content:function(){ if(player.hp<=2){ target.damage(3); } else{ target.damage(); } }, ai:{ order:8.9, value:5, useful:5, result:{ target:-1.5 }, tag:{ damage:1, multitarget:1, multineg:1, } } }, spell_yingyongdaji:{ type:'stonecard', stoneact:2, career:'warrior', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.side!=player.side; }, content:function(){ 'step 0' player.damage(2,target); 'step 1' target.damage(2); }, ai:{ order:8, value:5, useful:5, result:{ target:function(player,target){ if(player.hujia>=2) return -1.5; if(player.hujia==1){ if(player.hp>3) return -1.5; return 0; } return 0; } }, tag:{ damage:1, } } }, spell_zhandounuhuo:{ type:'stonecard', fullimage:true, enable:function(event,player){ for(var i=0;i=2) return -1.5; } } return 0; }, tag:{ damage:1 } } } }, spell_jinyingduijue:{ type:'stonecard', stoneact:4, career:'paladin', enable:function(card,player){ var n1=player.countFellow(); var n2=player.getEnemy().countFellow(); return n1>0&&n2>0&&n1+n2>2; }, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, selectTarget:-1, multitarget:true, multiline:true, content:function(){ 'step 0' var maxf=[],maxe=[]; for(var i=0;imaxf[0].hp){ maxf.length=0; maxf.push(targets[i]); } } else{ if(!maxe.length||targets[i].hp==maxe[0].hp){ maxe.push(targets[i]); } else if(targets[i].hp>maxe[0].hp){ maxe.length=0; maxe.push(targets[i]); } } } if(maxf.length){ targets.remove(maxf.randomGet()); } if(maxe.length){ targets.remove(maxe.randomGet()); } targets.sort(lib.sort.seat); event.targets=targets; 'step 1' if(event.targets.length){ event.targets.shift().die(); event.redo(); } }, ai:{ order:9, value:2, useful:2, result:{ player:function(player,target){ return player.getEnemy().countFellow()-player.countFellow(); } } } }, spell_zhihuizhufu:{ type:'stonecard', stoneact:1, career:'paladin', enable:function(card,player){ return !player.isMin(); }, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&!target.skills.contains('paladin_zhihuizhufu'); }, content:function(){ target.addSkill('paladin_zhihuizhufu'); target.storage.paladin_zhihuizhufu=player; }, ai:{ order:2, value:5, useful:5, result:{ player:function(player,target){ return target.hp; } } } }, spell_shenshengfennu:{ type:'stonecard', stoneact:5, career:'paladin', enable:true, fullimage:true, filterTarget:true, content:function(){ 'step 0' event.card=player.getDeckCards()[0]; player.gain(event.card,'gain2'); game.log(player,'获得了',event.card); 'step 1' var num=lib.card[event.card.name].stoneact; if(num&&typeof num=='number'){ target.damage(num); } }, ai:{ order:6, value:2, useful:2, result:{ target:-2 }, tag:{ damage:2 } } }, spell_yongshizhufu:{ type:'stonecard', stoneact:3, career:'paladin', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ target.hp*=2; target.maxHp*=2; target.update(); }, ai:{ order:4, value:2, useful:2, result:{ target:function(player,target){ return Math.max(0,target.hp-1); } } } }, spell_shenpan:{ type:'stonecard', stoneact:2, career:'paladin', enable:function(card,player){ var num=player.getEnemy().countFellow(); return num>0&&num>=player.countFellow(); }, fullimage:true, notarget:true, content:function(){ var target=player.getEnemy().getFellow().randomGet(); player.line(target); target.die(); }, ai:{ order:9, value:4, useful:4, result:{ player:1 } } }, spell_zhengqianghaosheng:{ type:'stonecard', stoneact:2, career:'paladin', enable:function(card,player){ return !player.skills.contains('paladin_zhengqianghaosheng'); }, fullimage:true, filterTarget:function(card,player,target){ return player==target; }, selectTarget:-1, content:function(){ player.addSkill('paladin_zhengqianghaosheng'); }, ai:{ order:3, value:4, useful:4, result:{ player:function(player){ if(player.countFellow()>=2) return 1; return 0; } } } }, spell_zhenyanshu:{ type:'stonecard', stoneact:1, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ target.maxHp++; target.hp++; target.update(); player.drawDeck(); }, ai:{ order:7, value:3, useful:3, result:{ target:function(player,target){ return Math.max(1,10-target.hp); } } } }, spell_enzeshu:{ type:'stonecard', stoneact:3, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ target.maxHp+=3; target.hp+=3; target.update(); }, ai:{ order:5, value:3, useful:3, result:{ target:function(player,target){ return Math.max(1,10-target.hp); } } } }, spell_anyingxingtai:{ type:'stonecard', stoneact:2, career:'priest', chongzhu:true, enable:function(event,player){ if(player.career!='priest') return false; return !player.storage.anyingxingtai||player.storage.anyingxingtai<2; }, fullimage:true, filterTarget:function(card,player,target){ return player==target; }, selectTarget:-1, content:function(){ if(typeof player.storage.anyingxingtai!='number'){ player.storage.anyingxingtai=1; } else if(player.storage.anyingxingtai<2){ player.storage.anyingxingtai=2; } player.markSkill('priest_anyingxingtai'); }, ai:{ order:6.1, value:3, useful:3, result:{ player:1 } } }, spell_kuaisuzhiliao:{ type:'stonecard', stoneact:2, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ if(player.hasFellowSkill('priest_hunwu')){ return true; } return target.hp=2) return 1; } } return 0; } } } }, spell_heiandiyu:{ fullimage:true, type:'stonecard', enable:true, stoneact:4, career:'druid', filterTarget:function(card,player,target){ return target.isMin(); }, multitarget:true, targetprompt:['增加体力并摸牌'], selectTarget:[0,1], notarget:true, content:function(){ 'step 0' if(targets.length){ targets[0].maxHp++; targets[0].hp++; target.update(); targets[0].draw(3); event.finish(); } else{ event.num=0; } 'step 1' if(player.canAddFellow()&&event.num++<10){ player.addFellowAuto('stone_xiaojingling'); event.redo(); } }, ai:{ order:5, result:{ target:function(player,target){ return Math.max(1,target.hp-target.num('h')); }, } } }, spell_ziyang:{ type:'stonecard', stoneact:3, career:'druid', enable:function(card,player){ return player.deckCards&&!player.isMin(); }, fullimage:true, filterTarget:function(card,player,target){ return player==target; }, selectTarget:-1, content:function(){ 'step 0' if(player.skills.contains('druid_ziyang')){ player.drawDeck(3); event.finish(); } else{ player.chooseControl('获得行动值','摸牌').ai=function(){ if(player.num('h')<=1) return '摸牌'; return '获得行动值'; }; } 'step 1' if(result.control=='摸牌'){ player.drawDeck(3); } else{ player.addSkill('druid_ziyang'); } }, ai:{ order:1, value:4, useful:4, result:{ player:1 } } }, spell_xingchenzhuiluo:{ type:'stonecard', fullimage:true, enable:true, stoneact:6, career:'druid', targetprompt:['造成四点伤害'], multitarget:true, filterTarget:function(card,player,target){ return target.side!=player.side; }, selectTarget:[0,1], notarget:true, content:function(){ 'step 0' if(targets.length){ targets[0].damage(4); event.finish(); } else{ var list=player.getFellow(true); if(list.length){ list.sort(lib.sort.seat); event.list=list; player.line(list); } else{ event.finish(); } } 'step 1' if(event.list.length){ event.list.shift().damage(2); event.redo(); } }, ai:{ order:7, useful:5, value:5, result:{ target:function(player,target){ if(target==player.getEnemy()) return -2; return -1; } }, tag:{ damage:2 } } }, spell_fennu:{ type:'stonecard', fullimage:true, enable:true, stoneact:2, career:'druid', filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ 'step 0' player.chooseControl('两点','一点').prompt='造成两点伤害,或造成一点伤害并从牌库中获得一张牌'; 'step 1' if(result.control=='一点'){ target.damage(); } else{ target.damage(2); event.finish(); } 'step 2' player.drawDeck(); }, ai:{ order:8, value:5, useful:5, result:{ target:-1 }, tag:{ damage:2, } } }, spell_fugen:{ type:'stonecard', stoneact:2, career:'druid', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ 'step 0' target.die(); 'step 1' var list=[]; for(var i in lib.card){ if(lib.card[i].stonehidden) continue; if(lib.card[i].type=='stonecharacter'){ list.push(i); } } player.getEnemy().gain(game.createCard(list.randomGet()),'draw'); }, ai:{ order:8.8, value:5, useful:5, result:{ target:function(player,target){ return -target.hp-target.num('h')/2; } } } }, spell_mengun:{ type:'stonecard', stoneact:2, career:'rogue', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.side!=player.side; }, content:function(){ 'step 0' target.die()._triggered=null; event.name=target.name; 'step 1' player.getEnemy().gain(game.createCard(event.name+'_stonecharacter'),'gain2'); }, ai:{ order:8.8, value:5, useful:5, result:{ target:function(player,target){ return -target.hp-target.num('h')/2; } } } }, spell_jipao:{ type:'stonecard', stoneact:3, career:'rogue', enable:function(card,player){ return !player.isMin(); }, fullimage:true, filterTarget:function(card,player,target){ return target==player; }, selectTarget:-1, content:function(){ if(!player.isMin()){ player.drawDeck(4); } }, ai:{ order:1, value:3, useful:3, result:{ player:1 } } }, spell_beici:{ type:'stonecard', stoneact:0, career:'rogue', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.hp==target.maxHp; }, content:function(){ target.loseHp(); }, ai:{ order:9, result:{ target:-1 }, value:6, useful:6, } }, spell_weijisifu:{ type:'stonecard', stoneact:2, career:'rogue', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target==player.getEnemy(); }, selectTarget:-1, content:function(){ if(target.deckCards){ var cards=[]; for(var i=0;i<3;i++){ cards.push(game.createCard('spell_zhumo')); } player.$give(cards,target); for(var i=0;i0; }, stoneact:2, career:'mage', filterTarget:function(card,player,target){ return target.side!=player.side&&target.isMin(); }, selectTarget:-1, multitarget:true, multiline:true, content:function(){ 'step 0' var map=[]; for(var i=0;i1) return target.hp; return 0; } } } }, spell_shihuawuqi:{ type:'stonecard', stoneact:1, career:'shaman', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&!target.skills.contains('shaman_shihuawuqi'); }, content:function(){ target.addSkill('shaman_shihuawuqi'); }, ai:{ order:4, value:4, useful:4, result:{ target:function(player,target){ if(target.isTurnedOver()) return 0; var num=0; if(target.skills.contains('shaman_fengnu')){ num=3; } if(target.isMin()) return target.hp+num; return 1.1; } } } }, spell_xianzuzhaohuan:{ type:'stonecard', stoneact:2, career:'shaman', fullimage:true, enable:true, filterTarget:function(card,player,target){ return !target.isMin(); }, multitarget:true, multiline:true, selectTarget:-1, content:function(){ 'step 0' var hs=targets[0].get('h',function(card){ return get.type(card)=='stonecharacter'; }); if(hs.length&&targets[0].canAddFellow()){ targets[0].useCard(targets[0],hs.randomGet(),false).noActCount=true; } 'step 1' var hs=targets[1].get('h',function(card){ return get.type(card)=='stonecharacter'; }); if(hs.length&&targets[1].canAddFellow()){ targets[1].useCard(targets[1],hs.randomGet(),false).noActCount=true; } }, ai:{ order:9, value:5, useful:5, result:{ player:function(player){ var hs=player.get('h',function(card){ return get.type(card)=='stonecharacter'; }); if(hs.length==0) return 0; var enemy=player.getEnemy(); if(enemy.num('h')<=1) return 1; var num=0; for(var i=0;i=3) return 1; return 0; } } } }, spell_xianzuzhihun:{ type:'stonecard', stoneact:2, career:'shaman', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&!target.skills.contains('shaman_xianzuzhihun'); }, content:function(){ target.addSkill('shaman_xianzuzhihun'); }, ai:{ order:5, value:4, useful:4, result:{ target:function(player,target){ if(lib.card[target.name+'_stonecharacter']){ return lib.card[target.name+'_stonecharacter'].stoneact-1; } return 0; } } } }, spell_xianzuzhishi:{ type:'stonecard', fullimage:true, enable:true, stoneact:0, career:'shaman', filterTarget:function(card,player,target){ return target==player; }, selectTarget:-1, content:function(){ player.drawDeck(2); player.addTempSkill('shaman_xianzuzhishi','phaseAfter'); }, ai:{ order:10, result:{ player:1 } } }, spell_rongyanbaolie:{ type:'stonecard', fullimage:true, enable:true, stoneact:3, career:'shaman', filterTarget:true, content:function(){ 'step 0' target.damage(3,'fire'); 'step 1' player.loseHp(); }, ai:{ order:8, value:6, useful:5, result:{ target:-2 }, tag:{ damage:2, natureDamage:2, fireDamage:2, } } }, spell_shenshengxinxing:{ type:'stonecard', stoneact:5, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ if(player.hasFellowSkill('priest_hunwu')||target.side!=player.side) return true; return target.isDamaged(); }, selectTarget:-1, content:function(){ var num=1; if(player.hasFellowSkill('stone_shenyou')){ num=2; } if(player.side==target.side){ if(player.hasFellowSkill('priest_hunwu')){ target.loseHp(num); } else{ target.recover(num); } } else{ target.damage(); } }, ai:{ order:7, value:5, useful:5, result:{ target:function(player,target){ if(player.hasFellowSkill('priest_hunwu')) return -1; if(player.side==target.side) return 1; return -1; } }, tag:{ damage:1, multitarget:1, multineg:1 } } }, spell_shengguangzhadan:{ type:'stonecard', stoneact:2, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.num('h')>0; }, selectTarget:-1, content:function(){ var num=1; // if(player.hasFellowSkill('stone_shenyou')){ // num=2; // } target.damage(target.num('h')*num); }, ai:{ order:7, value:5, useful:5, result:{ target:function(player,target){ return -Math.min(target.num('h'),target.hp); } }, tag:{ damage:1, multitarget:1, multineg:1 } } }, spell_maizang:{ type:'stonecard', stoneact:3, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.side!=player.side; }, content:function(){ 'step 0' target.die()._triggered=null; 'step 1' if(player.deckCards){ player.deckCards.push(game.createCard(target.name+'_stonecharacter')); } }, ai:{ order:7, value:5, useful:5, result:{ target:function(player,target){ return -target.hp-target.num('h')/2; } } } }, spell_xinlingshijie:{ type:'stonecard', stoneact:0, career:'priest', enable:function(event,player){ return player.getEnemy().num('h')>0; }, fullimage:true, filterTarget:function(card,player,target){ return target==player.getEnemy(); }, selectTarget:-1, content:function(){ var card=target.get('h').randomGet(); if(card){ player.gain(game.createCard(card.name,card.suit,card.number,card.nature),'draw'); } }, ai:{ order:9.5, value:5, useful:5, result:{ player:1 } } }, spell_naluzhiguang:{ type:'stonecard', stoneact:1, career:'priest', enable:true, fullimage:true, filterTarget:function(card,player,target){ if(player.hasFellowSkill('priest_hunwu')){ return true; } return target.hp0; }, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, content:function(){ target.damage(player.hujia); }, ai:{ order:7.2, value:5, useful:5, result:{ target:-1.5, tag:{ damage:1 } } } }, spell_zhansha:{ type:'stonecard', stoneact:1, career:'warrior', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.hp=4) return 1.5; if(target.hp>=3&&target.num('h')=2) return true; } } return false; }, fullimage:true, filterTarget:function(card,player,target){ return target.isMin(); }, selectTarget:-1, content:function(){ 'step 0' targets.randomRemove(); targets.sort(lib.sort.seat); event.list=targets; 'step 1' if(event.list.length){ event.list.shift().die(); event.redo(); } }, ai:{ order:9, value:5, useful:5, result:{ target:-2 } } }, spell_lierenyinji:{ type:'stonecard', stoneact:0, career:'hunter', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target.isMin()&&target.maxHp>1; }, content:function(){ target.loseMaxHp(target.maxHp-1); }, ai:{ order:7, value:5, useful:5, result:{ target:function(player,target){ return 1-target.hp; } } } }, spell_kuaisusheji:{ type:'stonecard', stoneact:2, career:'hunter', enable:true, fullimage:true, filterTarget:true, content:function(){ target.damage(); player.draw(); }, ai:{ order:7, value:5, useful:5, result:{ target:-1.5, }, tag:{ damage:1 } } }, spell_guanmenfanggou:{ type:'stonecard', stoneact:2, career:'hunter', enable:function(event,player){ return player.getEnemy().countFellow()>0&&player.canAddFellow(); }, fullimage:true, filterTarget:function(card,player,target){ return target==player; }, selectTarget:-1, content:function(){ 'step 0' event.num=player.getEnemy().countFellow(); 'step 1' if(player.canAddFellow()&&event.num--){ player.addFellowAuto('stone_liegou'); event.redo(); } }, ai:{ order:7, value:5, useful:5, result:{ target:1 } } }, spell_zhaohuanchongwu:{ type:'stonecard', stoneact:2, career:'hunter', enable:function(event,player){ return player.canAddFellow(); }, fullimage:true, filterTarget:function(card,player,target){ return target==player; }, selectTarget:-1, content:function(){ player.addFellowAuto(lib.beastList.randomGet()); }, ai:{ order:6, value:5, useful:5, result:{ player:1 } } }, spell_zidanshangtang:{ type:'stonecard', stoneact:1, career:'hunter', enable:true, fullimage:true, filterTarget:function(card,player,target){ return target==player; }, selectTarget:-1, content:function(){ var list=['spell_lierenyinji','spell_guanmenfanggou','spell_duochongsheji','spell_kuaisusheji','spell_zhaohuanchongwu']; player.gain(game.createCard(list.randomGet()),'draw'); player.addTempSkill('hunter_zidanshangtang','phaseAfter'); }, ai:{ order:7.5, value:5, useful:5, result:{ player:1 } } }, spell_duochongsheji:{ type:'stonecard', fullimage:true, enable:function(event,player){ for(var i=0;imaxHp){ maxHp=game.players[i].hp; } } } if(list.length<2) return 0; if(list.length==2&&target.hp>=4) return 0; if(target.hp>maxHp) return 1; return target.hp; } }, } }, spell_xishengqiyue:{ type:'stonecard', fullimage:true, enable:true, stoneact:0, career:'warlock', filterTarget:function(card,player,target){ if(!target.isMin()) return false; if(ui.selected.targets.length){ return target.side!=ui.selected.targets[0].side; } return true; }, selectTarget:2, multitarget:true, multiline:true, content:function(){ targets.sort(lib.sort.seat); for(var i=0;i=2) return 1; return 0; } }, } }, spell_hengsao:{ type:'stonecard', fullimage:true, enable:true, stoneact:4, career:'druid', filterTarget:function(card,player,target){ return target.side!=player.side; }, content:function(){ 'step 0' event.list=[]; for(var i=0;i0; }, stoneact:4, career:'paladin', filterTarget:function(card,player,target){ return target.side!=player.side&&target.isMin(); }, selectTarget:-1, multitarget:true, multiline:true, content:function(){ 'step 0' var map=[]; for(var i=0;i1||target.num('he')>0); }, content:function(){ "step 0" target.discard(target.get('he')); "step 1" if(target.maxHp>1){ target.loseMaxHp(target.maxHp-1); } }, ai:{ result:{ target:function(player,target){ return 1-target.hp-target.num('h')/2; } }, order:7 } }, spell_morizaihuo:{ fullimage:true, type:'stonecard', enable:true, filterTarget:function(card,player,target){ return target.isMin(); }, selectTarget:-1, multiline:true, multitarget:true, content:function(){ 'step 0' targets.sort(lib.sort.seat); event.list=targets; 'step 1' if(event.list.length){ event.list.shift().die(); event.redo(); } 'step 2' player.recover(2) }, stoneact:5, ai:{ order:9, result:{ target:-1, player:function(player){ if(player.hp1; }, selectTarget:-1, content:function(){ target.loseMaxHp(target.maxHp-1); }, ai:{ order:9.1, result:{ target:function(player,target){ if(target.hp>1) return -1; if(target.maxHp>1) return -0.1; return 0; } } } }, spell_jingshenkongzhi:{ fullimage:true, type:'stonecard', enable:function(event,player){ if(player.isMin()) return false; return player.canAddFellow(); }, stoneact:5, filterTarget:function(card,player,target){ return target.isMin()&&target.side!=player.side; }, content:function(){ target.getLeader().removeFellow(target); target.side=player.side; player.addFellow(target); }, ai:{ order:9.5, result:{ target:function(player,target){ return -target.hp; } } } }, spell_anyingkuangluan:{ type:'stonecard', fullimage:true, enable:function(event,player){ if(player.isMin()) return false; return player.canAddFellow(); }, stoneact:4, filterTarget:function(card,player,target){ return target.isMin()&&target.side!=player.side; }, content:function(){ target.getLeader().removeFellow(target); target.side=player.side; player.addFellow(target); target.addSkill('spell_anyingkuangluan_die'); }, ai:{ order:9.5, result:{ target:function(player,target){ return -target.hp; } } } }, spell_binghuan:{ fullimage:true, type:'stonecard', enable:true, stoneact:1, filterTarget:function(card,player,target){ return target.isMin(); }, selectTarget:-1, content:function(){ target.turnOver(); }, ai:{ order:7, result:{ target:function(player,target){ if(target.isTurnedOver()) return 1; return -1; } } } }, spell_zhiliaozhichu:{ fullimage:true, type:'stonecard', enable:true, stoneact:1, filterTarget:function(card,player,target){ return target.isMin()&&target.side==player.side&& (!target.skills.contains('chaofeng')||target.hp0){ player.draw(dh); } }, ai:{ order:7, value:1, useful:1, result:{ target:function(player,target){ var ne1=target.num('e'),ne2=player.num('e'); var nh1=target.num('h'),nh2=player.num('h'); if(nh10){ target.discard(target.get('h').randomGets(dh)); } }, ai:{ order:1, value:1, useful:1, result:{ target:function(player,target){ if(target.num('he')>=player.num('h')) return -1; return 0; } } } }, }, skill:{ stone_mieshi:{ trigger:{source:'fellow'}, forced:true, unique:false, filter:function(event,player){ for(var i=0;i0; }, content:function(){ player.addSkill('stone_chongfeng'); if(player.isTurnedOver()){ player.turnOver(); } } }, warrior_peilian:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i1) return true; } return false; }, content:function(){ "step 0" event.chooser=player.getLeader(); event.chooser.chooseTarget('缩小:令一名随从减少两点体力上限',function(card,playerx,target){ return player!=target&&target.isMin()&&target.maxHp>1; }).ai=function(target){ if(ai.get.attitude(player,target)>=0) return 0; if(target.hp==1) return 0.01; if(target.maxHp-target.hp>=2) return 0.01; if(target.maxHp-target.hp==1){ if(target.hp==2) return 1; return 0.1; } switch(target.hp){ case 1:return 0.01; case 2:return 1; case 3:return 2; case 4:return 1.5; case 5:return 1; default:return 0.8; } }; player.line(event.chooser); "step 1" if(result.bool){ event.chooser.line(result.targets[0]); result.targets[0].maxHp-=2; if(result.targets[0].maxHp<1){ result.targets[0].maxHp=1; } result.targets[0].update(); } } }, priest_shixin:{ trigger:{global:'useSkillAfter'}, forced:true, unique:true, filter:function(event,player){ return event.career&&event.player.side==player.side; }, content:function(){ 'step 0' var target=player.getLeader(); target.damage(); player.line(target,'green'); 'step 1' var target=player.getEnemy(); target.damage(); player.line(target,'green'); } }, priest_shengshui:{ trigger:{player:'phaseBegin'}, unique:true, forced:true, filter:function(event,player){ for(var i=0;i0; }, content:function(){ player.maxHp++; player.hp++; player.update(); } }, hunter_mishi:{ trigger:{global:'fellow'}, forced:true, unique:true, filter:function(event,player){ return event.player.side==player.side&&event.source!=player; }, content:function(){ player.draw(); } }, hunter_muyang:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ return player.getLeader().countFellow()>1&&player.getLeader().canAddFellow(); }, content:function(){ var num=player.getLeader().countFellow()-1; var list=[]; for(var i in lib.character){ if(lib.character[i][4].contains('stone')&& !lib.character[i][4].contains('stonehidden')&& lib.character[i][5]&&lib.character[i][5][0]==num){ list.push(i); } } var target=player.getLeader(); if(list.length){ target.addFellowAuto(list.randomGet()); } } }, hunter_juji:{ unique:true }, hunter_dusha:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ 'step 0' var list=[]; var target=player.getLeader(); for(var i=0;i0; }, content:function(){ "step 0" event.chooser=player.getLeader(); event.chooser.chooseToDiscard('是否弃置一张装备牌令'+get.translation(player)+'摸三张牌?', 'he',function(card){ return get.type(card)=='equip'; }).ai=function(card){ return 7-ai.get.value(card); }; "step 1" if(result.bool){ player.draw(3); } } }, rogue_jielue:{ trigger:{global:'equipEnd'}, unique:true, forced:true, filter:function(event,player){ return event.player.side==player.side&&get.subtype(event.card)=='equip1'; }, content:function(){ player.draw(2); }, ai:{ threaten:1.3 } }, rogue_fusheng:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i1){ return true; } } }, content:function(){ var num=1; for(var i=0;inum){ num=game.players[i].hp; } } player.hp=num; player.maxHp=num; player.update(); } }, rogue_lifa:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ 'step 0' var target=player.getLeader(); if(target.get('e','1')){ target=target.getEnemy(); player.line(target,'green'); target.damage(); } else{ player.line(target,'green'); var equip1=get.cardPile(function(card){ return get.subtype(card)=='equip1'; }); if(!equip1){ equip1=game.createCard('qingnang'); } target.equip(equip1); } } }, rogue_shoudao:{ trigger:{global:'phaseEnd'}, forced:true, direct:true, filter:function(event,player){ return event.player==player.getLeader()&&event.player.countFellow()>1; }, content:function(){ 'step 0' var players=get.players(); var targets=[]; for(var i=0;i1){ return true; } } return false; }, content:function(){ "step 0" var list=[]; for(var i=0;i1){ list.push(game.players[i]); } } list.sort(lib.sort.seat); event.list=list; "step 1" if(event.list.length){ var current=event.list.shift(); current.damage(2); player.line(current,'green'); event.redo(); } } }, paladin_tuxi:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ var leader=player.getLeader(); return leader.hp2){ return ai.get.attitude(event.chooser,target)*(2-target.maxHp)/100; } return ai.get.attitude(event.chooser,target)*(2-target.hp); }; player.line(event.chooser); "step 1" if(result.bool){ event.chooser.line(result.targets[0]); result.targets[0].hp=2; result.targets[0].maxHp=2; result.targets[0].update(); } } }, paladin_baowei:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i0&&player.getEnemy().hasFellow(); }, content:function(){ 'step 0' var num=player.getLeader().num('e'); var map=[]; var targets=player.getEnemy().getFellow(); event.targets=targets; for(var i=0;i1; }, content:function(){ var target=player.getLeader(); var num=target.countFellow(); if(num>1){ target.actused-=num-1; target.updateActCount(); } } }, druid_qicheng:{ trigger:{player:'dieBegin'}, forced:true, unique:true, content:function(){ player.getLeader().addSkill('druid_qicheng2'); }, ai:{ threaten:0.8 } }, druid_qicheng2:{ trigger:{global:'dieAfter'}, forced:true, popup:false, filter:function(event,player){ return event.player.skills.contains('druid_qicheng'); }, content:function(){ game.delay(); var list=[]; for(var i in lib.character){ if(lib.character[i][4].contains('stone')&& !lib.character[i][4].contains('stonehidden')&& lib.character[i][5]&&lib.character[i][5][0]==1){ list.push(i); } } player.addFellowAuto(list.randomGet()); player.removeSkill('druid_qicheng2'); } }, druid_renya:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ 'step 0' player.getLeader().chooseControl('冲锋','潜行').ai=function(){ if(Math.random()<0.5) return '潜行'; return '冲锋'; } 'step 1' if(result.control=='潜行'){ player.maxHp++; player.hp++; player.update(); player.addSkill('stone_qianxing'); } else{ player.draw(); player.addSkill('stone_chongfeng'); if(player.isTurnedOver()){ player.turnOver(); } } } }, druid_yuehuo:{ trigger:{global:'damageBegin'}, forced:true, unique:true, filter:function(event){ return event.card&&get.type(event.card)=='trick'&&event.notLink(); }, content:function(){ trigger.num++; }, }, shaman_anhun:{ trigger:{global:'dieAfter'}, forced:true, unique:true, filter:function(event,player){ return event.player.side==player.side; }, content:function(){ player.line(player.getLeader(),'green'); player.getLeader().drawDeck(); } }, shaman_zoushi:{ trigger:{global:'useCardAfter'}, direct:true, unique:true, filter:function(event,player){ return get.type(event.card)=='stonecharacter'&&event.player==player.getLeader(); }, content:function(){ if(!player.storage.shaman_zoushi){ player.storage.shaman_zoushi=true; } else{ var list=[]; for(var i=0;i3) num=3; player.actused-=num; player.updateActCount(); player.removeSkill('spell_sijidaifa'); } }, shaman_qingwa:{ trigger:{player:'phaseDrawBefore'}, forced:true, unique:true, popup:false, content:function(){ trigger.untrigger(); trigger.finish(); }, ai:{ threaten:0 } }, stone_jingxiang:{ trigger:{player:'phaseDrawBefore'}, forced:true, unique:true, popup:false, content:function(){ trigger.untrigger(); trigger.finish(); }, ai:{ effect:{ target:function(card){ if(card.name=='bingliang') return 0; } }, noPhaseDelay:1 } }, mage_mianyang:{ mod:{ cardEnabled:function(card){ if(card.name=='sha') return false; } }, ai:{ threaten:0 } }, priest_xundao:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ return player.getLeader().num('h',{type:'stonecharacter'})>0; }, content:function(){ player.draw(); player.addSkill('chaofeng'); } }, priest_guangyao:{ trigger:{player:'changeHp'}, forced:true, unique:true, filter:function(event){ return event.num!=0; }, content:function(){ player.draw(Math.abs(trigger.num)); }, }, priest_zhufu:{ trigger:{player:'dieBegin'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i0; }, content:function(){ "step 0" event.chooser=player.getLeader(); event.chooser.chooseCardTarget({ position:'e', filterTarget:function(card,player,target){ return player.side!=target.side; }, filterCard:true, ai1:function(card){ return 9-ai.get.value(card); }, ai2:function(target){ return ai.get.damageEffect(target,player,player); }, prompt:'偷袭:弃置一张装备区内的牌并对一名敌方角色一点伤害' }); player.line(event.chooser); "step 1" if(result.bool){ event.chooser.discard(result.cards); event.chooser.line(result.targets[0]); result.targets[0].damage(event.chooser); } } }, rogue_qiancang:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i0; }).ai=function(target){ return target.num('he'); }; player.line(event.chooser); "step 1" if(result.bool){ event.chooser.line(result.targets[0]); game.delay(); result.targets[0].discard(result.targets[0].get('he')); } } }, paladin_zhaochao:{ trigger:{global:'useSkillAfter'}, forced:true, unique:true, filter:function(event,player){ return event.career&&event.player.side==player.side; }, content:function(){ player.draw(2); } }, paladin_buji:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i1) return 'discard_card'; return '造成伤害'; }; event.chooser.line(event.target); game.delay(); } else{ event.finish(); } "step 2" if(result.control=='造成伤害'){ event.target.damage(event.chooser); } else{ event.target.discard(event.target.get('h')); if(event.target.maxHp>1){ event.target.loseMaxHp(event.target.maxHp-1); } } } }, druid_yexingchengzhang:{ trigger:{player:'phaseUseBegin'}, forced:true, mark:true, intro:{ content:'下个出牌阶段开始时获得三点额外行动值', }, content:function(){ player.actused-=3; player.updateActCount(); player.removeSkill('druid_yexingchengzhang'); } }, druid_ziyang:{ trigger:{player:'phaseUseBegin'}, forced:true, mark:true, intro:{ content:'下个出牌阶段开始时获得四点额外行动值', }, content:function(){ player.actused-=4; player.updateActCount(); player.removeSkill('druid_ziyang'); } }, druid_chengzhang:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ var target=player.getLeader(); target.actused--; target.updateActCount(); }, group:'druid_chengzhang2' }, druid_chengzhang2:{ trigger:{player:'dieBegin'}, forced:true, unique:true, content:function(){ player.getLeader().addSkill('druid_chengzhang3'); } }, druid_chengzhang3:{ trigger:{global:'dieAfter'}, forced:true, popup:false, filter:function(event,player){ return event.player.skills.contains('druid_chengzhang'); }, content:function(){ if(player.num('h')){ game.delay(); player.chooseToDiscard('h',true); } player.removeSkill('druid_chengzhang3'); } }, shaman_xueju:{ trigger:{global:'useCard'}, forced:true, unique:true, filter:function(event,player){ return get.type(event.card)=='stonecharacter'&&event.player==player.getLeader(); }, content:function(){ player.draw(); } }, shaman_huoxi:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;iplayer.actcount) return false; if(player.storage.anyingxingtai) return false; return true; }, usable:1, prompt:function(event){ if(event.player.hasFellowSkill('priest_hunwu')) return '令目标流失一点体力'; return '回复一点体力'; }, filterTarget:function(card,player,target){ if(player.hasFellowSkill('priest_hunwu')) return true; return target.hpplayer.actcount) return false; if(!player.storage.anyingxingtai) return false; return true; }, usable:1, prompt:function(event,player){ return '造成'+get.cnNumber(_status.event.player.storage.anyingxingtai)+'点伤害'; }, filterTarget:true, content:function(){ player.actused+=2; player.updateActCount(); event.parent.career='priest'; var num=1; // if(player.hasFellowSkill('stone_shenyou')){ // num=2; // } target.damage(player.storage.anyingxingtai*num); }, ai:{ order:2, result:{ target:function(player,target){ return ai.get.damageEffect(target,player,target); } } } }, _mage_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.career!='mage') return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, line:'fire', filterTarget:function(card,player,target){ return !target.career; }, content:function(){ player.actused+=2; player.updateActCount(); target.damage('fire'); event.parent.career='mage'; }, ai:{ order:2, result:{ target:function(player,target){ return ai.get.damageEffect(target,player,target,'fire'); } } } }, _warlock_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.skills.contains('stone_lianyu')) return false; if(player.career!='warlock') return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, content:function(){ player.actused+=2; player.updateActCount(); player.drawDeck(2); event.parent.career='warlock'; }, ai:{ order:0.5, result:{ player:1 } } }, _warlock_skillx:{ enable:'phaseUse', filter:function(event,player){ if(!player.skills.contains('stone_lianyu')) return false; if(player.career!='warlock') return false; if(player.getActCount()+2>player.actcount) return false; if(!player.canAddFellow()) return false; return true; }, usable:1, content:function(){ 'step 0' player.actused+=2; player.updateActCount(); event.parent.career='warlock'; player.addFellowAuto('stone_diyuhuox'); 'step 1' var num=player.storage.stone_lianyu; if(num&&get.itemtype(result)=='player'){ result.maxHp+=num; result.hp+=num; result.directgain(get.cards(num)); } }, ai:{ order:0.5, result:{ player:1 } } }, _hunter_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.career!='hunter') return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, prompt:function(event){ if(event.player.hasFellowSkill('hunter_juji')) return '造成一点伤害'; return '对敌方主将造成一点伤害'; }, selectTarget:function(){ if(_status.event.player.hasFellowSkill('hunter_juji')) return 1; return -1; }, filterTarget:function(card,player,target){ if(player.hasFellowSkill('hunter_juji')) return target!=player; return target.career&&target.side!=player.side; }, content:function(){ player.actused+=2; player.updateActCount(); target.damage(); event.parent.career='hunter'; }, ai:{ order:2, result:{ target:function(player,target){ return ai.get.damageEffect(target,player,target); } } } }, _warrior_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.hujia>=3) return false; if(player.career!='warrior') return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, content:function(){ player.actused+=2; player.updateActCount(); player.changeHujia(1); event.parent.career='warrior'; }, ai:{ order:2, result:{ player:1 } } }, _rogue_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.career!='rogue') return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, content:function(){ 'step 0' player.actused+=2; player.updateActCount(); var equip1=get.cardPile(function(card){ return get.subtype(card)=='equip1'; }); if(!equip1){ equip1=game.createCard('qingnang'); } var equip4=get.cardPile(function(card){ return get.type(card)=='equip'&&get.subtype(card)!='equip1'; }); if(!equip4){ equip4=game.createCard('chitu'); } player.$gain(equip1); setTimeout(function(){ player.$gain(equip4); },250); game.delay(); event.equip1=equip1; event.equip4=equip4; 'step 1' player.equip(event.equip1); game.delay(0.5); 'step 2' player.equip(event.equip4); event.parent.career='rogue'; }, ai:{ order:function(skill,player){ if(!player.get('e','1')&&player.num('e')<2){ if(player.num('h','sha')&&player.getActCount()+3<=player.actcount){ return 4; } return 0.1; } return 0; }, result:{ player:function(player){ if(player.num('e')<=2) return 1; return 0; } } } }, _druid_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.career!='druid') return false; if(player.getActCount()+2>player.actcount) return false; return lib.filter.cardEnabled({name:'sha'},player); }, usable:1, filterTarget:function(card,player,target){ return player.canUse('sha',target,null,false); }, direct:true, content:function(){ player.actused+=2; player.updateActCount(); player.useCard({name:'sha'},targets,'_druid_skill',false).animate=false; event.parent.career='druid'; }, ai:{ order:function(){ return lib.card.sha.ai.order-0.1; }, result:{ target:function(player,target){ return ai.get.effect(target,{name:'sha'},player,target); } } } }, shaman_tuteng:{ trigger:{player:'phaseDrawBefore'}, forced:true, popup:false, content:function(){ trigger.untrigger(); trigger.finish(); }, ai:{ effect:{ target:function(card){ if(card.name=='bingliang') return 0; } }, noPhaseDelay:1 } }, shaman_zhiliao:{ trigger:{global:'phaseEnd'}, forced:true, direct:true, filter:function(event,player){ return event.player==player.getLeader(); }, content:function(){ 'step 0' var players=get.players(); var targets=[]; for(var i=0;iplayer.actcount) return false; return true; }, usable:1, content:function(){ player.actused+=2; player.updateActCount(); var name='stone_tuteng'+Math.ceil(Math.random()*4); player.addFellowAuto(name); event.parent.career='shaman'; }, ai:{ order:2, result:{ player:1 } } }, _paladin_skill:{ enable:'phaseUse', filter:function(event,player){ if(player.career!='paladin') return false; if(!player.canAddFellow()) return false; if(player.getActCount()+2>player.actcount) return false; return true; }, usable:1, content:function(){ player.actused+=2; player.updateActCount(); player.addFellowAuto('stone_xinbing'); event.parent.career='paladin'; }, ai:{ order:2, result:{ player:1 } } }, chaofeng:{ mark:true, intro:{ content:'已获得嘲讽' } }, _chaofeng:{ mod:{ targetEnabled:function(card,player,target){ if(target.skills.contains('chaofeng')) return; if(card.name=='sha'){ for(var i=0;i0; }).ai=function(target){ return target.num('he'); }; player.line(event.chooser); "step 1" if(result.bool){ event.chooser.line(result.targets[0]); game.delay(); result.targets[0].discard(result.targets[0].get('he')); } } }, stone_huoqiangshou1:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;i0; }, content:function(){ var enemy=player.getEnemy(); var es=enemy.get('e'); if(es.length){ player.getLeader().line(enemy); game.delay(); enemy.discard(es.randomGet()); // game.log(get.translation(event.enemy)+'将'+get.translation(es)+'收入手牌') } } }, stone_yaosaishouwei1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ player.getLeader().addTempSkill('stone_yaosaishouwei2','phaseAfter'); } }, stone_yaosaishouwei2:{ mod:{ maxHandcard:function(player,num){ return num+2; } }, }, stone_famingjia1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ player.getLeader().draw(2); } }, stone_chilundashi1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ player.addSkill('stone_chilundashi2'); } }, stone_chilundashi2:{ trigger:{player:'phaseDrawBegin'}, forced:true, content:function(){ trigger.num++; player.removeSkill('stone_chilundashi2'); } }, stone_hanguangzhizhe1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ var targets=[]; for(var i=0;i0&&num>=player.getLeader().countFellow(); }, content:function(){ var list=[]; for(var i=0;i=player.getLeader().countFellow(); }, content:function(){ "step 0" event.chooser=player.getEnemy(); event.chooser.chooseTarget('毒噬:选择己方一名随从令其死亡',function(card,playerx,target){ return target.isMin()&&target.side!=player.side; },true).ai=function(target){ return -target.hp; }; player.line(event.chooser); "step 1" if(result.bool){ event.chooser.line(result.targets[0]); game.delay(); result.targets[0].die(); } } }, stone_mafengzhuru1:{ trigger:{player:'dieBegin'}, forced:true, filter:function(event){ return event.source&&event.source.isMin(); }, content:function(){ trigger.source.addSkill('stone_mafengzhuru2'); }, }, stone_mafengzhuru2:{ trigger:{global:'dieAfter'}, forced:true, popup:false, unique:true, filter:function(event,player){ return player.skills.contains('stone_mafengzhuru2'); }, content:function(){ player.loseHp(); player.removeSkill('stone_mafengzhuru2'); } }, stone_zhufu:{ trigger:{player:'phaseEnd'}, forced:true, unique:true, filter:function(event,player){ for(var i=0;iplayer.actcount) return false; } }, trigger:{player:'phaseBegin'}, forced:true, popup:false, priority:15, filter:function(event,player){ return !player.isMin(); }, content:function(){ player.actused=0; if(player.side){ player.actcount=player.getEnemy().actcount; } else{ player.actcount=player.getEnemy().actcount+1; } if(player.actcount>6){ player.actcount-=4; } player.updateActCount(); player.getEnemy().updateActCount('outphase'); } }, _actcount2:{ trigger:{player:'useCard'}, forced:true, popup:false, filter:function(event,player){ return !player.isMin()&&!event.noActCount&&_status.currentPhase==player; }, content:function(){ var stoneact=get.info(trigger.card).stoneact; if(typeof stoneact==='number'){ player.actused+=stoneact-1; } player.updateActCount(); } }, stonesha:{ unique:true, enable:['chooseToUse','chooseToRespond'], filterCard:{type:'equip'}, viewAs:{name:'sha'}, check:function(){return 1}, filter:function(event,player){ return player.num('h',{type:'equip'})>0; }, viewAsFilter:function(player){ return player.num('h',{type:'equip'})>0; }, ai:{ skillTagFilter:function(player){ return player.num('h',{type:'equip'})>0; }, respondSha:true, order:4, useful:-1, value:-1 } }, stoneshan:{ unique:true, enable:['chooseToRespond'], viewAs:{name:'shan'}, filterCard:{type:'stonecharacter'}, check:function(){return 1}, filter:function(event,player){ return player.num('h',{type:'stonecharacter'})>0; }, viewAsFilter:function(player){ return player.num('h',{type:'stonecharacter'})>0; }, ai:{ skillTagFilter:function(player){ return player.num('h',{type:'stonecharacter'})>0; }, respondShan:true, order:4, useful:-1, value:-1 } }, stonedraw:{ trigger:{player:'phaseDrawBegin'}, forced:true, popup:false, content:function(){ trigger.num--; }, ai:{ effect:{ target:function(card){ if(card.name=='bingliang'){ return 0.6; } } } } }, _stonerage1:{ trigger:{player:'damageEnd'}, forced:true, popup:false, content:function(){ if(player.isMin()){ player.changeRage(3*trigger.num); } else{ player.changeRage(6*trigger.num); } } }, _stonerage2:{ trigger:{player:'dieBegin'}, forced:true, popup:false, content:function(){ if(player.isMin()){ player.changeRage(10); } else{ player.changeRage(20); } } }, _stonerage3:{ trigger:{player:'phaseAfter'}, forced:true, popup:false, filter:function(event,player){ return !player.isMin()&&player.getEnemy().countFellow()>player.countFellow(); }, content:function(){ player.changeRage((player.getEnemy().countFellow()-player.countFellow())*10); } }, _stonerage_add:{ trigger:{player:'phaseBegin'}, direct:true, priority:10, filter:function(event,player){ if(!player.canAddFellow()){ return false; } if(player==game.me){ return _status.friendRage>=100; } else if(player==game.me.getEnemy()){ return _status.enemyRage>=100; } return false; }, content:function(){ 'step 0' var list=[]; var list2=[]; for(var i in lib.character){ if(lib.character[i][4].contains('stonelegend_'+player.career)){ list.push(i); } else if(lib.character[i][4].contains('stonelegend')){ list2.push(i); } } var dialog=ui.create.dialog('hidden','召唤一名传说随从','
消耗100怒气值和3点行动值
',[list.concat(list2),'character']); var heilong=false; var dc=player.getEnemy().countFellow()-player.countFellow(); if(dc>2){ heilong=true; } else if(dc==2){ if(player.getEnemy().countFellow()>=3){ heilong=Math.random()<0.5; } else if(player.actcount-player.getActCount()<=0){ heilong=true; } else{ dc=0; for(var i=0;i5){ heilong=true; } else{ heilong=Math.random()<0.3; } } } var honglong=false; if(!heilong){ var num=0; for(var i=0;i6){ honglong=true; } else if(player.maxHp-player.hp>=3&&player.hp<=2){ honglong=true; } } player.chooseButton(dialog).ai=function(button){ if(button.link=='stone_siwangzhiyi'){ if(heilong) return 3; return 0; } if(button.link=='stone_alaikesita'){ if(honglong) return 2; return 0; } return Math.random(); } 'step 1' if(result.bool){ player.$skill(get.translation(result.links[0]),'legend','metal'); game.delay(2); event.addname=result.links[0]; player.changeRage(-100); player.actused+=3; player.updateActCount(); } else{ event.finish(); } 'step 2' if(event.addname){ if(event.addname=='stone_jialakesi'){ if(player.name=='stone_jialakesix'){ player.storage.stone_lianyu++; } else{ if(player.name2){ player.storage.stone_lianyu=1; } else{ player.storage.stone_lianyu=0; } player.init('stone_jialakesix'); game.addVideo('reinit2',player,'stone_jialakesix'); } player.syncStorage('stone_lianyu'); var card=game.createCard('stone_jialakesi_stonecharacter'); card.node.info.remove(); card.node.addinfo.remove(); player.$give(card,player); } else{ player.addFellowAuto(event.addname); } } } } }, translate:{ shaman:'萨满', mage:'法师', priest:'牧师', warrior:'战士', warlock:'术士', knight:'死亡骑士', rogue:'潜行者', paladin:'圣骑士', hunter:'猎人', druid:'德鲁伊', stone_siwangzhiyi:'死亡之翼', stone_alaikesita:'阿莱克萨', stone_yisela:'伊瑟拉', stone_nuoziduomu:'诺兹多姆', stone_maligousi:'玛里苟斯', stone_aolajier:'奥拉基尔', stone_andongni:'安东尼', stone_jialakesi:'加拉克斯', stone_jialakesix:'加拉克斯', stone_kelushi:'克鲁什', stone_geluomashi:'格罗玛什', stone_aidewen:'艾德温', stone_sainaliusi:'塞纳留斯', stone_fuding:'弗丁', stone_weilun:'维纶', stone_fushi:'缚誓', stone_fushi_info:'你出场时,为所有友方角色回复所有体力值', stone_mieshi:'灭世', stone_mieshi_info:'你出场时,消灭所有其他随从,弃置己方主将的所有手牌,并受到X点伤害,X为敌方与己方的随从数体力值之差', stone_shixu:'时序', stone_shixu_info:'你出场的回合内,己方主将获得4点行动值', stone_chenshui:'沉睡', stone_chenshui_info:'在你的回合结束阶段,令己方主将获得一张梦境牌', stone_mowang:'魔网', stone_mowang_info:'己方法术伤害+2', stone_zhiyin:'指引', stone_zhiyin_info:'每当己方主将使用一张法术牌,将一张火球术置于其手牌', stone_bianshen:'变身', stone_bianshen_info:'你出场时,若己方主将职业为术士,则代之成为新的主将;若己变身,则改为令你召唤的地狱火的初始手牌数和体力值+1', stone_lianyu:'炼狱', stone_lianyu_info:'你的职业技能改为召唤一个地狱火', stone_lianji:'连击', stone_lianji_info:'每当己方主将召唤一个随从,便增加一点体力和体力上限并摸一张牌', stone_shenyu:'神谕', stone_shenyu_info:'你出场时,己方主将可以选择一项:召唤两个嘲讽树人,或令所有其他随从增加一点体力和体力上限并摸两张牌', stone_fuchou:'复仇', stone_fuchou_info:'你死亡后,视为己方主将使用了一张复仇之怒', stone_shenyou:'神佑', stone_shenyou_info:'己方主将的职业技能和法术的治疗效果翻倍', stone_jinu:'激怒', stone_jinu_info:'摸牌阶段,若你己受伤,则额外摸两张牌', spell_shenshengxinxing:'神圣新星', spell_shenshengxinxing_info:'对所有敌方角色造成一点伤害,令所有友方角色回复一点体力', spell_shengguangzhadan:'圣光炸弹', spell_shengguangzhadan_info:'对所有随从造成等同于其手牌数的伤害', spell_maizang:'埋葬', spell_maizang_info:'令一名敌方随从死亡(不触发死亡技能),并将一张与该随从同名的随从洗入你的牌库', spell_xinlingshijie:'心灵视界', spell_xinlingshijie_info:'将一张敌方主将手牌的复制置于你的手牌', spell_naluzhiguang:'纳鲁之光', spell_naluzhiguang_info:'恢复一点体力值,若目标仍处于受伤状态,则召唤一名圣光护卫', spell_zhiliaozhihuan:'治疗之环', spell_zhiliaozhihuan_info:'令所有随从回复三点体力', spell_zhenyanshu:'真言术', spell_zhenyanshu_info:'令一名随从增加一点体力和体力上限;从牌库中获得一张牌', spell_enzeshu:'恩泽术', spell_enzeshu_info:'令一名随从增加三点体力和体力上限', spell_anyingxingtai:'暗影形态', priest_anyingxingtai:'暗影形态', spell_anyingxingtai_info:'你的职业技能改为造成一点伤害,若已进入暗影形态,则改为造成两点伤害', spell_kuaisuzhiliao:'快速治疗', spell_kuaisuzhiliao_info:'回复两点体力', spell_xinlinghanbao:'心灵撼爆', spell_xinlinghanbao_info:'对敌方主将造成两点伤害', spell_kongxinshu:'控心术', spell_kongxinshu_info:'复制敌方牌库中的一张随从,将其置入战场', stone_shengguanghuwei:'圣光护卫', priest_shengguang:'圣光', priest_shengguang_info:'每当一名随从获得治疗,摸一张牌', spell_nuxi:'怒袭', spell_nuxi_info:'造成一点伤害,获得两点护甲', spell_dunpaimengji:'盾牌猛击', spell_dunpaimengji_info:'对一名随从造成等同于你护甲值的伤害', spell_zhansha:'斩杀', spell_zhansha_info:'令一名已受伤的敌方随从死亡', spell_nuhuozhongshao:'怒火中烧', spell_nuhuozhongshao_info:'对一名随从造成一点伤害,然后令其摸两张牌', spell_xuanfengzhan:'旋风斩', spell_xuanfengzhan_info:'对所有随从造成一点伤害', spell_juemingluandou:'绝命乱斗', spell_juemingluandou_info:'随机保留一名随从,然后令所有其他随从死亡', spell_zhongnian:'重碾', spell_zhongnian_info:'造成X点伤害,X为已受伤的友方角色数且不超过3', spell_zhandounuhuo:'战斗怒火', spell_zhandounuhuo_info:'从牌库中获得X张牌,X为已受伤的友方角色数', spell_chongfeng:'冲锋', spell_chongfeng_info:'令一名武将牌背面朝上的友方随从摸三张牌,然后将武将牌翻至正面', spell_fuchoudaji:'复仇打击', spell_fuchoudaji_info:'对所有随从造成一点伤害,若你的体力值不大于2,改为造成三点伤害', spell_kuangbao:'狂暴', spell_kuangbao_info:'令一名已受伤的友方随从摸四张牌', spell_yingyongdaji:'英勇打击', spell_yingyongdaji_info:'令一名敌方角色对你造成两点伤害,然后对其造成两点伤害', spell_dubiao:'毒镖', spell_dubiao_info:'对一名随机敌方角色造成一点伤害', spell_qiangfengsheji:'强风射击', spell_qiangfengsheji_info:'对两名敌方随从各造成一点伤害,并弃置其两张手牌', spell_tanxianmao:'探险冒', hunter_tanxianmao:'探险冒', hunter_tanxianmao_info:'你死亡时,将一张探险冒置入主将的手牌', spell_tanxianmao_info:'令一名友方随从增加一点体力和体力上限并摸一张牌,当该随从死亡时,将一张探险冒置入你的手牌', spell_shalumingling:'杀戮命令', spell_shalumingling_info:'造成两点伤害,所有友方随从摸一张牌', spell_zhuizongshu:'追踪术', spell_zhuizongshu_info:'从牌库中随机选择三张牌,获得其中的一张', spell_tianjiangzhuqun:'天降蛛群', spell_tianjiangzhuqun_info:'召唤三只结网蛛', spell_lierenyinji:'猎人印记', spell_lierenyinji_info:'将一名随从的体力上限降至1', spell_kuaisusheji:'快速射击', spell_kuaisusheji_info:'造成一点伤害,摸一张牌', spell_guanmenfanggou:'关门放狗', spell_guanmenfanggou_info:'每有一名敌方随从,便召唤一只猎狗', spell_zhaohuanchongwu:'动物伙伴', spell_zhaohuanchongwu_info:'随机召唤一只野兽', spell_zidanshangtang:'子弹上膛', spell_zidanshangtang_info:'随机获得一张猎人职业法术牌,并获得技能【上膛】直到回合结束', spell_duochongsheji:'多重射击', spell_duochongsheji_info:'对两名随机敌方随从各造成两点伤害', stone_liegou:'猎狗', hunter_zidanshangtang:'上膛', hunter_zidanshangtang_bg:'膛', hunter_zidanshangtang_info:'每当你使用一张法术牌,便随机获得一张猎人职业法术牌', spell_zuzhou:'诅咒', spell_zuzhou_info:'将目标随从翻面,摸一张牌', spell_xishengqiyue:'牺牲契约', spell_xishengqiyue_info:'令双方各一名随从立即死亡', spell_xiaoguibaopo:'小鬼爆破', spell_xiaoguibaopo_info:'对一名随从造成1〜3点伤害,每造成一点伤害,便召唤一只小鬼', spell_anyinglieyan:'暗影裂焰', spell_anyinglieyan_info:'杀死一名友方随从,并对所有敌方随从造成等于其体力值的伤害', spell_liliangdaijia:'力量代价', spell_liliangdaijia_info:'令一名友方随从摸4张牌,将体力值变为5,并在其下个回合结束后死亡', spell_emozhinu:'恶魔之怒', spell_emozhinu_info:'对所有随从造成两点伤害', spell_emozhixin:'恶魔之心', spell_emozhixin_info:'对一名敌方随从造成四点伤害,或令一名友方随从摸四张牌', spell_ansezhadan:'暗色炸弹', spell_ansezhadan_info:'造成两点伤害,随机弃置一张手牌', spell_fushishu:'腐蚀术', warlock_fushishu:'腐蚀', warlock_fushishu_info:'下个回合结束后死亡', spell_fushishu_info:'令一名敌方随从于其下个回合结束后死亡', spell_heianqiyue:'黑暗契约', spell_heianqiyue_info:'随机令两名敌方随从死亡,随机弃置两张手牌', spell_linghunhongxi:'灵魂虹吸', spell_linghunhongxi_info:'令一名随从死亡,回复一点体力', spell_siwangchanrao:'死亡缠绕', spell_siwangchanrao_info:'对一名随从造成一点伤害;若该随从死亡,从牌库中获得一张牌', spell_wuyashenxiang:'乌鸦神像', spell_wuyashenxiang_info:'从三张法术牌或随从牌中选择一张加入手牌', spell_huotigenxu:'活体根须', spell_huotigenxu_info:'造成一点伤害,或召唤两个树苗', spell_hengsao:'横扫', spell_hengsao_info:'对一名敌方角色造成两点伤害,然后对其他敌方角色造成一点伤害', spell_yexingchengzhang:'野性成长', spell_yexingchengzhang_info:'下个出牌阶段开始时获得三点额外行动值', spell_ziranzhili:'自然之力', spell_ziranzhili_info:'召唤三个自爆树人', spell_yemanpaoxiao:'野蛮咆哮', spell_yemanpaoxiao_bg:'咆', spell_yemanpaoxiao2:'咆哮', spell_yemanpaoxiao_info:'所有友方角色造成的伤害+1,直到你的下个回合开始', spell_conglinzhihun:'丛林之魂', druid_conglinzhihun:'树魂', druid_conglinzhihun_info:'你死亡后召唤一个树人', spell_conglinzhihun_info:'令所有友方随从获得技能树魂(你死亡后召唤一个树人)', spell_ziyang:'滋养', spell_ziyang_info:'下个出牌开始阶段获得四点额外行动值,或从牌库中获得三张牌', spell_fugen:'腐根', spell_fugen_info:'令一名随从死亡,将一张随机随从置入对手的手牌', spell_xingchenzhuiluo:'星辰坠落', spell_xingchenzhuiluo_info:'对一名敌方角色造成四点伤害,或对所有敌方随从造成两点伤害', spell_fennu:'愤怒', spell_fennu_info:'对一名随从造成两点伤害,或造成一点伤害并从牌库中获得一张牌', spell_heiandiyu:'黑暗低语', spell_heiandiyu_info:'召唤若干个小精灵直到你的随从数达到4;或令一名随从增加一点体力和体力上限并摸三张牌', druid_yexingchengzhang:'成长', druid_yexingchengzhang_bg:'长', druid_yexingchengzhang_info:'下个出牌阶段开始时获得三点额外行动值', druid_ziyang:'滋养', druid_ziyang_bg:'养', druid_ziyang_info:'下个出牌阶段开始时获得四点额外行动值', stone_shumiao:'树苗', stone_shuren:'自爆树人', stone_shurenx:'树人', stone_shurenxx:'嘲讽树人', stone_zibao:'自爆', stone_zibao_info:'结合结束后立即死亡', spell_cigu:'刺骨', spell_cigu_info:'造成一点伤害,你可以弃置一张装备区内的牌令伤害+1', spell_jianrenluanwu:'剑刃乱舞', spell_jianrenluanwu_info:'弃置你的武器牌,并对所有敌方角色造成一点伤害', spell_daoshan:'刀扇', spell_daoshan_info:'对所有敌方随从造成一点伤害,从牌库中获得一张牌', spell_sijidaifa:'伺机待发', spell_sijidaifa_info:'你使用下一张法术牌时获得X点行动值,X为该法术的行动值消耗且不超过3', spell_cisha:'刺杀', spell_cisha_info:'杀死一名随从', spell_modaoyou:'磨刀油', spell_modaoyou_info:'令你下一次剑刃乱舞造成的伤害+1,并与一名随机友方随从各摸两张牌', spell_mengun:'闷棍', spell_mengun_info:'令一名敌方随从死亡(不触发死亡技能),将一张该随从的复制置入对手的手牌', spell_anzhongpohuai:'暗中破坏', spell_anzhongpohuai_info:'随机杀死一名敌方随从,随机弃置敌方的一张装备牌', spell_beici:'背刺', spell_beici_info:'令一名未受伤的随从流失一点体力', spell_weijisifu:'危机四伏', spell_zhumo:'蛛魔', stone_zhumo:'蛛魔', spell_zhumo_info:'每当该牌被弃置,为你的对手召唤一只蛛魔', spell_weijisifu_info:'将三张蛛魔牌洗入对手的牌库;每当一名角色弃置蛛魔牌,为其对手召唤一只蛛魔', spell_piaoqie:'剽窃', spell_piaoqie_info:'复制两张对手牌库中的牌加入你的手牌', spell_jipao:'疾跑', spell_jipao_info:'从牌库中获得四张牌', spell_fengxian:'奉献', spell_fengxian_info:'对所有敌方角色造成一点伤害', spell_fuchouzhinu:'复仇之怒', spell_fuchouzhinu_info:'造成5点伤害,随机分配到所有敌方随从上', spell_shengliaoshu:'圣疗术', spell_shengliaoshu_info:'恢复两点体力,摸两张牌', spell_fennuzhichui:'愤怒之锤', spell_fennuzhichui_info:'造成一点伤害,从牌库中获得一张牌', spell_zuozhandongyuan:'作战动员', spell_zuozhandongyuan_info:'召唤两个新兵,随机装备一把武器', spell_liliangzhufu:'力量祝福', spell_liliangzhufu_info:'令一名随从摸两张牌', spell_jinyingduijue:'精英对决', spell_jinyingduijue_info:'双方各保留体力值最高的一名随从,然后令其他随从死亡', spell_shenpan:'审判', spell_shenpan_info:'若你的对手随从数不少于你,则随机令一名敌方随从死亡', spell_shenshengfennu:'神圣愤怒', spell_shenshengfennu_info:'从牌库中获得一张牌,并造成等同于其行动值消耗的伤害', spell_yongshizhufu:'勇士祝福', spell_yongshizhufu_info:'令一名随从的体力值和体力上限翻倍', spell_zhengqianghaosheng:'争强好胜', paladin_zhengqianghaosheng:'争强好胜', paladin_zhengqianghaosheng_info:'在你的下一回合开始时,令所有友方随从增加一点体力和体力上限并摸一张牌', spell_zhengqianghaosheng_info:'在你的下一回合开始时,令所有友方随从增加一点体力和体力上限并摸一张牌', spell_zhihuizhufu:'智慧祝福', paladin_zhihuizhufu:'智慧祝福', spell_zhihuizhufu_info:'选择一名随从,每当其回合开始时,你从牌库中获得一张牌', spell_fengnu:'风怒', shaman_fengnu:'风怒', shaman_fengnu_info:'回合结束后,你获得一个额外回合', spell_fengnu_info:'令一名随从获得技能风怒(回合结束后,你获得一个额外回合)', spell_rongyanbaolie:'熔岩爆裂', spell_rongyanbaolie_info:'造成三点火焰伤害,流失一点体力', spell_shihuawuqi:'石化武器', shaman_shihuawuqi:'充能', shaman_shihuawuqi_info:'回合开始阶段,你摸三张牌', spell_shihuawuqi_info:'令一名友方随从获得技能充能(回合开始阶段,你摸三张牌),直到你的下一回合开始', spell_xianzuzhaohuan:'先祖召唤', spell_xianzuzhaohuan_info:'双方各将手牌中的一张随机随从牌置入战场', spell_xianzuzhihun:'先祖之魂', shaman_xianzuzhihun:'转生', shaman_xianzuzhihun_info:'你死亡后,召唤一个自身的复制', spell_xianzuzhihun_info:'令一名随从获得技能转生(你死亡后,召唤一个自身的复制)', spell_xianzuzhishi:'先祖知识', shaman_xianzuzhishi:'先祖知识', shaman_xianzuzhishi_info:'本回合手牌上限-1', spell_xianzuzhishi_info:'从牌库中获得两张牌,本回合手牌上限-1(多次使用不叠加)', spell_lianhuanbaolie:'连环爆裂', spell_lianhuanbaolie_info:'造成1〜2点雷电伤害', spell_shandianfengbao:'闪电风暴', spell_shandianfengbao_info:'对所有敌方随从造成1〜2点伤害', spell_yaoshu:'妖术', spell_yaoshu_info:'将一个随从变成一只青蛙', spell_yexinglanghun:'野性狼魂', spell_yexinglanghun_info:'召唤两个幽灵狼', spell_shixue:'嗜血', spell_shixue_info:'所有友方随从摸两张牌', spell_chazhuangshandian:'叉状闪电', spell_chazhuangshandian_info:'对两个随机敌方随从各造成一点雷电伤害', stone_qingwa:'青蛙', stone_youlinglang:'幽灵狼', stone_jingxiang:'镜像', stone_jingxiang_info:'锁定技,你跳过摸牌阶段', shaman_qingwa:'青蛙', shaman_qingwa_info:'锁定技,你跳过摸牌阶段', stone_xiaojingling:'小精灵', spell_laojiuhuoba:'老旧火把', spell_laojiuhuoba_info:'造成一点伤害,将一张炽热火把置入你的牌库', spell_chirehuoba:'炽热火把', spell_chirehuoba_info:'造成两点火焰伤害', spell_canying:'残影', spell_canying_info:'复制你的所有随从,并将其置入你的手牌', spell_yanbaoshu:'炎爆术', spell_yanbaoshu_info:'造成四点火焰伤害', spell_jingxiang:'镜像', spell_jingxiang_info:'召唤两个具有嘲讽且摸牌阶段不摸牌的随从', spell_aoshufeidan:'奥术飞弹', spell_aoshufeidan_info:'造成3点伤害,随从分配到所有敌方随从上', spell_hanbingpingzhang:'寒冰屏障', mage_hanbingpingzhang:'寒冰屏障', mage_hanbingpingzhang_info:'体力值不能降到2以内', spell_hanbingpingzhang_info:'令一名角色的体力值不能降到2以内,直到你的下一回合开始', spell_hanbingjian:'寒冰箭', spell_hanbingjian_info:'对一个随从造成两点伤害,然后将其翻面', spell_lieyanfengbao:'烈焰风暴', spell_lieyanfengbao_info:'对所有敌方随从造成两点伤害', spell_baofengxue:'暴风雪', spell_baofengxue_info:'对所有敌方随从造成一点伤害,然后将其翻面', spell_aoshuzhihui:'奥术智慧', spell_aoshuzhihui_info:'从牌库中获得两张牌', spell_bianxingshu:'变形术', spell_bianxingshu_info:'将一个随从变成一只绵羊', spell_huoqiushu:'火球术', spell_huoqiushu_info:'造成三点火焰伤害', stone_mianyang:'绵羊', mage_mianyang:'绵羊', mage_mianyang_info:'锁定技,你不能使用杀', stone_beijunmushi:'北郡牧师', stone_guangyaozhizi:'光耀之子', stone_longmianjiaoguan:'龙眠教官', stone_linghunjisi:'灵魂祭司', stone_guanliyuan:'管理员', stone_heianjiaotu:'黑暗教徒', stone_shengdianzhishi:'圣殿执事', stone_suoxiaojishi:'缩小技师', stone_anyingzisi:'暗影子嗣', stone_guangmingquan:'光明泉', stone_muguangchulong:'暮光雏龙', stone_shenshengyongshi:'神圣勇士', priest_puzhao:'普照', priest_puzhao_info:'你出场时,己方主将可令一名其他友方随从增加两点体力和体力上限', priest_suoxiao:'缩小', priest_suoxiao_info:'你出场时,己方主将可令一名其他随从减少两点体力上限(不能小于1)', priest_shengshui:'圣水', priest_shengshui_info:'你跳过摸牌阶段;在你的回合开始阶段,令一名随机友方角色回复两点体力', priest_muguang:'暮光', priest_muguang_info:'你出场时,若主将手牌中有随从牌,则增加一点体力和体力上限', priest_shixin:'蚀心', priest_shixin_info:'每当己方主将使用一次职业技能,对双方主将各造成一点伤害', priest_shengliao:'圣疗', priest_shengliao_info:'每当一名随从回复体力,己方主将从牌库中获得一张牌', priest_guangyao:'光耀', priest_guangyao_info:'每当你的体力值发生改变,摸一张牌', priest_xundao:'训导', priest_xundao_info:'你出场时,若己方主将手牌中有随从牌,则摸一张牌并获得嘲讽', priest_hunwu:'魂舞', priest_hunwu_info:'己方主将的职业技能及法术的治疗效果改为令目标流失等量体力', priest_faxian:'发现', priest_faxian_info:'你出场时,己方主将从三张随机随从牌中选择一张加入手牌', priest_zhufu:'献身', priest_zhufu_info:'你死亡时,令一名随机友方随从增加一点体力和体力上限', stone_daomufeizei:'盗墓匪贼', stone_haidao:'海盗', stone_haidaotoumu:'海盗头目', stone_cike:'刺客', stone_tegong:'特工', stone_qiezei:'窃贼', stone_heitieairen:'黑铁矮人', stone_duyanhaidao:'独眼海盗', stone_gangtiewushi:'刚铁武师', stone_lifaji:'理发机', stone_shihualong:'石化龙', stone_xiushuihaidao:'锈水海盗', stone_zousishangfan:'走私商贩', rogue_duxing:'独行', rogue_duxing_info:'每当敌方主将召唤一名随从,便获得潜行', rogue_shoudao:'授道', rogue_shoudao_info:'在己方主将的回合结束阶段,令一名随机友方随从增加一点体力和体力上限并摸一张牌', rogue_lifa:'理发', rogue_lifa_info:'为己方主将装备一把武器,若已有武器,改为对敌方主将造成一点伤害', rogue_fusheng:'复生', rogue_fusheng_info:'你出场时,体力值和体力上限变为X,X为场上体力最高的随从的体力值', rogue_jielue:'劫掠', rogue_jielue_info:'每当己方主将装备一把武器牌,摸两张牌', rogue_jiaoyi:'交易', rogue_jiaoyi_info:'你出场时,己方主将可以弃置一张装备牌令你摸三张牌', rogue_touqie:'偷窃', rogue_touqie_info:'每当你造成一次伤害,己方主将从牌库中获得一张牌', rogue_xunbao:'寻宝', rogue_xunbao_info:'你死亡时,将一张伺机行发置于己方主将的手牌', rogue_cisha:'刺杀', rogue_cisha_info:'每当你对一名随从造成伤害,受伤害随从立即死亡', rogue_touxi:'偷袭', rogue_touxi_info:'你出场时,己方主将可弃置一张装备区内的牌并对一名敌方角色造成一点伤害', rogue_qiancang:'潜藏', rogue_qiancang_info:'你出场时,对所有未受伤害的敌方随从造成一点伤害', rogue_zhaomu:'结伙', rogue_zhaomu_info:'你出场时,召唤一个海盗', stone_zhihuiguan:'指挥官', stone_jiangong:'监工', stone_yuanhou:'猿猴', stone_chidunshinv:'持盾侍女', stone_zhujiashi:'铸甲师', stone_kuangzhanshi:'狂战士', stone_heiyaoyaoshou:'黑曜妖兽', stone_honglongyongshi:'红龙勇士', stone_peilianshi:'陪练师', stone_jingyingweishi:'精英卫士', stone_shengjiachong:'圣甲虫', stone_mengmaren:'猛犸人', stone_zhifuzhe:'掷斧者', warrior_heiyao:'黑曜', warrior_heiyao_info:'在己方主将的回合结束阶段,召唤一只圣甲虫', warrior_peilian:'陪练', warrior_peilian_info:'你出场时,己方主将可令一名其他随从获得嘲讽', warrior_fenyong:'奋勇', warrior_fenyong_info:'你出场时,若己方主将手牌中有随从牌,则获得冲锋', warrior_chuanci:'穿刺', warrior_chuanci_info:'每当你对一名敌方随从造成伤害,对另一名随机敌方随从造成等量的伤害', warrior_zhifu:'掷斧', warrior_zhifu_info:'每当你受到一次伤害,对敌方主将造成一点伤害', warrior_tongling:'统领', warrior_tongling_info:'你出场时,将所有友方随从的武将牌翻至正面', warrior_baoluan:'暴乱', warrior_baoluan_info:'每当一名随从受到一次伤害,摸一张牌', warrior_jiangong:'监工', warrior_jiangong_info:'你出场时,己方主将可对一名随从造成一点伤害,然后令该随从摸两张牌', warrior_zhujia:'铸甲', warrior_zhujia_info:'每当你受到一次伤害,己方主将获得一点护甲', warrior_tidun:'提盾', warrior_tidun_info:'你出场时,己方主将获得两点护甲', stone_lieyanxiaogui:'烈焰小鬼', stone_xiaoguishouling:'小鬼首领', stone_kongjuzhanma:'恐惧战马', stone_morishouwei:'末日守卫', stone_xukongxingzhe:'虚空行者', stone_diyuhuo:'地狱火', stone_diyuhuox:'地狱火', stone_xiaogui:'小鬼', stone_heishitanfan:'黑市摊贩', stone_zhaohuanzhe:'召唤者', stone_meimo:'魅魔', stone_tongkunvwang:'痛苦女王', stone_xukongkongmo:'虚空恐魔', stone_fukongmoyan:'浮空魔眼', warlock_anyu:'暗语', warlock_anyu_info:'你出场时,己方主将从三张随机的行动值消耗为1的牌中选择一张加入手牌', warlock_zhaohuan:'召唤', warlock_zhaohuan_info:'你死亡时,将手牌中的一张随机随从牌置入战场', warlock_huanmeng:'幻梦', warlock_huanmeng_info:'你出场时,己方主将随机弃置一张手牌', warlock_tongku:'痛苦', warlock_tongku_info:'每当你造成一次伤害,令己方主将回复一点体力', warlock_tunshi:'吞噬', warlock_tunshi_info:'你出场时,己方主将须令一名其他友方随从死亡,然后你获得其全部的手牌和体力值', warlock_shijie:'视界', warlock_shijie_info:'每当己方主将受到一次伤害,你增加一点体力和体力上限并摸一张牌', warlock_nonghuo:'弄火', warlock_nonghuo_info:'你出场时,对己方主将造成1点火焰伤害', warlock_zhaogui:'召鬼', warlock_zhaogui_info:'每当你受到一次伤害,召唤一个小鬼', warlock_yongsheng:'永生', warlock_yongsheng_info:'你死亡后,召唤一匹恐惧战马', warlock_yuhuo:'狱火', warlock_yuhuo_info:'你出场时,对所有其他随从造成一点伤害', warlock_zaihuo:'灾祸', warlock_zaihuo_info:'你出场时,随机弃置主将的两张手牌', stone_hudunren:'护盾人', stone_junxuguan:'军需官', stone_yurenqishi:'鱼人骑士', stone_chidunweishi:'持盾卫士', stone_liewangshouwei:'列王守卫', stone_longwangpeiou:'龙王配偶', stone_baoweizhe:'保卫者', stone_guiqishi:'龟骑士', stone_shenmiqishou:'神秘骑手', stone_shixiangweishi:'石像卫士', stone_xuefanzhanshi:'血帆战士', stone_xunmashi:'训马师', paladin_baowei:'保卫', paladin_baowei_info:'你出场时,己方主将可令一名其他随从获得一点护甲', paladin_tuxi:'吐息', paladin_tuxi_info:'你出场时,己方主将进行一次判定,若为红色,则回复一点体力', paladin_miying:'秘影', paladin_miying_info:'你出场时,依次将牌堆中的所有不重名的判定牌置入敌方主将的判定区', paladin_huashi:'化石', paladin_huashi_info:'你出场时,己方主将可将一名其他随从的体力值及体力上限变为2', paladin_jinghua:'净化', paladin_jinghua_info:'你出场时,对所有手牌数大于1的随从造成两点伤害', paladin_moma:'秣马', paladin_moma2:'秣马', paladin_moma_info:'所有友方新兵摸牌阶段摸牌数+1', paladin_zhaohuan:'召唤', paladin_zhaohuan2:'召唤', paladin_zhaohuan_info:'你出场后,你的主将在使用下一张随从牌时获得两点行动值', paladin_shouwei:'守卫', paladin_shouwei_info:'你出场时,你的主将回复两点体力值', paladin_chidun:'持盾', paladin_chidun_info:'你出场时,己方主将可以弃置对方一名随从的所有牌', paladin_buji:'补给', paladin_buji_info:'你出场时,所有友方新兵增加一点体力和体力上限并摸两张牌', paladin_hudun:'护盾', paladin_hudun_info:'你出场时,获得一点护甲值', paladin_zhaochao:'招潮', paladin_zhaochao_info:'每当你的主将使用一次英雄技能,便摸两张牌', stone_shifazhe:'嗜法者', stone_wushixuetu:'巫师学徒', stone_shuiyuansu:'水元素', stone_falifulong:'法力浮龙', stone_yingxiongzhihun:'英雄之魂', stone_huoyao:'火妖', stone_aoshushi:'奥术师', stone_faqishi:'法骑士', stone_fuhuokaijia:'复活铠甲', stone_kaodalalong:'考达拉龙', stone_yanshushi:'炎术士', stone_xulingwushi:'虚灵巫师', mage_aoshu:'奥术', mage_aoshu_info:'你出场时,将一张奥术智慧置入主将的手牌', mage_jili:'激励', mage_jili_info:'每当主将使用一次职业技能,摸一张牌', mage_gushou:'固守', mage_gushou_info:'每当己方主将受到多于1伤害时,防止其余伤害', mage_yufa:'驭法', mage_yufa_info:'每当己方主将使用一次职业技能,令其获得一点行动值', mage_yanshu:'炎术', mage_yanshu_info:'你出场时,造成X点火焰伤害,随机分配到敌方随从上,X为己方主将装备区内装备牌的数量', mage_pingxu:'冯虚', mage_pingxu_info:'你出场时,己方主将从三张随机法术牌中选择一张加入手牌', mage_shifa:'嗜法', mage_shifa_info:'你出场时,将一张随机法术牌置入双方主将的手牌', mage_minghuo:'冥火', mage_minghuo_info:'你的主将的职业技能造成的伤害+1', mage_tunfa:'吞法', mage_tunfa_info:'每当己方主将使用一张法术牌,摸一张牌', mage_lieyan:'烈焰', mage_lieyan_info:'每当己方主将使用一张法术牌,对一名随机敌方角色造成一点火焰伤害', mage_zhufa:'助法', mage_zhufa_info:'每当己方主将使用一张法术牌,令其获得一点行动值', mage_bingdong:'冰冻', mage_bingdong_info:'每当你对一个随从造成伤害,该随从将武将牌翻至背面', stone_caoyuanshi:'草原狮', stone_leiouke:'雷欧克', stone_misha:'米莎', stone_huofu:'霍弗', stone_jiewangzhu:'结网蛛', stone_xunshoushi:'驯兽师', stone_senlinlang:'森林狼', stone_tujiu:'秃鹫', stone_muyangren:'牧羊人', stone_jujishou:'狙击手', stone_damoshatuo:'大漠沙驼', stone_huangjialeixiang:'皇家雷象', hunter_jiewang:'结网', hunter_jiewang_info:'你死亡时,己方主将获得一张随机野兽牌', hunter_xunshou:'驯兽', hunter_xunshou_info:'你出场时,己方主将可选择一名其他友方随从令其增加一点体力和体力上限,摸两张牌并获得嘲讽', hunter_nuhou:'怒吼', hunter_nuhou_info:'当你死亡时,对所有敌方角色造成一点伤害', hunter_zhanhuo:'战火', hunter_zhanhuo2:'战火', hunter_zhanhuo_info:'其他友方随从摸牌阶段的摸牌数+1', hunter_qunxi:'群袭', hunter_qunxi_info:'你出场时,所有友方随从摸一张牌', hunter_mishi:'觅食', hunter_mishi_info:'每当己方主将召唤一个随从,摸一张牌', hunter_dusha:'渡沙', hunter_dusha_info:'你出场时,令双方主将各随机使用一张牌库中的1费随从牌(不计入行动值消耗)', hunter_chuanlin:'穿林', hunter_chuanlin_info:'你出场时,己方主将展示牌库中的一张随机随从牌并获得之', hunter_muyang:'牧羊', hunter_muyang_info:'你出场时,随机召唤一个行动值消耗为X的随从,X为其他友方随从数', hunter_juji:'狙击', hunter_juji_info:'你的职业技能可以指定随从为目标', stone_baoqishi:'豹骑士', stone_conglinshouwei:'从林守卫', stone_baohuzhishu:'保护之树', stone_kuangyedoushi:'狂野斗士', stone_liebao:'猎豹', stone_zongxiong:'棕熊', stone_renyaqishi:'刃牙骑士', stone_conglinxiaoshou:'丛林枭兽', stone_huangyeqishi:'荒野骑士', stone_xunmenglong:'迅猛龙', stone_lindishuyao:'林地树妖', stone_huoshanxiemu:'火山邪木', druid_renya:'刃牙', druid_renya_info:'你出场时,己方主将可以选择一项:令你摸一张牌并将武将牌翻至正面,或令你增加一点体力上限并获得技能潜行', druid_yuehuo:'月火', druid_yuehuo_info:'所有锦囊牌造成的伤害+1', druid_qicheng:'骑乘', druid_qicheng_info:'你死亡时,随机召唤一个行动消耗为1的随从', druid_chicheng:'驰骋', druid_chicheng_info:'你出场时,己方主将获得X点行动值,X为其他友方随从数', druid_yeyou:'夜游', druid_yeyou_info:'双方主将各从牌库中获得一张牌', druid_juhuo:'举火', druid_juhuo_info:'己方主将回合内,每有一名随从死亡,令己方主将获得一点行动值', stone_chongfeng:'冲锋', stone_chongfeng_info:'你出场时,立即将武将牌翻至正面', druid_nuhuo:'怒火', druid_nuhuo_info:'每当己方主将使用一次职业技能,便对一名随机敌人造成一点伤害', druid_chengzhang:'成长', druid_chengzhang2:'成长', druid_chengzhang_info:'你出场时,己方主将获得一点行动值;你死亡时,己方主将需弃置一张手牌', druid_huwei:'护卫', druid_huwei_info:'你出场时,己方主将可以选择一项:对一名随从造成一点伤害,或弃置一名随从的所有牌并将其体力上限改为1', stone_fachao:'法潮图腾', stone_tutengyongshi:'图腾勇士', stone_huoshe:'火舌图腾', stone_huoyuansu:'火元素', stone_tuyuansu:'土元素', stone_wujiyuansu:'无羁元素', stone_xuejuren:'穴居人', stone_huoli:'活力图腾', stone_tutengshi:'图腾师', stone_shachuisaman:'砂槌萨满', stone_huoyanweishi:'火焰卫士', stone_wanshiyuansu:'顽石元素', stone_shalinxingzhe:'砂鳞行者', shaman_anhun:'暗魂', shaman_anhun_info:'每当一名友方随从死亡,令主将从牌库中获得一张牌', shaman_zoushi:'走石', shaman_zoushi_info:'每当己方主将使用一张随从牌,对一名随机敌方角色造成一点伤害', shaman_zhuhuo:'逐火', shaman_zhuhuo_info:'你出场时,摸1~3张牌', shaman_peiyu:'培育', shaman_peiyu_info:'你出场时,增加X点体力和体力上限,X为友方图腾数', shaman_huoli:'活力', shaman_huoli_info:'己方主将出牌阶段开始时,你令其获得一点行动值', shaman_xueju:'穴居', shaman_xueju_info:'每当己主将使用一张随从牌,摸一张牌', shaman_huoxi:'火袭', shaman_huoxi_info:'你出场时,己方主将可以对对方一名随从造成两点火焰伤害', shaman_fachao:'法潮', shaman_fachao_info:'己方主将在其每个回合结束阶从牌库中获得一张牌并回复一点体力', shaman_huoshe:'火舌', shaman_huoshe_info:'其他友方随从造成的伤害始终+1', shaman_jili:'激励', shaman_jili_info:'己方主将回合结束时,所有友方图腾摸一张牌', shaman_tuteng:'图腾', shaman_tuteng_info:'你跳过摸牌阶段', shaman_fali:'空气', shaman_fali_info:'已方主将的回合结束阶段,令所有手牌数不大于1的友方随从摸一张牌', shaman_zhiliao:'治疗', shaman_zhiliao_info:'已方主将的回合结束阶段,令所有友方随从回复一点体力', shaman_zhuore:'灼热', shaman_zhuore_info:'已方主将的回合结束阶段,对一名随机敌方随从造成一点伤害', _shaman_skill:'祭天', _shaman_skill_info:'召唤一个随机图腾', _mage_skill:'火冲', _mage_skill_info:'对一名随从造成一点火焰伤害', _priest_skill:'治疗', _priest_skill_info:'回复一点体力', _priest_skillx:'心刺', _priest_skillx_info:'造成一点伤害', _warrior_skill:'战甲', _warrior_skill_info:'获得一点护甲(不能超过3点)', _warlock_skill:'分流', _warlock_skill_info:'从牌库中获得两张牌', _warlock_skillx:'炼狱', _warlock_skillx_info:'召唤一个地狱火', _rogue_skill:'出鞘', _rogue_skill_info:'装备一把武器和一个随机非武器装备', _paladin_skill:'动员', _paladin_skill_info:'召唤一名士兵', _hunter_skill:'射击', _hunter_skill_info:'对敌方主将造成一点伤害', _druid_skill:'猛击', _druid_skill_info:'视为使用一张不计入出杀次数的杀', stone_tuteng1:'石爪图腾', stone_tuteng2:'灼热图腾', stone_tuteng3:'空气图腾', stone_tuteng4:'治疗图腾', stone_xinbing:'新兵', stone_zhongshi:'中士', stone_zhongshi1:'叫嚣', stone_zhongshi1_info:'你出场时,己方主将可以弃置对方一名随从的所有牌', stone_zhucangzhe:'伫藏者', stone_zhucangzhe1:'伫藏', stone_zhucangzhe1_info:'你出场时,己方主将可以令己方一名其他角色摸一张牌', stone_huoqiangshou:'火枪手', stone_huoqiangshou1:'火枪', stone_huoqiangshou1_info:'你出场时,己方主将可以对对方一名随从造成一点伤害', stone_lansaizhanshi:'蓝腮战士', stone_kutongsiseng:'苦痛侍僧', stone_kutongsiseng1:'苦痛', stone_kutongsiseng2:'苦痛', stone_kutongsiseng1_info:'你出场时,己方主将于本回合结束阶段摸一张牌', stone_yuanguanying:'远古暗影', stone_yuanguanying1:'暗影', stone_yuanguanying1_info:'你出场时,己方主将可视为对一名敌方角色使用一张杀', stone_dijieshicong:'低阶侍从', stone_dijieshicong1:'持枪', stone_dijieshicong1_info:'你出场时,敌方主将随机弃置一张装备牌', stone_yaosaishouwei:'要塞守卫', stone_yaosaishouwei1:'守卫', stone_yaosaishouwei1_info:'你出场时,己方主将本回合手牌上限+2', stone_famingjia:'发明家', stone_famingjia1:'发明', stone_famingjia1_info:'你出场时,己方主将摸两张牌', stone_chilundashi:'齿轮大师', stone_chilundashi1:'齿轮', stone_chilundashi2:'齿轮', stone_chilundashi1_info:'你出场后的第一个摸牌阶段摸牌数+1', stone_hanguangzhizhe:'寒光智者', stone_hanguangzhizhe1:'寒光', stone_hanguangzhizhe1_info:'你出场时,所有其他随从各摸一张牌', stone_aihaozhihun:'哀嚎之魂', stone_aihaozhihun1:'哀嚎', stone_aihaozhihun1_info:'你出场时,敌方随从弃置所有牌', stone_fennuxiaoji:'愤怒小鸡', stone_fennuxiaoji1:'暴怒', stone_fennuxiaoji1_info:'回合开始阶段,若你没有手牌,你摸两张牌', stone_juxingchanchu:'巨型蟾蜍', stone_juxingchanchu1:'毒液', stone_juxingchanchu1_info:'你死亡时,己方主将可令一名敌方随从失去1点体力', stone_shishigui:'食尸鬼', stone_shishigui1:'食尸', stone_shishigui1_info:'你死亡后,场上所有其他随从失去1点体力', stone_wuyi:'巫医', stone_langren:'狼人', stone_qianxing:'潜行', stone_qianxing_info:'在你的回合开始前,不能成为任何卡牌的目标', stone_mingguangjisi:'明光祭司', stone_nianqingjisi:'年轻祭司', stone_zhufu:'祝福', stone_zhufu_info:'回合结束阶段,你令一名随机的受伤友方随从回复一点体力', stone_aomishouwei:'奥秘守卫', stone_yanjingshe:'眼镜蛇', stone_yanjingshe1:'毒噬', stone_yanjingshe1_info:'你出场时,若敌方随从数不少于己方,则随机杀死一名随从', stone_zhiyuzhe:'治愈者', stone_zhiyu:'治愈', stone_zhiyu_info:'你出场时,令所有友方随从回复一点体力', stone_mafengzhuru:'麻风侏儒', stone_mafengzhuru1:'麻风', stone_mafengzhuru1_info:'杀死你的随从失去一点体力', stone_fatiaozhuru:'发条侏儒', stone_fatiaozhuru1:'发条', stone_fatiaozhuru1_info:'回合结束阶段,若你没有手牌,你摸两张牌', stonesha:'进攻', stonesha_info:'锁定技,你的装备牌均视为杀', stoneshan:'格挡', stoneshan_info:'锁定技,你的随从牌均视为闪', stonecharacter:'随从', spell_shengerpingdeng:'生而平等', spell_shengerpingdeng_info:'将所有随从体力上限降为1', spell_jingshenkongzhi:'精神控制', spell_jingshenkongzhi_info:'限主将使用,将一名敌方随从吸收为己方', spell_anyingkuangluan:'暗影狂乱', spell_anyingkuangluan_info:'限主将使用,将一名敌方随从吸收为己方,并令其于下个回合结束后死亡', spell_anyingkuangluan_die:'暗影狂乱', spell_anyingkuangluan_die_info:'下个回合结束后死亡', spell_binghuan:'冰环', spell_binghuan_info:'将场上所有随从翻面', spell_morizaihuo:'末日灾祸', spell_morizaihuo_info:'令场上所有随从立即死亡,回复两点体力', spell_zhiliaozhichu:'治疗之触', spell_zhiliaozhichu_info:'令目标随从恢复所有体力值并获得嘲讽', chaofeng:'嘲讽', chaofeng_info:'同阵营的无嘲讽角色不以能成为杀的目标', spell_wangzhezhufu:'王者祝福', spell_wangzhezhufu_info:'令一名随从增加两点体力和体力上限并摸两张牌', spell_diyulieyan:'地狱烈焰', spell_diyulieyan_info:'所有角色失去一点体力', spell_chenmo:'沉默', spell_chenmo_info:'弃置一名随从的所有牌,并令其体力上限减至1', spell_zhiliaoshui:'治疗水', spell_zhiliaoshui_info:'出牌阶段对自己使用,恢复两点体力值;或于濒死阶段对一名角色使用,令目标恢复一点体力', spell_yanmie:'极恶之咒', spell_yanmie_info:'交换你与敌方主将的装备区,并摸若干张牌直到你的手牌数与敌方主将相等', spell_xiaoshi:'消失', spell_xiaoshi_info:'令敌方主将将所有装备区内的牌收入手牌,并弃置其若干张手牌,直到其手牌数与你相等', stonecard:'法术', mode_stone_card_config:'炉石模式', mode_stone_character_config:'炉石模式', }, ai:{ get:{ attitude:function(from,to){ var num; if(to.isMin()&&!to.skills.contains('chaofeng')){ num=5; } else{ num=6; } return num*(from.side==to.side?1:-1); } } }, config:['battle_number','double_character','double_hp','ban_weak','free_choose','change_choice'], }