diff --git a/character/boss.js b/character/boss.js index de0ad2675..3bbec12c0 100644 --- a/character/boss.js +++ b/character/boss.js @@ -2298,7 +2298,7 @@ character.boss={ target.loseMaxHp(); } else{ - target.disabledSkills.boss_hujia=lib.character[target.name][3]; + target.disableSkill('boss_hujia',lib.character[target.name][3]); } player.discard(result.cards); } @@ -2330,7 +2330,7 @@ character.boss={ player.draw(4); "step 2" for(var i=0;i1) auto=false; for(i=0;i7){ nochess=false; } @@ -19415,7 +19555,7 @@ return player2; }, arrangePlayers:function(){ - if(lib.config.mode=='chess'&&game.me){ + if(game.chess&&game.me){ var friendCount=0; var enemyCount=0; var rand=Math.random()<0.5; @@ -19502,22 +19642,16 @@ }, filterSkills:function(skills,player){ var out=skills.slice(0); - var filter=[]; for(var i in player.disabledSkills){ if(typeof player.disabledSkills[i]=='string'){ - filter.add(player.disabledSkills[i]); + out.remove(player.disabledSkills[i]); } else if(Array.isArray(player.disabledSkills[i])){ for(var j=0;j
'; + if(node.forbiddenSkills[skills[i]].length){ + forbidstr+='(与'+get.translation(node.forbiddenSkills[skills[i]])+'冲突)
'; + } + else{ + forbidstr+='(双将禁用)
'; + } + forbidstr+=lib.translate[skills[i]+'_info']+'
' + uiintro.add(forbidstr); + } + else if(!skills2.contains(skills[i])){ uiintro.add('
【'+translation+'】
'+lib.translate[skills[i]+'_info']+'
'); } else{ @@ -31239,13 +31382,13 @@ } } } - var forbidden=node.forbiddenSkills; - for(i=0;i
『'+translation+'』
'+'已禁用'+'
'); - } - } + // var forbidden=node.forbiddenSkills; + // for(i=0;i
『'+translation+'』
'+'已禁用'+'
'); + // } + // } if(lib.config.show_favourite&&lib.character[node.name]&&get.mode()!='story'){ var addFavourite=ui.create.div('.text.center'); diff --git a/game/package.js b/game/package.js index 71c83fb6c..5eb0d337f 100755 --- a/game/package.js +++ b/game/package.js @@ -41,7 +41,9 @@ mode.pack={ connect:'联机', boss:'挑战', chess:'战棋', + tafang:'塔防', stone:'炉石', + brawl:'乱斗', }; background.pack={ zhulian_bg:'璧合', diff --git a/game/source.js b/game/source.js index 254c3340a..49006b74d 100644 --- a/game/source.js +++ b/game/source.js @@ -46,7 +46,7 @@ window.noname_source_list=[ 'layout/mode/boss.css', 'layout/mode/chess.css', 'layout/mode/stone.css', - 'layout/mode/story.css', + 'layout/mode/brawl.css', 'layout/newlayout/equip.css', 'layout/newlayout/global.css', 'layout/newlayout/layout.css', @@ -55,9 +55,9 @@ window.noname_source_list=[ 'mode/chess.js', 'mode/guozhan.js', 'mode/identity.js', - 'mode/realtime.js', + 'mode/tafang.js', 'mode/stone.js', - 'mode/story.js', + 'mode/brawl.js', 'mode/versus.js', 'mode/connect.js', 'extension/character/extension.js', diff --git a/image/mode/story/character/guanyu.png b/image/mode/story/character/guanyu.png deleted file mode 100644 index f7d7427b1..000000000 Binary files a/image/mode/story/character/guanyu.png and /dev/null differ diff --git a/image/mode/story/character/lvbu.png b/image/mode/story/character/lvbu.png deleted file mode 100644 index 788a42a12..000000000 Binary files a/image/mode/story/character/lvbu.png and /dev/null differ diff --git a/image/mode/story/character/male_moushi.jpg b/image/mode/story/character/male_moushi.jpg deleted file mode 100644 index 1708a350d..000000000 Binary files a/image/mode/story/character/male_moushi.jpg and /dev/null differ diff --git a/image/mode/story/character/nanhua.jpg b/image/mode/story/character/nanhua.jpg deleted file mode 100644 index 82d1eef1e..000000000 Binary files a/image/mode/story/character/nanhua.jpg and /dev/null differ diff --git a/image/mode/story/character/yuji.jpg b/image/mode/story/character/yuji.jpg deleted file mode 100644 index 1fcdc7bea..000000000 Binary files a/image/mode/story/character/yuji.jpg and /dev/null differ diff --git a/image/mode/story/character/zhangfei.jpg b/image/mode/story/character/zhangfei.jpg deleted file mode 100644 index acdb6d819..000000000 Binary files a/image/mode/story/character/zhangfei.jpg and /dev/null differ diff --git a/image/mode/story/character/zuoci.jpg b/image/mode/story/character/zuoci.jpg deleted file mode 100644 index c5637f4b8..000000000 Binary files a/image/mode/story/character/zuoci.jpg and /dev/null differ diff --git a/image/mode/story/scene/baguazhen.jpg b/image/mode/story/scene/baguazhen.jpg deleted file mode 100644 index 93affe8c9..000000000 Binary files a/image/mode/story/scene/baguazhen.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai.jpg b/image/mode/story/scene/beihai.jpg deleted file mode 100644 index 9e515cf3f..000000000 Binary files a/image/mode/story/scene/beihai.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai_kezhan.jpg b/image/mode/story/scene/beihai_kezhan.jpg deleted file mode 100644 index 01ced8e71..000000000 Binary files a/image/mode/story/scene/beihai_kezhan.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai_kezhanerlou.jpg b/image/mode/story/scene/beihai_kezhanerlou.jpg deleted file mode 100644 index 907a08b41..000000000 Binary files a/image/mode/story/scene/beihai_kezhanerlou.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai_kezhankefang.jpg b/image/mode/story/scene/beihai_kezhankefang.jpg deleted file mode 100644 index bca71fcdc..000000000 Binary files a/image/mode/story/scene/beihai_kezhankefang.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai_taishicijia.jpg b/image/mode/story/scene/beihai_taishicijia.jpg deleted file mode 100644 index 6df679b09..000000000 Binary files a/image/mode/story/scene/beihai_taishicijia.jpg and /dev/null differ diff --git a/image/mode/story/scene/beihai_yaodian.jpg b/image/mode/story/scene/beihai_yaodian.jpg deleted file mode 100644 index 0c54c3b88..000000000 Binary files a/image/mode/story/scene/beihai_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/beiping.jpg b/image/mode/story/scene/beiping.jpg deleted file mode 100644 index cfcba3e19..000000000 Binary files a/image/mode/story/scene/beiping.jpg and /dev/null differ diff --git a/image/mode/story/scene/beiping_chengmen.jpg b/image/mode/story/scene/beiping_chengmen.jpg deleted file mode 100644 index a9e32724f..000000000 Binary files a/image/mode/story/scene/beiping_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/beiping_minfang1.jpg b/image/mode/story/scene/beiping_minfang1.jpg deleted file mode 100644 index 512be3efc..000000000 Binary files a/image/mode/story/scene/beiping_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/beiping_minfang2.jpg b/image/mode/story/scene/beiping_minfang2.jpg deleted file mode 100644 index 978a31c60..000000000 Binary files a/image/mode/story/scene/beiping_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/beiping_wuqidian.jpg b/image/mode/story/scene/beiping_wuqidian.jpg deleted file mode 100644 index 7b8929675..000000000 Binary files a/image/mode/story/scene/beiping_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/chaisang.jpg b/image/mode/story/scene/chaisang.jpg deleted file mode 100644 index 2a75a6140..000000000 Binary files a/image/mode/story/scene/chaisang.jpg and /dev/null differ diff --git a/image/mode/story/scene/chaisang_chengmen.jpg b/image/mode/story/scene/chaisang_chengmen.jpg deleted file mode 100644 index ee581ec2f..000000000 Binary files a/image/mode/story/scene/chaisang_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/chaisang_minfang.jpg b/image/mode/story/scene/chaisang_minfang.jpg deleted file mode 100644 index 1aac0825a..000000000 Binary files a/image/mode/story/scene/chaisang_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/chaisang_yaodian.jpg b/image/mode/story/scene/chaisang_yaodian.jpg deleted file mode 100644 index b5e15c224..000000000 Binary files a/image/mode/story/scene/chaisang_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan.jpg b/image/mode/story/scene/changan.jpg deleted file mode 100644 index 159041834..000000000 Binary files a/image/mode/story/scene/changan.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_chengmen.jpg b/image/mode/story/scene/changan_chengmen.jpg deleted file mode 100644 index 0ae3f49d8..000000000 Binary files a/image/mode/story/scene/changan_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_daoguan.jpg b/image/mode/story/scene/changan_daoguan.jpg deleted file mode 100644 index 96b3166cb..000000000 Binary files a/image/mode/story/scene/changan_daoguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_daoguankefang1.jpg b/image/mode/story/scene/changan_daoguankefang1.jpg deleted file mode 100644 index e8fb0c0dd..000000000 Binary files a/image/mode/story/scene/changan_daoguankefang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_daoguankefang2.jpg b/image/mode/story/scene/changan_daoguankefang2.jpg deleted file mode 100644 index 5c5aea652..000000000 Binary files a/image/mode/story/scene/changan_daoguankefang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_jiaowai.jpg b/image/mode/story/scene/changan_jiaowai.jpg deleted file mode 100644 index 8677c1e8f..000000000 Binary files a/image/mode/story/scene/changan_jiaowai.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_jiuguan.jpg b/image/mode/story/scene/changan_jiuguan.jpg deleted file mode 100644 index 08315b49e..000000000 Binary files a/image/mode/story/scene/changan_jiuguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/changan_zhubaodian.jpg b/image/mode/story/scene/changan_zhubaodian.jpg deleted file mode 100644 index 22c09916f..000000000 Binary files a/image/mode/story/scene/changan_zhubaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/changjiangdukou.jpg b/image/mode/story/scene/changjiangdukou.jpg deleted file mode 100644 index 09f541563..000000000 Binary files a/image/mode/story/scene/changjiangdukou.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha.jpg b/image/mode/story/scene/changsha.jpg deleted file mode 100644 index 9a077f517..000000000 Binary files a/image/mode/story/scene/changsha.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_jiuguan.jpg b/image/mode/story/scene/changsha_jiuguan.jpg deleted file mode 100644 index 5bfe7b302..000000000 Binary files a/image/mode/story/scene/changsha_jiuguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_luzhai.jpg b/image/mode/story/scene/changsha_luzhai.jpg deleted file mode 100644 index 5260d4f88..000000000 Binary files a/image/mode/story/scene/changsha_luzhai.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_luzhaitingyuan.jpg b/image/mode/story/scene/changsha_luzhaitingyuan.jpg deleted file mode 100644 index d04419ecd..000000000 Binary files a/image/mode/story/scene/changsha_luzhaitingyuan.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_majiu.jpg b/image/mode/story/scene/changsha_majiu.jpg deleted file mode 100644 index 7efe57f19..000000000 Binary files a/image/mode/story/scene/changsha_majiu.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_minfang.jpg b/image/mode/story/scene/changsha_minfang.jpg deleted file mode 100644 index b1cdfa7da..000000000 Binary files a/image/mode/story/scene/changsha_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_neibu.jpg b/image/mode/story/scene/changsha_neibu.jpg deleted file mode 100644 index d5c0826c8..000000000 Binary files a/image/mode/story/scene/changsha_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/changsha_shudian.jpg b/image/mode/story/scene/changsha_shudian.jpg deleted file mode 100644 index 3897371cd..000000000 Binary files a/image/mode/story/scene/changsha_shudian.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu.jpg b/image/mode/story/scene/chengdu.jpg deleted file mode 100644 index d9662f859..000000000 Binary files a/image/mode/story/scene/chengdu.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_huanggong.jpg b/image/mode/story/scene/chengdu_huanggong.jpg deleted file mode 100644 index 2702ca409..000000000 Binary files a/image/mode/story/scene/chengdu_huanggong.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_minfang1.jpg b/image/mode/story/scene/chengdu_minfang1.jpg deleted file mode 100644 index c0e4e4418..000000000 Binary files a/image/mode/story/scene/chengdu_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_minfang2.jpg b/image/mode/story/scene/chengdu_minfang2.jpg deleted file mode 100644 index 3b8bdd0ac..000000000 Binary files a/image/mode/story/scene/chengdu_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_neibu.jpg b/image/mode/story/scene/chengdu_neibu.jpg deleted file mode 100644 index 231af2788..000000000 Binary files a/image/mode/story/scene/chengdu_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_wuqidian.jpg b/image/mode/story/scene/chengdu_wuqidian.jpg deleted file mode 100644 index 1d64391ff..000000000 Binary files a/image/mode/story/scene/chengdu_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/chengdu_yaodian.jpg b/image/mode/story/scene/chengdu_yaodian.jpg deleted file mode 100644 index 93586c5c0..000000000 Binary files a/image/mode/story/scene/chengdu_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/guosiying.jpg b/image/mode/story/scene/guosiying.jpg deleted file mode 100644 index 63f1b8e66..000000000 Binary files a/image/mode/story/scene/guosiying.jpg and /dev/null differ diff --git a/image/mode/story/scene/guosiying_neibu.jpg b/image/mode/story/scene/guosiying_neibu.jpg deleted file mode 100644 index 35706d4a6..000000000 Binary files a/image/mode/story/scene/guosiying_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/huanghedukou.jpg b/image/mode/story/scene/huanghedukou.jpg deleted file mode 100644 index d1de18b5a..000000000 Binary files a/image/mode/story/scene/huanghedukou.jpg and /dev/null differ diff --git a/image/mode/story/scene/huashan.jpg b/image/mode/story/scene/huashan.jpg deleted file mode 100644 index 091bb105f..000000000 Binary files a/image/mode/story/scene/huashan.jpg and /dev/null differ diff --git a/image/mode/story/scene/huashan_shandao.jpg b/image/mode/story/scene/huashan_shandao.jpg deleted file mode 100644 index e035e411a..000000000 Binary files a/image/mode/story/scene/huashan_shandao.jpg and /dev/null differ diff --git a/image/mode/story/scene/huashan_shandian.jpg b/image/mode/story/scene/huashan_shandian.jpg deleted file mode 100644 index baa5d9308..000000000 Binary files a/image/mode/story/scene/huashan_shandian.jpg and /dev/null differ diff --git a/image/mode/story/scene/hulaoguan.jpg b/image/mode/story/scene/hulaoguan.jpg deleted file mode 100644 index e28dbd575..000000000 Binary files a/image/mode/story/scene/hulaoguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiamengguan.jpg b/image/mode/story/scene/jiamengguan.jpg deleted file mode 100644 index 3761a5fe9..000000000 Binary files a/image/mode/story/scene/jiamengguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia.jpg b/image/mode/story/scene/jiangxia.jpg deleted file mode 100644 index b9e1ef38a..000000000 Binary files a/image/mode/story/scene/jiangxia.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_chengjiao.jpg b/image/mode/story/scene/jiangxia_chengjiao.jpg deleted file mode 100644 index a9a840d23..000000000 Binary files a/image/mode/story/scene/jiangxia_chengjiao.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_chengmen.jpg b/image/mode/story/scene/jiangxia_chengmen.jpg deleted file mode 100644 index 6ac9d182a..000000000 Binary files a/image/mode/story/scene/jiangxia_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_minfang.jpg b/image/mode/story/scene/jiangxia_minfang.jpg deleted file mode 100644 index f4c924fc3..000000000 Binary files a/image/mode/story/scene/jiangxia_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_rukou.jpg b/image/mode/story/scene/jiangxia_rukou.jpg deleted file mode 100644 index 070de6b6c..000000000 Binary files a/image/mode/story/scene/jiangxia_rukou.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_taishoufu.jpg b/image/mode/story/scene/jiangxia_taishoufu.jpg deleted file mode 100644 index ee6bdbe31..000000000 Binary files a/image/mode/story/scene/jiangxia_taishoufu.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_taishoufumidao.jpg b/image/mode/story/scene/jiangxia_taishoufumidao.jpg deleted file mode 100644 index e904087b6..000000000 Binary files a/image/mode/story/scene/jiangxia_taishoufumidao.jpg and /dev/null differ diff --git a/image/mode/story/scene/jiangxia_wuqidian.jpg b/image/mode/story/scene/jiangxia_wuqidian.jpg deleted file mode 100644 index 81c857454..000000000 Binary files a/image/mode/story/scene/jiangxia_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye.jpg b/image/mode/story/scene/jianye.jpg deleted file mode 100644 index ac56a2feb..000000000 Binary files a/image/mode/story/scene/jianye.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye_huanggong.jpg b/image/mode/story/scene/jianye_huanggong.jpg deleted file mode 100644 index 0af525e36..000000000 Binary files a/image/mode/story/scene/jianye_huanggong.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye_minfang.jpg b/image/mode/story/scene/jianye_minfang.jpg deleted file mode 100644 index 835945b47..000000000 Binary files a/image/mode/story/scene/jianye_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye_neicheng.jpg b/image/mode/story/scene/jianye_neicheng.jpg deleted file mode 100644 index 89deb9884..000000000 Binary files a/image/mode/story/scene/jianye_neicheng.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye_shudian.jpg b/image/mode/story/scene/jianye_shudian.jpg deleted file mode 100644 index 87d0e493b..000000000 Binary files a/image/mode/story/scene/jianye_shudian.jpg and /dev/null differ diff --git a/image/mode/story/scene/jianye_zhubaodian.jpg b/image/mode/story/scene/jianye_zhubaodian.jpg deleted file mode 100644 index 4f38f3c01..000000000 Binary files a/image/mode/story/scene/jianye_zhubaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/julu.jpg b/image/mode/story/scene/julu.jpg deleted file mode 100644 index f64411ced..000000000 Binary files a/image/mode/story/scene/julu.jpg and /dev/null differ diff --git a/image/mode/story/scene/julu_neibu.jpg b/image/mode/story/scene/julu_neibu.jpg deleted file mode 100644 index 85628c889..000000000 Binary files a/image/mode/story/scene/julu_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/julu_zhangjiaojia.jpg b/image/mode/story/scene/julu_zhangjiaojia.jpg deleted file mode 100644 index 1bf612a74..000000000 Binary files a/image/mode/story/scene/julu_zhangjiaojia.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang.jpg b/image/mode/story/scene/juyang.jpg deleted file mode 100644 index 0f71c823d..000000000 Binary files a/image/mode/story/scene/juyang.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_kezhan.jpg b/image/mode/story/scene/juyang_kezhan.jpg deleted file mode 100644 index 86da823c7..000000000 Binary files a/image/mode/story/scene/juyang_kezhan.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_kezhanfangjian.jpg b/image/mode/story/scene/juyang_kezhanfangjian.jpg deleted file mode 100644 index 7bc59295d..000000000 Binary files a/image/mode/story/scene/juyang_kezhanfangjian.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_lifu.jpg b/image/mode/story/scene/juyang_lifu.jpg deleted file mode 100644 index 72a5a4c60..000000000 Binary files a/image/mode/story/scene/juyang_lifu.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_lifucangbaoshi.jpg b/image/mode/story/scene/juyang_lifucangbaoshi.jpg deleted file mode 100644 index fb5194378..000000000 Binary files a/image/mode/story/scene/juyang_lifucangbaoshi.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_lifumidao.jpg b/image/mode/story/scene/juyang_lifumidao.jpg deleted file mode 100644 index 92ec5b961..000000000 Binary files a/image/mode/story/scene/juyang_lifumidao.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_lifuqian.jpg b/image/mode/story/scene/juyang_lifuqian.jpg deleted file mode 100644 index a618511a2..000000000 Binary files a/image/mode/story/scene/juyang_lifuqian.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_minfang1.jpg b/image/mode/story/scene/juyang_minfang1.jpg deleted file mode 100644 index 7f1a1a570..000000000 Binary files a/image/mode/story/scene/juyang_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_minfang2.jpg b/image/mode/story/scene/juyang_minfang2.jpg deleted file mode 100644 index 86edaee3c..000000000 Binary files a/image/mode/story/scene/juyang_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_neibu.jpg b/image/mode/story/scene/juyang_neibu.jpg deleted file mode 100644 index a6a3cb014..000000000 Binary files a/image/mode/story/scene/juyang_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/juyang_zhubaodian.jpg b/image/mode/story/scene/juyang_zhubaodian.jpg deleted file mode 100644 index 5d53e9b73..000000000 Binary files a/image/mode/story/scene/juyang_zhubaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang.jpg b/image/mode/story/scene/luoyang.jpg deleted file mode 100644 index f4656950a..000000000 Binary files a/image/mode/story/scene/luoyang.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_dongmen.jpg b/image/mode/story/scene/luoyang_dongmen.jpg deleted file mode 100644 index bb2915a6a..000000000 Binary files a/image/mode/story/scene/luoyang_dongmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_duchang.jpg b/image/mode/story/scene/luoyang_duchang.jpg deleted file mode 100644 index 1831781a7..000000000 Binary files a/image/mode/story/scene/luoyang_duchang.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_huangchengwai.jpg b/image/mode/story/scene/luoyang_huangchengwai.jpg deleted file mode 100644 index ed3795102..000000000 Binary files a/image/mode/story/scene/luoyang_huangchengwai.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_huanggong.jpg b/image/mode/story/scene/luoyang_huanggong.jpg deleted file mode 100644 index e3312d380..000000000 Binary files a/image/mode/story/scene/luoyang_huanggong.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_huanggongwai.jpg b/image/mode/story/scene/luoyang_huanggongwai.jpg deleted file mode 100644 index a260f4397..000000000 Binary files a/image/mode/story/scene/luoyang_huanggongwai.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_tianxianglou.jpg b/image/mode/story/scene/luoyang_tianxianglou.jpg deleted file mode 100644 index 103028ade..000000000 Binary files a/image/mode/story/scene/luoyang_tianxianglou.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_wenhoufu.jpg b/image/mode/story/scene/luoyang_wenhoufu.jpg deleted file mode 100644 index c67e4ec57..000000000 Binary files a/image/mode/story/scene/luoyang_wenhoufu.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_wenhoufuqian.jpg b/image/mode/story/scene/luoyang_wenhoufuqian.jpg deleted file mode 100644 index 64ec472fa..000000000 Binary files a/image/mode/story/scene/luoyang_wenhoufuqian.jpg and /dev/null differ diff --git a/image/mode/story/scene/luoyang_zhubaodian.jpg b/image/mode/story/scene/luoyang_zhubaodian.jpg deleted file mode 100644 index 352a3ca18..000000000 Binary files a/image/mode/story/scene/luoyang_zhubaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanman.jpg b/image/mode/story/scene/nanman.jpg deleted file mode 100644 index e13b6b526..000000000 Binary files a/image/mode/story/scene/nanman.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanman_cunzhangjia.jpg b/image/mode/story/scene/nanman_cunzhangjia.jpg deleted file mode 100644 index 90d7161b0..000000000 Binary files a/image/mode/story/scene/nanman_cunzhangjia.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanman_minfang1.jpg b/image/mode/story/scene/nanman_minfang1.jpg deleted file mode 100644 index a3fde3c99..000000000 Binary files a/image/mode/story/scene/nanman_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanman_minfang2.jpg b/image/mode/story/scene/nanman_minfang2.jpg deleted file mode 100644 index 7777029ff..000000000 Binary files a/image/mode/story/scene/nanman_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang.jpg b/image/mode/story/scene/nanyang.jpg deleted file mode 100644 index 009e1e419..000000000 Binary files a/image/mode/story/scene/nanyang.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_chengmen.jpg b/image/mode/story/scene/nanyang_chengmen.jpg deleted file mode 100644 index e908edc69..000000000 Binary files a/image/mode/story/scene/nanyang_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_minfang1.jpg b/image/mode/story/scene/nanyang_minfang1.jpg deleted file mode 100644 index 32d8b267a..000000000 Binary files a/image/mode/story/scene/nanyang_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_minfang2.jpg b/image/mode/story/scene/nanyang_minfang2.jpg deleted file mode 100644 index 095bad862..000000000 Binary files a/image/mode/story/scene/nanyang_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_taishoufu.jpg b/image/mode/story/scene/nanyang_taishoufu.jpg deleted file mode 100644 index 4b56e5b75..000000000 Binary files a/image/mode/story/scene/nanyang_taishoufu.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_taishoufuqian.jpg b/image/mode/story/scene/nanyang_taishoufuqian.jpg deleted file mode 100644 index ac6bfa299..000000000 Binary files a/image/mode/story/scene/nanyang_taishoufuqian.jpg and /dev/null differ diff --git a/image/mode/story/scene/nanyang_yaodian.jpg b/image/mode/story/scene/nanyang_yaodian.jpg deleted file mode 100644 index 80f6f5a8a..000000000 Binary files a/image/mode/story/scene/nanyang_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/shangdang.jpg b/image/mode/story/scene/shangdang.jpg deleted file mode 100644 index 338c2ddb4..000000000 Binary files a/image/mode/story/scene/shangdang.jpg and /dev/null differ diff --git a/image/mode/story/scene/shangdang_rukou.jpg b/image/mode/story/scene/shangdang_rukou.jpg deleted file mode 100644 index 56751524e..000000000 Binary files a/image/mode/story/scene/shangdang_rukou.jpg and /dev/null differ diff --git a/image/mode/story/scene/shangdang_yingdi.jpg b/image/mode/story/scene/shangdang_yingdi.jpg deleted file mode 100644 index acfe4c0ca..000000000 Binary files a/image/mode/story/scene/shangdang_yingdi.jpg and /dev/null differ diff --git a/image/mode/story/scene/shanyue.jpg b/image/mode/story/scene/shanyue.jpg deleted file mode 100644 index 937e7ab3b..000000000 Binary files a/image/mode/story/scene/shanyue.jpg and /dev/null differ diff --git a/image/mode/story/scene/shanyue_conglin.jpg b/image/mode/story/scene/shanyue_conglin.jpg deleted file mode 100644 index 32f0dcc5e..000000000 Binary files a/image/mode/story/scene/shanyue_conglin.jpg and /dev/null differ diff --git a/image/mode/story/scene/shanyue_rukou.jpg b/image/mode/story/scene/shanyue_rukou.jpg deleted file mode 100644 index c31ffc768..000000000 Binary files a/image/mode/story/scene/shanyue_rukou.jpg and /dev/null differ diff --git a/image/mode/story/scene/sishuiguan.jpg b/image/mode/story/scene/sishuiguan.jpg deleted file mode 100644 index 3c2e03fe8..000000000 Binary files a/image/mode/story/scene/sishuiguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/taoyuanxiang.jpg b/image/mode/story/scene/taoyuanxiang.jpg deleted file mode 100644 index 8b35d8412..000000000 Binary files a/image/mode/story/scene/taoyuanxiang.jpg and /dev/null differ diff --git a/image/mode/story/scene/taoyuanxiang_nanhuafang.jpg b/image/mode/story/scene/taoyuanxiang_nanhuafang.jpg deleted file mode 100644 index 0c2d3f7b6..000000000 Binary files a/image/mode/story/scene/taoyuanxiang_nanhuafang.jpg and /dev/null differ diff --git a/image/mode/story/scene/taoyuanxiang_yujifang.jpg b/image/mode/story/scene/taoyuanxiang_yujifang.jpg deleted file mode 100644 index 3c746c43d..000000000 Binary files a/image/mode/story/scene/taoyuanxiang_yujifang.jpg and /dev/null differ diff --git a/image/mode/story/scene/taoyuanxiang_zuocifang.jpg b/image/mode/story/scene/taoyuanxiang_zuocifang.jpg deleted file mode 100644 index 348613ef3..000000000 Binary files a/image/mode/story/scene/taoyuanxiang_zuocifang.jpg and /dev/null differ diff --git a/image/mode/story/scene/tianshizhong.jpg b/image/mode/story/scene/tianshizhong.jpg deleted file mode 100644 index 3ec0c4688..000000000 Binary files a/image/mode/story/scene/tianshizhong.jpg and /dev/null differ diff --git a/image/mode/story/scene/tianshizhong_neibu1.jpg b/image/mode/story/scene/tianshizhong_neibu1.jpg deleted file mode 100644 index 9acb77978..000000000 Binary files a/image/mode/story/scene/tianshizhong_neibu1.jpg and /dev/null differ diff --git a/image/mode/story/scene/tianshizhong_neibu2.jpg b/image/mode/story/scene/tianshizhong_neibu2.jpg deleted file mode 100644 index f621ffe23..000000000 Binary files a/image/mode/story/scene/tianshizhong_neibu2.jpg and /dev/null differ diff --git a/image/mode/story/scene/tianshizhong_neibu3.jpg b/image/mode/story/scene/tianshizhong_neibu3.jpg deleted file mode 100644 index 39c2bc284..000000000 Binary files a/image/mode/story/scene/tianshizhong_neibu3.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuguan_1.jpg b/image/mode/story/scene/wuguan_1.jpg deleted file mode 100644 index 525b09536..000000000 Binary files a/image/mode/story/scene/wuguan_1.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuguan_2.jpg b/image/mode/story/scene/wuguan_2.jpg deleted file mode 100644 index 8557db54d..000000000 Binary files a/image/mode/story/scene/wuguan_2.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuguan_3.jpg b/image/mode/story/scene/wuguan_3.jpg deleted file mode 100644 index c01e7cf09..000000000 Binary files a/image/mode/story/scene/wuguan_3.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuguan_4.jpg b/image/mode/story/scene/wuguan_4.jpg deleted file mode 100644 index 3761a5fe9..000000000 Binary files a/image/mode/story/scene/wuguan_4.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuguan_5.jpg b/image/mode/story/scene/wuguan_5.jpg deleted file mode 100644 index b32a884df..000000000 Binary files a/image/mode/story/scene/wuguan_5.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin.jpg b/image/mode/story/scene/wulin.jpg deleted file mode 100644 index 466ab1384..000000000 Binary files a/image/mode/story/scene/wulin.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_chengmen.jpg b/image/mode/story/scene/wulin_chengmen.jpg deleted file mode 100644 index 5c4521767..000000000 Binary files a/image/mode/story/scene/wulin_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_houbu.jpg b/image/mode/story/scene/wulin_houbu.jpg deleted file mode 100644 index 48a9ae748..000000000 Binary files a/image/mode/story/scene/wulin_houbu.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_jiuguan.jpg b/image/mode/story/scene/wulin_jiuguan.jpg deleted file mode 100644 index 6211f3e5c..000000000 Binary files a/image/mode/story/scene/wulin_jiuguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_lvmengjia.jpg b/image/mode/story/scene/wulin_lvmengjia.jpg deleted file mode 100644 index fd3587d6a..000000000 Binary files a/image/mode/story/scene/wulin_lvmengjia.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_minfang.jpg b/image/mode/story/scene/wulin_minfang.jpg deleted file mode 100644 index 223e838db..000000000 Binary files a/image/mode/story/scene/wulin_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_qianbu.jpg b/image/mode/story/scene/wulin_qianbu.jpg deleted file mode 100644 index 60ccd1e54..000000000 Binary files a/image/mode/story/scene/wulin_qianbu.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_shudian.jpg b/image/mode/story/scene/wulin_shudian.jpg deleted file mode 100644 index f4153b9fa..000000000 Binary files a/image/mode/story/scene/wulin_shudian.jpg and /dev/null differ diff --git a/image/mode/story/scene/wulin_zhongbu.jpg b/image/mode/story/scene/wulin_zhongbu.jpg deleted file mode 100644 index 03a95d5aa..000000000 Binary files a/image/mode/story/scene/wulin_zhongbu.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuwei.jpg b/image/mode/story/scene/wuwei.jpg deleted file mode 100644 index 78731a164..000000000 Binary files a/image/mode/story/scene/wuwei.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuwei_chengmen.jpg b/image/mode/story/scene/wuwei_chengmen.jpg deleted file mode 100644 index 750f6c7b5..000000000 Binary files a/image/mode/story/scene/wuwei_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuwei_jiuguan.jpg b/image/mode/story/scene/wuwei_jiuguan.jpg deleted file mode 100644 index a64c9caf0..000000000 Binary files a/image/mode/story/scene/wuwei_jiuguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuwei_mazhai.jpg b/image/mode/story/scene/wuwei_mazhai.jpg deleted file mode 100644 index 202179e89..000000000 Binary files a/image/mode/story/scene/wuwei_mazhai.jpg and /dev/null differ diff --git a/image/mode/story/scene/wuwei_mazhainei.jpg b/image/mode/story/scene/wuwei_mazhainei.jpg deleted file mode 100644 index 43e0f4428..000000000 Binary files a/image/mode/story/scene/wuwei_mazhainei.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiahoudun.jpg b/image/mode/story/scene/xiahoudun.jpg deleted file mode 100644 index 6f1621d9f..000000000 Binary files a/image/mode/story/scene/xiahoudun.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiahoudun_yinzhang.jpg b/image/mode/story/scene/xiahoudun_yinzhang.jpg deleted file mode 100644 index 3761cafc2..000000000 Binary files a/image/mode/story/scene/xiahoudun_yinzhang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang.jpg b/image/mode/story/scene/xiangyang.jpg deleted file mode 100644 index 15269188d..000000000 Binary files a/image/mode/story/scene/xiangyang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_mafu.jpg b/image/mode/story/scene/xiangyang_mafu.jpg deleted file mode 100644 index 1ec3a0c31..000000000 Binary files a/image/mode/story/scene/xiangyang_mafu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_minfang.jpg b/image/mode/story/scene/xiangyang_minfang.jpg deleted file mode 100644 index b2d959d54..000000000 Binary files a/image/mode/story/scene/xiangyang_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_neibu.jpg b/image/mode/story/scene/xiangyang_neibu.jpg deleted file mode 100644 index 0b31b1790..000000000 Binary files a/image/mode/story/scene/xiangyang_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_taishoufu.jpg b/image/mode/story/scene/xiangyang_taishoufu.jpg deleted file mode 100644 index 213a41b4c..000000000 Binary files a/image/mode/story/scene/xiangyang_taishoufu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_taishoufufangjian.jpg b/image/mode/story/scene/xiangyang_taishoufufangjian.jpg deleted file mode 100644 index c03570b57..000000000 Binary files a/image/mode/story/scene/xiangyang_taishoufufangjian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiangyang_yaodian.jpg b/image/mode/story/scene/xiangyang_yaodian.jpg deleted file mode 100644 index e59342b21..000000000 Binary files a/image/mode/story/scene/xiangyang_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiapi.jpg b/image/mode/story/scene/xiapi.jpg deleted file mode 100644 index bfd9fe1fb..000000000 Binary files a/image/mode/story/scene/xiapi.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiapi_chengmen.jpg b/image/mode/story/scene/xiapi_chengmen.jpg deleted file mode 100644 index 6cca5954c..000000000 Binary files a/image/mode/story/scene/xiapi_chengmen.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiapi_minfang.jpg b/image/mode/story/scene/xiapi_minfang.jpg deleted file mode 100644 index b29781923..000000000 Binary files a/image/mode/story/scene/xiapi_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiapi_taishoufu.jpg b/image/mode/story/scene/xiapi_taishoufu.jpg deleted file mode 100644 index e7677ff1b..000000000 Binary files a/image/mode/story/scene/xiapi_taishoufu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiapi_yaodian.jpg b/image/mode/story/scene/xiapi_yaodian.jpg deleted file mode 100644 index c3c29f2ca..000000000 Binary files a/image/mode/story/scene/xiapi_yaodian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xieliang.jpg b/image/mode/story/scene/xieliang.jpg deleted file mode 100644 index b529c0fcb..000000000 Binary files a/image/mode/story/scene/xieliang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xieliang_guanyujia.jpg b/image/mode/story/scene/xieliang_guanyujia.jpg deleted file mode 100644 index fcaf06d00..000000000 Binary files a/image/mode/story/scene/xieliang_guanyujia.jpg and /dev/null differ diff --git a/image/mode/story/scene/xieliang_miao.jpg b/image/mode/story/scene/xieliang_miao.jpg deleted file mode 100644 index 75e7759f4..000000000 Binary files a/image/mode/story/scene/xieliang_miao.jpg and /dev/null differ diff --git a/image/mode/story/scene/xieliang_minfang.jpg b/image/mode/story/scene/xieliang_minfang.jpg deleted file mode 100644 index bf0847e87..000000000 Binary files a/image/mode/story/scene/xieliang_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xieliang_neibu.jpg b/image/mode/story/scene/xieliang_neibu.jpg deleted file mode 100644 index 53352f8c4..000000000 Binary files a/image/mode/story/scene/xieliang_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xinye.jpg b/image/mode/story/scene/xinye.jpg deleted file mode 100644 index 2b771ad1d..000000000 Binary files a/image/mode/story/scene/xinye.jpg and /dev/null differ diff --git a/image/mode/story/scene/xinye_jianyu.jpg b/image/mode/story/scene/xinye_jianyu.jpg deleted file mode 100644 index 5b2f4b091..000000000 Binary files a/image/mode/story/scene/xinye_jianyu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xinye_minfang.jpg b/image/mode/story/scene/xinye_minfang.jpg deleted file mode 100644 index f0da8e1ae..000000000 Binary files a/image/mode/story/scene/xinye_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xinye_wuqidian.jpg b/image/mode/story/scene/xinye_wuqidian.jpg deleted file mode 100644 index bb3634855..000000000 Binary files a/image/mode/story/scene/xinye_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xinye_yamen.jpg b/image/mode/story/scene/xinye_yamen.jpg deleted file mode 100644 index 9ce35da14..000000000 Binary files a/image/mode/story/scene/xinye_yamen.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu.jpg b/image/mode/story/scene/xiongnu.jpg deleted file mode 100644 index 41fcd46b3..000000000 Binary files a/image/mode/story/scene/xiongnu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu_houbu.jpg b/image/mode/story/scene/xiongnu_houbu.jpg deleted file mode 100644 index 4b6c558b6..000000000 Binary files a/image/mode/story/scene/xiongnu_houbu.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu_minfang.jpg b/image/mode/story/scene/xiongnu_minfang.jpg deleted file mode 100644 index 13062cb1c..000000000 Binary files a/image/mode/story/scene/xiongnu_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu_shipindian.jpg b/image/mode/story/scene/xiongnu_shipindian.jpg deleted file mode 100644 index cc34e0297..000000000 Binary files a/image/mode/story/scene/xiongnu_shipindian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu_wangyingzhang.jpg b/image/mode/story/scene/xiongnu_wangyingzhang.jpg deleted file mode 100644 index cb0061d66..000000000 Binary files a/image/mode/story/scene/xiongnu_wangyingzhang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiongnu_wuqidian.jpg b/image/mode/story/scene/xiongnu_wuqidian.jpg deleted file mode 100644 index 47000d917..000000000 Binary files a/image/mode/story/scene/xiongnu_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiqiang.jpg b/image/mode/story/scene/xiqiang.jpg deleted file mode 100644 index e50564990..000000000 Binary files a/image/mode/story/scene/xiqiang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiqiang_minfang.jpg b/image/mode/story/scene/xiqiang_minfang.jpg deleted file mode 100644 index 07771c049..000000000 Binary files a/image/mode/story/scene/xiqiang_minfang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiqiang_muchang.jpg b/image/mode/story/scene/xiqiang_muchang.jpg deleted file mode 100644 index 42b25fb75..000000000 Binary files a/image/mode/story/scene/xiqiang_muchang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiqiang_wangyingzhang.jpg b/image/mode/story/scene/xiqiang_wangyingzhang.jpg deleted file mode 100644 index cdc5805d0..000000000 Binary files a/image/mode/story/scene/xiqiang_wangyingzhang.jpg and /dev/null differ diff --git a/image/mode/story/scene/xiqiang_wuqidian.jpg b/image/mode/story/scene/xiqiang_wuqidian.jpg deleted file mode 100644 index 423272f9b..000000000 Binary files a/image/mode/story/scene/xiqiang_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/xishuiguan.jpg b/image/mode/story/scene/xishuiguan.jpg deleted file mode 100644 index 3c2e03fe8..000000000 Binary files a/image/mode/story/scene/xishuiguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/xujiacun.jpg b/image/mode/story/scene/xujiacun.jpg deleted file mode 100644 index 419a66e41..000000000 Binary files a/image/mode/story/scene/xujiacun.jpg and /dev/null differ diff --git a/image/mode/story/scene/xujiacun_minfang1.jpg b/image/mode/story/scene/xujiacun_minfang1.jpg deleted file mode 100644 index cee04abfd..000000000 Binary files a/image/mode/story/scene/xujiacun_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/xujiacun_minfang2.jpg b/image/mode/story/scene/xujiacun_minfang2.jpg deleted file mode 100644 index ed6570bd3..000000000 Binary files a/image/mode/story/scene/xujiacun_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/xujiacun_pomiao.jpg b/image/mode/story/scene/xujiacun_pomiao.jpg deleted file mode 100644 index 7d90e0372..000000000 Binary files a/image/mode/story/scene/xujiacun_pomiao.jpg and /dev/null differ diff --git a/image/mode/story/scene/xujiacun_pomiaoqian.jpg b/image/mode/story/scene/xujiacun_pomiaoqian.jpg deleted file mode 100644 index e09b61af2..000000000 Binary files a/image/mode/story/scene/xujiacun_pomiaoqian.jpg and /dev/null differ diff --git a/image/mode/story/scene/yanmenguan.jpg b/image/mode/story/scene/yanmenguan.jpg deleted file mode 100644 index 8557db54d..000000000 Binary files a/image/mode/story/scene/yanmenguan.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng.jpg b/image/mode/story/scene/yecheng.jpg deleted file mode 100644 index c5affe097..000000000 Binary files a/image/mode/story/scene/yecheng.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_huanggong.jpg b/image/mode/story/scene/yecheng_huanggong.jpg deleted file mode 100644 index b5d427e09..000000000 Binary files a/image/mode/story/scene/yecheng_huanggong.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_minfang1.jpg b/image/mode/story/scene/yecheng_minfang1.jpg deleted file mode 100644 index aeb742456..000000000 Binary files a/image/mode/story/scene/yecheng_minfang1.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_minfang2.jpg b/image/mode/story/scene/yecheng_minfang2.jpg deleted file mode 100644 index 292f9c881..000000000 Binary files a/image/mode/story/scene/yecheng_minfang2.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_neibu.jpg b/image/mode/story/scene/yecheng_neibu.jpg deleted file mode 100644 index c83c62480..000000000 Binary files a/image/mode/story/scene/yecheng_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_shudian.jpg b/image/mode/story/scene/yecheng_shudian.jpg deleted file mode 100644 index c5a39333c..000000000 Binary files a/image/mode/story/scene/yecheng_shudian.jpg and /dev/null differ diff --git a/image/mode/story/scene/yecheng_wuqidian.jpg b/image/mode/story/scene/yecheng_wuqidian.jpg deleted file mode 100644 index 3df2042ca..000000000 Binary files a/image/mode/story/scene/yecheng_wuqidian.jpg and /dev/null differ diff --git a/image/mode/story/scene/yingxiongting.jpg b/image/mode/story/scene/yingxiongting.jpg deleted file mode 100644 index d3f7043fd..000000000 Binary files a/image/mode/story/scene/yingxiongting.jpg and /dev/null differ diff --git a/image/mode/story/scene/yingxiongting_neibu.jpg b/image/mode/story/scene/yingxiongting_neibu.jpg deleted file mode 100644 index efe8f3393..000000000 Binary files a/image/mode/story/scene/yingxiongting_neibu.jpg and /dev/null differ diff --git a/image/mode/story/scene/yuanshaodaying.jpg b/image/mode/story/scene/yuanshaodaying.jpg deleted file mode 100644 index 4bbbc121c..000000000 Binary files a/image/mode/story/scene/yuanshaodaying.jpg and /dev/null differ diff --git a/image/mode/story/scene/yuanshaodaying_guangchang.jpg b/image/mode/story/scene/yuanshaodaying_guangchang.jpg deleted file mode 100644 index 00c4bde95..000000000 Binary files a/image/mode/story/scene/yuanshaodaying_guangchang.jpg and /dev/null differ diff --git a/image/mode/story/scene/zhongshan.jpg b/image/mode/story/scene/zhongshan.jpg deleted file mode 100644 index 627c7f7d9..000000000 Binary files a/image/mode/story/scene/zhongshan.jpg and /dev/null differ diff --git a/image/mode/story/scene/zhongshan_beidoujusuo.jpg b/image/mode/story/scene/zhongshan_beidoujusuo.jpg deleted file mode 100644 index c708299a4..000000000 Binary files a/image/mode/story/scene/zhongshan_beidoujusuo.jpg and /dev/null differ diff --git a/image/mode/story/scene/zhongshan_beifeng.jpg b/image/mode/story/scene/zhongshan_beifeng.jpg deleted file mode 100644 index eadd4d8b2..000000000 Binary files a/image/mode/story/scene/zhongshan_beifeng.jpg and /dev/null differ diff --git a/image/mode/story/scene/zhongshan_conglin.jpg b/image/mode/story/scene/zhongshan_conglin.jpg deleted file mode 100644 index ae1a355ed..000000000 Binary files a/image/mode/story/scene/zhongshan_conglin.jpg and /dev/null differ diff --git a/image/mode/story/scene/zhongshan_nanfeng.jpg b/image/mode/story/scene/zhongshan_nanfeng.jpg deleted file mode 100644 index f9d937dce..000000000 Binary files a/image/mode/story/scene/zhongshan_nanfeng.jpg and /dev/null differ diff --git a/image/splash/realtime.jpg b/image/splash/brawl.jpg similarity index 100% rename from image/splash/realtime.jpg rename to image/splash/brawl.jpg diff --git a/image/splash/story.jpg b/image/splash/tafang.jpg similarity index 100% rename from image/splash/story.jpg rename to image/splash/tafang.jpg diff --git a/layout/mode/story.css b/layout/mode/brawl.css similarity index 100% rename from layout/mode/story.css rename to layout/mode/brawl.css diff --git a/mode/brawl.js b/mode/brawl.js new file mode 100644 index 000000000..9d71c68b1 --- /dev/null +++ b/mode/brawl.js @@ -0,0 +1,9 @@ +'use strict'; +mode.brawl={ + start:function(){ + + }, + game:{ + + } +}; diff --git a/mode/chess.js b/mode/chess.js index 55f242749..1d14939a9 100755 --- a/mode/chess.js +++ b/mode/chess.js @@ -6524,11 +6524,6 @@ mode.chess={ '战斗中有君主出场时可招降敌将,成功率取决于敌将的稀有度、剩余体力值以及手牌数。成功后战斗立即结束且没有金钱奖励。每发动一次招降,无论成功还是失败,都会扣除10招募令
  • '+ '挑战武将会与该武将以及与其强度相近的武将进行战斗,敌方人数与我方出场人数相同,但不少于3。胜利后可通过招募令招募该武将,普通/稀有/史诗/传说武将分别需要40/100/400/1600招募令
  • '+ '竞技场:
    随机选择9名武将,每次派出1〜3名武将参战。战斗中阵亡的武将不能再次上场。

    战斗后武将进入疲劳状态,若立即再次出场则初始体力值-1。

    战斗中本方武将行动时可召唤后援,令一名未出场的已方武将加入战斗。后援武将在战斗结束后无论存活与否均不能再次出场

    当取得12场胜利或所有武将全部阵亡后结束,并根据胜场数获得随机奖励
  • '+ - '修改金钱:
    game.changeMoney
    修改招募令:
    game.changeDust'+ - '
    塔防模式
    • 阻上敌人到达最下方的出口,坚持到给定的回合数即获得胜利
    • '+ - '每轮可获得10个行动点,用来布置机关、招募武将,或令武将行动。游戏难度将影响不同操作消耗的行动点数。未用完的行动点将减半并累积到下一轮
    • '+ - '每一轮在最上方的一个随机位置增加一名敌人,若最上方已有角色,则将其下移一格
    • '+ - '战场上最多出现3个相同的机关,每个机关在置入战场3轮后消失。战场上最多招募10名友方角色。
    • '+ - '敌方角色到达底部出口时游戏失败,已方角色到达底部出口,将被移出游戏', + '修改金钱:
      game.changeMoney
      修改招募令:
      game.changeDust
    ' }, } diff --git a/mode/guozhan.js b/mode/guozhan.js index f736ed744..72fe1c346 100755 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -952,6 +952,7 @@ mode.guozhan={ this.hiddenSkills.remove(skills[i]); this.addSkill(skills[i]); } + this.checkConflict(); if(!this.classList.contains('unseen')&&!this.classList.contains('unseen2')){ if(this.singleHp){ this.doubleDraw(); diff --git a/mode/tafang.js b/mode/tafang.js new file mode 100644 index 000000000..6f3938db6 --- /dev/null +++ b/mode/tafang.js @@ -0,0 +1,6239 @@ +'use strict'; +mode.tafang={ + canvasUpdates2:[], + hiddenCharacters:[], + start:function(){ + "step 0" + + "step 1" + for(var i in lib.skill){ + if(lib.skill[i].changeSeat){ + lib.skill[i]={}; + if(lib.translate[i+'_info']){ + lib.translate[i+'_info']='此模式下不可用'; + } + } + } + lib.init.css(lib.assetURL+'layout/mode','chess'); + ui.chesssheet=document.createElement('style'); + document.head.appendChild(ui.chesssheet); + var playback=localStorage.getItem(lib.configprefix+'playback'); + lib.mechlist=[]; + for(var i in lib.characterPack.mode_tafang){ + if(i.indexOf('chess_mech_')==0){ + lib.mechlist.push(i); + } + lib.character[i]=lib.characterPack.mode_tafang[i]; + if(!lib.character[i][4]){ + lib.character[i][4]=[]; + } + } + ui.create.cards(); + game.finishCards(); + ui.chessContainer=ui.create.div('#chess-container',ui.arena); + lib.setScroll(ui.chessContainer); + ui.chess=ui.create.div('#chess',ui.chessContainer); + ui.canvas2=document.createElement('canvas'); + ui.canvas2.id='canvas2'; + ui.chess.appendChild(ui.canvas2); + ui.ctx2=ui.canvas2.getContext('2d'); + game.me=ui.create.player(); + if(playback){ + for(var i in lib.characterPack){ + for(var j in lib.characterPack[i]){ + lib.character[j]=lib.character[j]||lib.characterPack[i][j]; + } + } + game.pause(); + 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){ + event.video=e.target.result.video; + game.resume(); + } + else{ + alert('播放失败:找不到录像'); + game.reload(); + } + } + } + _status.mylist=[]; + _status.enemylist=[]; + "step 2" + ui.arena.classList.add('chess'); + var mylistmap,enemylistmap; + if(event.video){ + var videocontent; + for(var ii=0;ii.player'+pos+ + '{left:'+(14+i*148)+'px;top:'+(14+j*148)+'px}',0); + ui.chesssheet.sheet.insertRule('#arena.chess #chess>.card'+pos+ + '{left:'+(22+i*148)+'px;top:'+(22+j*148)+'px}',0); + ui.chesssheet.sheet.insertRule('#arena.chess #chess>.popup'+pos+ + '{left:'+(19+i*148)+'px;top:'+(142+j*148)+'px}',0); + } + } + + var grids=[]; + var gridnum=ui.chessheight*ui.chesswidth; + for(var i=0;i=8&&j!=0&&j!=ui.chesswidth-1) continue; + if(tafanglist.contains(j)){ + var cg=i*ui.chesswidth+j; + grids.remove(cg); + game.addObstacle(cg.toString(),false); + event.obs.push(cg.toString()); + } + } + } + for(var i=0;i=ui.chesswidth){ + x=ui.chesswidth-1; + } + if(y>=ui.chessheight){ + y=ui.chessheight-1; + } + + var pos=y*ui.chesswidth+x; + if(!lib.posmap[pos]){ + delete lib.posmap[this.dataset.position]; + this.dataset.position=pos; + lib.posmap[pos]=this; + this.chessFocus(); + } + + if(_status.mode=='tafang'&&!_status.video){ + if(_status.tafangend.contains(this.dataset.position)){ + if(_status.enemies.contains(this)){ + game.over(false); + } + else{ + this.delete(); + delete lib.posmap[this]; + game.players.remove(this); + _status.friends.remove(this); + this.classList.add('dead'); + if(this==game.me){ + if(_status.friends.length==0){ + ui.fakeme.hide(); + this.node.handcards1.delete(); + this.node.handcards2.delete(); + game.me=ui.create.player(); + game.me.side=true; + } + else{ + game.modeSwapPlayer(_status.friends[0]); + } + } + for(var i=0;i0&&this.movable(1,0)) return true; + if(dy<0&&this.movable(0,-1)) return true; + if(dy>0&&this.movable(0,1)) return true; + return false; + }, + moveTowards:function(target){ + var fxy=this.getXY(); + var txy; + if(Array.isArray(target)){ + txy=target; + } + else if(typeof target=='string'){ + var pos=parseInt(target); + txy=[pos%ui.chesswidth,Math.floor(pos/ui.chesswidth)]; + } + else{ + txy=target.getXY(); + } + var dx=txy[0]-fxy[0]; + var dy=txy[1]-fxy[1]; + if(Math.abs(dx)>Math.abs(dy)){ + if(dx<0){ + if(this.movable(-1,0)){ + this.moveLeft(); + return true; + } + } + else if(dx>0){ + if(this.movable(1,0)){ + this.moveRight(); + return true; + } + } + if(dy<0){ + if(this.movable(0,-1)){ + this.moveUp(); + return true; + } + } + else if(dy>0){ + if(this.movable(0,1)){ + this.moveDown(); + return true; + } + } + } + else{ + if(dy<0){ + if(this.movable(0,-1)){ + this.moveUp(); + return true; + } + } + else if(dy>0){ + if(this.movable(0,1)){ + this.moveDown(); + return true; + } + } + if(dx<0){ + if(this.movable(-1,0)){ + this.moveLeft(); + return true; + } + } + else if(dx>0){ + if(this.movable(1,0)){ + this.moveRight(); + return true; + } + } + } + return false; + }, + chessFocus:function(){ + game.addVideo('chessFocus',this); + if(ui.chess._chessdrag) return; + if(_status.chessscrolling) return; + var player=this; + var dx=0,dy=0; + + if(player.offsetLeft-ui.chessContainer.scrollLeft<14){ + dx=player.offsetLeft-ui.chessContainer.scrollLeft-14; + } + else if(player.offsetLeft-ui.chessContainer.scrollLeft>ui.chessContainer.offsetWidth-134){ + dx=player.offsetLeft-ui.chessContainer.scrollLeft-ui.chessContainer.offsetWidth+134; + } + if(player.offsetTop-ui.chessContainer.scrollTop<14){ + dy=player.offsetTop-ui.chessContainer.scrollTop-14; + } + else if(player.offsetTop+ui.chess.offsetTop-ui.chessContainer.scrollTop>ui.chessContainer.offsetHeight-134){ + dy=player.offsetTop+ui.chess.offsetTop-ui.chessContainer.scrollTop-ui.chessContainer.offsetHeight+134; + } + if(_status.currentChessFocus){ + clearInterval(_status.currentChessFocus); + } + var count=12; + var ddx=Math.floor(dx/12); + var ddy=Math.floor(dy/12); + if(dx||dy){ + _status.currentChessFocus=setInterval(function(){ + if(count--){ + ui.chessContainer.scrollLeft+=ddx; + ui.chessContainer.scrollTop+=ddy; + } + else{ + ui.chessContainer.scrollLeft+=dx%12; + ui.chessContainer.scrollTop+=dy%12; + clearInterval(_status.currentChessFocus); + delete _status.currentChessFocus; + } + },16); + } + }, + getXY:function(){ + var pos=parseInt(this.dataset.position); + var x=pos%ui.chesswidth; + var y=Math.floor(pos/ui.chesswidth); + return [x,y]; + }, + getDataPos:function(x,y){ + var xy=this.getXY(); + if(typeof x!='number') x=0; + if(typeof y!='number') y=0; + x+=xy[0]; + y+=xy[1]; + return x+y*ui.chesswidth; + }, + getNeighbour:function(x,y){ + var xy=this.getXY(); + if(xy[0]+x<0) return null; + if(xy[1]+y<0) return null; + if(xy[0]+x>=ui.chesswidth) return null; + if(xy[1]+y>=ui.chessheight) return null; + return lib.posmap[this.getDataPos(x,y)]||null; + }, + movable:function(x,y){ + var xy=this.getXY(); + if(xy[0]+x<0) return false; + if(xy[1]+y<0) return false; + if(xy[0]+x>=ui.chesswidth) return false; + if(xy[1]+y>=ui.chessheight) return false; + return !this.getNeighbour(x,y); + }, + moveRight:function(){ + if(this.movable(1,0)){ + this.move(1,0); + return true; + } + return false; + }, + moveLeft:function(){ + if(this.movable(-1,0)){ + this.move(-1,0); + return true; + } + return false; + }, + moveUp:function(){ + if(this.movable(0,-1)){ + this.move(0,-1); + return true; + } + return false; + }, + moveDown:function(){ + if(this.movable(0,1)){ + this.move(0,1); + return true; + } + return false; + }, + dieAfter:function(source){ + var player=this; + if(_status.friends){ + _status.friends.remove(this); + } + if(_status.enemies){ + _status.enemies.remove(this); + } + if(ui.friendDied&&player.side==game.me.side){ + ui.friendDied.innerHTML='阵亡: '+get.cnNumber(++_status.friendDied,true); + } + if(ui.enemyDied&&player.side!=game.me.side){ + ui.enemyDied.innerHTML='杀敌: '+get.cnNumber(++_status.enemyDied,true); + } + delete lib.posmap[player.dataset.position]; + setTimeout(function(){ + player.delete(); + },500); + for(var i=0;i1){ + if(cards){ + that.$gain(cards,null,false) + } + else{ + that.$gain(num-1,null,false) + } + } + }, + $throw:function(card,time,init){ + if(init!==false){ + if(get.itemtype(card)!='cards'){ + if(get.itemtype(card)=='card'){ + card=[card]; + } + else{ + return; + } + } + game.addVideo('throw',this,[get.cardsInfo(card),time]); + } + this.chessFocus(); + if(get.itemtype(card)=='cards'){ + for(var i=0;i=0){ + for(var i=0;i=ui.chessContainer.offsetHeight){ + amin=0; + amax=90; + } + else{ + amin=-90; + amax=90; + } + } + else if(rect.left+rect.width+80>=ui.chessContainer.offsetWidth){ + if(rect.top<=80){ + amin=180; + amax=270; + } + else if(rect.top+rect.height+80>=ui.chessContainer.offsetHeight){ + amin=90; + amax=180; + } + else{ + amin=90; + amax=270; + } + } + else if(rect.top<=80){ + amin=180; + amax=360; + } + else if(rect.top+rect.height+80>=ui.chessContainer.offsetHeight){ + amin=0; + amax=180; + } + else{ + var dx=ui.chessContainer.offsetWidth/2-(rect.left+rect.width/2); + var dy=-ui.chessContainer.offsetHeight/2+(rect.top+rect.height/2); + var ang=Math.abs(Math.atan(dy/dx))*180/Math.PI; + if(dx<0){ + if(dy>0){ + ang=180-ang; + } + else{ + ang+=180; + } + } + else if(dy<0){ + ang=360-ang; + } + amin=ang-180; + amax=ang+180; + } + var da=(amax-amin)/(thrown.length*2); + if(da>30&&thrown.length>1){ + amin+=(da-30)*thrown.length; + da=30; + } + for(var i=0;i=ui.chesswidth){ + x=ui.chesswidth-1; + } + if(y>=ui.chessheight){ + y=ui.chessheight-1; + } + + pos=y*ui.chesswidth+x; + } + if(!lib.posmap[pos]){ + var grid=ui.create.div('.player.minskin.obstacle',ui.chess).animate('start'); + grid.dataset.position=pos; + grid.listen(ui.click.obstacle); + lib.posmap[pos]=grid; + game.obstacles.push(grid); + } + }, + removeObstacle:function(pos){ + var node=lib.posmap[pos]; + if(node&&game.obstacles.contains(node)){ + game.addVideo('removeObstacle',null,pos); + game.obstacles.remove(node); + delete lib.posmap[pos]; + node.delete(); + } + }, + addOverDialog:function(dialog,result){ + if(ui.finishGame){ + ui.finishGame.remove(); + } + dialog.classList.add('center'); + if(_status.mode!='leader') return; + if(result=='战斗胜利'){ + _status.victory=true; + if(!_status.enterArena){ + var div=ui.create.div(); + div.innerHTML='获得'+game.reward+'金'; + dialog.add(div); + if(_status.challenge&&_status.challengeMoney<=game.data.dust){ + var div2=ui.create.div(); + div2.style.display='block'; + div2.innerHTML='招降所需招募令:'+_status.challengeMoney+'/'+game.data.dust; + dialog.add(div2); + } + game.changeMoney(game.reward); + game.saveData(); + } + } + else if(_status.zhaoxiang){ + var div=ui.create.div(); + div.innerHTML='招降'+get.translation(_status.zhaoxiang)+'成功'; + dialog.add(div); + } + }, + controlOver:function(){ + ui.create.control('返回',game.reload); + if(_status.mode!='leader') return; + if(_status.enterArena){ + game.data.arena.acted.length=0; + if(_status.victory){ + game.data.arena.win++; + for(var i=0;i=money){ + ui.create.control('招降'+get.translation(_status.challenge),function(){ + game.data.character.add(_status.challenge); + game.data.challenge=game.getLeaderList(); + game.changeDust(-money); + game.reload(); + }); + } + } + } + }, + phaseLoopTafang:function(){ + var next=game.createEvent('phaseLoop'); + next.setContent(function(){ + 'step 0' + _status.turnCount++; + ui.turnCount.innerHTML='回合'+get.cnNumber(_status.turnCount,true); + var dialog=ui.create.dialog('剩余行动点:'+(10+_status.remainingCount),'hidden'); + dialog.style.height='260px'; + dialog.style.top='calc(50% - 140px)'; + dialog.classList.add('center'); + dialog.classList.add('noupdate'); + event.dialog=dialog; + var list=_status.characterList.splice(0,6); + var map={}; + map.bufang=ui.create.buttons(lib.mechlist,'character',dialog.content); + var difficulty=parseInt(get.config('tafang_difficulty')); + for(var i=0;icount){ + map[i][j].classList.add('unselectable'); + } + else if(i=='zhaomu'&&_status.friends.length+selectedZhaomu>=ui.chesswidth){ + map[i][j].classList.add('unselectable'); + } + else if(i=='bufang'){ + var numbufang=0; + for(var k=0;k=3){ + map[i][j].classList.add('unselectable'); + break; + } + } + } + } + } + ui.dialog.content.firstChild.innerHTML='剩余行动点:'+count; + } + var clickOrder=0; + event.custom.replace.button=function(button){ + if(!button.classList.contains('unselectable')|| + button.classList.contains('selected')){ + button.classList.toggle('selected'); + button._clickOrder=clickOrder++; + } + updateSelected(); + } + event.custom.add.window=function(clicked){ + if(clicked) return; + if(event.step>1) return; + for(var i in map){ + for(var j=0;j=ui.chesswidth) return; + var current=node.parentNode.querySelector('.thundertext'); + if(current==node) return; + if(current){ + current.classList.remove('thundertext'); + } + update(link); + }); + if(!_status.friends.length){ + event.control.lastChild.style.opacity=0.5; + if(_status.lastTafangCommand=='行动'){ + _status.lastTafangCommand='招募'; + } + } + if(_status.friends.length>=ui.chesswidth){ + event.control.childNodes[1].style.opacity=0.5; + if(_status.lastTafangCommand=='招募'){ + _status.lastTafangCommand='行动'; + } + } + _status.imchoosing=true; + ui.auto.hide(); + var eventdong=function(){ + var selected=dialog.querySelectorAll('.button.selected'); + event.bufang=[]; + event.zhaomu=[]; + event.xingdong=[]; + var xingdongs=[]; + _status.remainingCount+=10; + for(var i=0;i=0;k--){ + var pos=i+k*ui.chesswidth; + if(lib.posmap[pos]){ + lib.posmap[pos].moveDown(); + } + } + } + } + } + if(shalldelay) game.delay(); + 'step 7' + event.justadded=[]; + if(_status.characterList.length){ + if(_status.enemies.length=10&&list1.length&&difficulty>1){ + // var enemy=game.addChessPlayer(_status.characterList.shift(),true,4,list1.randomRemove()); + // _status.enemies.push(enemy); + // event.justadded.push(enemy.name); + // } + // if(_status.turnCount>=20&&list1.length&&difficulty>1){ + // var enemy=game.addChessPlayer(_status.characterList.shift(),true,4,list1.randomRemove()); + // _status.enemies.push(enemy); + // event.justadded.push(enemy.name); + // } + // if(list1.length&&difficulty>2){ + // var enemy=game.addChessPlayer(_status.characterList.shift(),true,4,list1.randomRemove()); + // _status.enemies.push(enemy); + // event.justadded.push(enemy.name); + // } + } + } + else{ + game.over(true); + } + 'step 8' + if(event.xingdong.length){ + var toact=event.xingdong.shift(); + if(game.players.contains(toact)){ + toact.phase(); + } + event.redo(); + } + else{ + event.xingdong=_status.enemies.slice(0); + } + 'step 9' + if(event.xingdong.length){ + var enemy=event.xingdong.shift(); + if(!event.justadded.contains(enemy.name)&&game.players.contains(enemy)){ + enemy.phase(); + } + event.redo(); + } + else{ + event.mechlist=game.treasures.slice(0); + } + 'step 10' + if(event.mechlist.length){ + var mech=event.mechlist.shift(); + var info=lib.skill[mech.name+'_skill']; + if(!info.filter||info.filter(mech)){ + var next=game.createEvent('chessMech'); + next.player=mech; + next.setContent(info.content); + mech.chessFocus(); + if(lib.config.animation&&!lib.config.low_performance){ + mech.$epic2(); + } + game.delay(); + } + if(mech.life--<=0){ + game.treasures.remove(mech); + setTimeout(function(){ + mech.delete(); + },500); + delete lib.posmap[mech.dataset.position]; + game.addVideo('deleteChessPlayer',mech); + game.addObstacle(mech.dataset.position); + game.log(get.translation(mech)+'使用期限已到'); + } + event.redo(); + } + 'step 11' + delete event.xingdong; + delete event.mechlist; + if(_status.turnCount>=_status.turnTotal){ + game.over(true); + } + else{ + event.goto(0); + game.delay(); + } + }); + }, + phaseLoopOrdered:function(player){ + var next=game.createEvent('phaseLoop'); + next.player=player; + next.setContent(function(){ + "step 0" + var passed=false; + for(var i=0;inum1){ + if(next.side==game.me.side){ + next=game.me; + } + var str; + if(num2-num1>1){ + str='选择至多'+get.cnNumber(num2-num1)+'个已方角色各摸一张牌' + } + else{ + str='选择一个已方角色摸一张牌' + } + var nevt=next.chooseTarget(str,function(card,player,target){ + return target.side==next.side; + },[1,num2-num1]); + nevt.ai=function(target){ + return Math.max(1,10-target.num('h')); + }; + nevt.chessForceAll=true; + } + else{ + event.goto(2); + } + } + else{ + event.goto(2); + } + "step 1" + if(result.bool){ + game.asyncDraw(result.targets); + } + "step 2" + var players=[]; + if(player.side==game.me.side){ + player=game.me; + } + if(player.isDead()){ + for(var i=0;i1){ + var nevt=player.chooseTarget('选择下一个行动的角色',function(card,player,target){ + return target.side==player.side&&!target.classList.contains('acted'); + },true); + nevt.chessForceAll=true; + nevt.ai=function(target){ + var nj=target.num('j'); + if(nj){ + return -nj; + } + return Math.max(0,10-target.hp); + } + } + else{ + event.decided=players[0]; + } + "step 3" + if(event.decided){ + event.decided.phase(); + event.justacted=event.decided; + delete event.decided; + } + else{ + var current=result.targets[0]; + current.phase(); + event.justacted=current; + } + "step 4" + event.justacted.classList.add('acted'); + event.goto(0); + for(var i=0;i'+ + ''+game.data.money+''; + ui.money.style.top='auto'; + ui.money.style.left='auto'; + ui.money.style.right='20px'; + ui.money.style.bottom='15px'; + ui.money.childNodes[0].style.color='rgb(111, 198, 255)'; + ui.money.childNodes[1].style.fontFamily='huangcao'; + ui.money.childNodes[1].style.marginRight='10px'; + ui.money.childNodes[2].style.color='#FFE600'; + ui.money.childNodes[3].style.fontFamily='huangcao'; + ui.money.style.letterSpacing='4px'; + for(var i in lib.rank){ + if(Array.isArray(lib.rank[i])){ + for(var j=0;jb?1:-1; + } + return aa>bb?1:-1; + }); + if(game.data.character.length==0||!game.data.challenge){ + game.data.character=lib.rank.rarity.common.randomGets(3); + game.data.challenge=game.getLeaderList(); + game.saveData(); + } + var fixButton=function(button){ + var rarity=game.getRarity(button.link); + if(rarity!='common'){ + var intro=button.node.intro; + intro.classList.add('showintro'); + intro.style.fontFamily='huangcao'; + intro.style.fontSize='20px'; + intro.style.top='82px'; + intro.style.left='2px'; + switch(rarity){ + case 'rare':intro.dataset.nature='waterm';break; + case 'epic':intro.dataset.nature='thunderm';break; + case 'legend':intro.dataset.nature='metalm';break; + } + intro.innerHTML=get.translation(rarity); + } + } + game.leaderLord=['leader_caocao','leader_liubei','leader_sunquan']; + var dialog1=ui.create.dialog('选择君主','hidden'); + event.dialog1=dialog1; + dialog1.classList.add('fullheight'); + dialog1.classList.add('halfleft'); + dialog1.classList.add('fixed'); + dialog1.add([game.leaderLord,'character']); + var i; + for(i=0;ib?1:-1; + }); + captnode.innerHTML=''; + for(i=0;i3){ + event.removeCharacter.style.opacity=1; + } + if(game.data.money<150&&!game.data._arena){ + event.enterArena.style.opacity=0.5; + } + else{ + event.enterArena.style.opacity=1; + } + if(game.data.money<100){ + event.addCharacter.style.opacity=0.5; + } + else{ + event.addCharacter.style.opacity=1; + } + initcapt(); + },200); + },200); + },500); + }; + var zhaomu=function(){ + if(_status.qianfan||_status.kaibao) return; + if(game.data.money<100) return; + _status.chessclicked=true; + _status.zhaomu=true; + event.removeCharacter.style.opacity=0.5; + event.fight.style.opacity=0.5; + clearSelected(); + for(var i=0;i=100){ + event.addCharacter.style.opacity=1; + } + if(game.data.money>=150){ + event.enterArena.style.opacity=1; + } + node.delete(); + dialog1.buttons.remove(node); + } + initcapt(); + }); + }; + event.removeCharacter=ui.create.control('遣返','nozoom',qianfan); + if(game.data.character.length<=3){ + event.removeCharacter.style.opacity=0.5; + } + event.fight=ui.create.control('开始战斗','nozoom',function(){ + if(_status.kaibao||_status.zhaomu||_status.qianfan) return; + _status.enemylist=[]; + _status.mylist=[]; + if(selected.lord.length){ + _status.mylist.push(selected.lord[0].link); + _status.lord=selected.lord[0].link; + } + if(selected.character.length){ + for(var i=0;i0){ + switch(difficulty){ + case 'leader_easy':reward+=10*numdel;break; + case 'leader_medium':reward+=20*numdel;break; + case 'leader_hard':reward+=40*numdel;break; + } + } + var punish=0; + for(var i=0;i<_status.mylist.length;i++){ + switch(get.rank(_status.mylist[i])){ + case 's':punish+=25;break; + case 'ap':punish+=20;break; + case 'a':punish+=16;break; + case 'am':punish+=12;break; + case 'bp':punish+=9;break; + case 'b':punish+=7;break; + case 'bm':punish+=5;break; + case 'c':punish+=3;break; + case 'd':punish+=2;break; + } + } + if(numdel<0){ + switch(difficulty){ + case 'leader_easy':punish-=5*numdel;break; + case 'leader_medium':punish-=10*numdel;break; + case 'leader_hard':punish-=20*numdel;break; + } + } + game.reward=Math.max(3*_status.enemylist.length,reward-punish); + if(!_status.lord){ + switch(difficulty){ + case 'leader_easy':game.reward+=10;break; + case 'leader_medium':game.reward+=20;break; + case 'leader_hard':game.reward+=40;break; + } + } + game.resume(); + }); + event.custom.replace.button=function(button){ + if(_status.kaibao) return; + if(button.classList.contains('unselectable')&& + !button.classList.contains('selected')) return; + _status.chessclicked=true; + button.classList.toggle('selected'); + if(button.classList.contains('selected')){ + selected[button.area].add(button); + } + else{ + selected[button.area].remove(button); + } + switch(button.area){ + case 'lord':{ + for(var i=0;i5)|| + (_status.qianfan&&selected.character.length>=maxq)){ + dialog1.buttons[i].classList.add('unselectable'); + } + else{ + dialog1.buttons[i].classList.remove('unselectable'); + } + } + } + break; + } + case 'difficulty':case 'number':{ + for(var i=0;i=100){ + event.addCharacter.style.opacity=1; + } + else{ + event.addCharacter.style.opacity=0.5; + } + if(game.data.money>=150||game.data._arena){ + event.enterArena.style.opacity=1; + } + else{ + event.enterArena.style.opacity=0.5; + } + event.fight.style.opacity=1; + } + else if(_status.zhaomu){ + _status.zhaomu=false; + event.addCharacter.replace('招募',zhaomu); + if(game.data.character.length>3){ + event.removeCharacter.style.opacity=1; + } + else{ + event.removeCharacter.style.opacity=0.5; + } + event.fight.style.opacity=1; + } + clearSelected(); + }; + game.pause(); + 'step 2' + if(!game.data.arena){ + event.dialog1.close(); + event.dialog2.close(); + event.fight.close(); + event.enterArena.close(); + event.addCharacter.close(); + event.removeCharacter.close(); + } + ui.arena.classList.add('leaderhide'); + ui.money.hide(); + game.delay(); + 'step 3' + ui.arena.classList.remove('leaderhide'); + if(!_status.enterArena){ + ui.wuxie.show(); + ui.auto.show(); + ui.control.style.display='none'; + ui.control.style.top=''; + ui.control.style.transition=''; + event.finish(); + } + else{ + game.minskin=false; + event.arenanodes=[]; + event.arenachoice=[]; + event.arenachoicenodes=[]; + event.arrangeNodes=function(){ + var num=event.arenachoicenodes.length; + var width=num*75+(num-1)*8; + for(var i=0;i=3){ + for(var i=0;i胜'; + victory.style.top='auto'; + victory.style.left='auto'; + victory.style.right='20px'; + victory.style.bottom='15px'; + victory.style.fontSize='30px' + victory.style.fontFamily='huangcao'; + victory.firstChild.style.marginRight='5px'; + ui.window.appendChild(victory); + ui.refresh(victory); + victory.show(); + + event.checkPrize=function(){ + // event.kaibao=true; + event.prize=[]; + event.turnCard2=function(){ + if(this.turned) return; + _status.chessclicked=true; + this.turned=true; + var node=this; + setTimeout(function(){ + node.turned2=true; + },1000); + if(node.name=='chess_coin'||node.name=='chess_dust'){ + node.style.transition='all 0s'; + node.style.transform='none'; + node.style.overflow='visible'; + node.style.background='none'; + node.style.boxShadow='none'; + var div=ui.create.div(node); + div.style.transition='all 0s'; + if(node.name=='chess_coin'){ + div.innerHTML=''+node.num+''; + div.firstChild.style.color='rgb(255, 230, 0)'; + node.$coin(); + } + else{ + div.innerHTML=''+node.num+''; + div.firstChild.style.color='rgb(111, 198, 255)'; + div.firstChild.style.marginRight='3px'; + node.$dust(); + } + div.style.fontFamily='huangcao'; + div.style.fontSize='50px'; + div.style.top='40px'; + div.style.letterSpacing='8px'; + div.style.whiteSpace='nowrap'; + // div.dataset.nature='metal'; + + return; + } + node.style.transition='all ease-in 0.3s'; + node.style.transform='perspective(1200px) rotateY(270deg) translateX(150px)'; + var onEnd=function(){ + node.init(node.name); + node.node.avatar.style.display=''; + if(node.rarity){ + node.node.intro.innerHTML=get.translation(node.rarity); + node.node.intro.classList.add('showintro'); + } + node.classList.add('playerflip'); + node.style.transform='none'; + node.style.transition=''; + if(lib.config.animation&&!lib.config.low_performance){ + setTimeout(function(){ + switch(game.getRarity(node.name)){ + case 'rare':node.$rare();break; + case 'epic':node.$epic();break; + case 'legend':node.$legend();break; + } + },150); + } + }; + // node.addEventListener('transitionEnd',onEnd); + node.addEventListener('webkitTransitionEnd',onEnd); + }; + setTimeout(function(){ + nodes[0].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[1].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[2].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[3].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[4].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[5].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[6].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[7].delete(); + },400+Math.random()*300); + setTimeout(function(){ + nodes[8].delete(); + },400+Math.random()*300); + setTimeout(function(){ + var prize=new Array(6); + var map=[1,2,3,4,5]; + var ccount=3; + var win=game.data.arena.win; + var prizeValue; + switch(win){ + case 0:prizeValue=100;break; + case 1:prizeValue=120;break; + case 2:prizeValue=150;break; + case 3:prizeValue=190;break; + case 4:prizeValue=240;break; + case 5:prizeValue=300;break; + case 6:prizeValue=370;break; + case 7:prizeValue=450;break; + case 8:prizeValue=540;break; + case 9:prizeValue=640;break; + case 10:prizeValue=750;break; + case 11:prizeValue=870;break; + case 12:prizeValue=1000;break; + } + if(Math.random()<0.4){ + if(win>=3&&Math.random()<0.5){ + ccount=4; + prizeValue-=33; + } + else{ + ccount=2; + prizeValue+=33; + } + } + prizeValue-=100; + while(ccount--){ + prize[map.randomRemove()]=game.getLeaderCharacter(); + } + if(map.length){ + prizeValue/=map.length; + } + while(map.length){ + var val=Math.round((Math.random()*0.4+0.8)*prizeValue); + if(Math.random()<0.7){ + prize[map.shift()]=['chess_coin',Math.max(Math.ceil(Math.random()*5),val)]; + } + else{ + val=Math.round(val/3); + prize[map.shift()]=['chess_dust',Math.max(Math.ceil(Math.random()*3),val)]; + } + } + for(var i=1;i=4&&!bosses.childNodes[i].classList.contains('glow')){ + bosses.childNodes[i].classList.add('forbidden'); + } + else{ + bosses.childNodes[i].classList.remove('forbidden'); + } + } + if(num){ + if(!event.asboss){ + event.asboss=ui.create.control('应战',function(){ + _status.boss=true; + ui.click.ok(); + }); + } + } + else{ + if(event.asboss){ + event.asboss.close(); + delete event.asboss; + } + } + addToButton(); + }; + + var clickedJiange=false; + var clickJiange=function(){ + clickedJiange=true; + if(this.classList.contains('glow2')){ + this.classList.remove('glow2'); + } + else{ + this.classList.add('glow2'); + } + addToButton(); + }; + + + for(var i=0;inum){ + for(var i=num;i2) return false; + var xy1=event.source.getXY(); + var xy2=player.getXY(); + var dx=xy2[0]-xy1[0]; + var dy=xy2[1]-xy1[1]; + // if(dx*dy!=0) return false; + if(dx==0&&Math.abs(dy)==2){ + dy/=2; + } + if(dy==0&&Math.abs(dx)==2){ + dx/=2; + } + return player.movable(dx,dy); + }, + content:function(){ + var xy1=trigger.source.getXY(); + var xy2=player.getXY(); + var dx=xy2[0]-xy1[0]; + var dy=xy2[1]-xy1[1]; + if(dx==0&&Math.abs(dy)==2){ + dy/=2; + } + if(dy==0&&Math.abs(dx)==2){ + dx/=2; + } + if(player.movable(dx,dy)){ + player.move(dx,dy); + } + } + }, + dubiaoxianjing:{ + global:'dubiaoxianjing2' + }, + dubiaoxianjing2:{ + trigger:{player:'phaseAfter'}, + forced:true, + popup:false, + filter:function(event,player){ + if(player.hp<=1) return false; + for(var i=0;i1) return false; + for(var i=0;inh) return false; + } + return true; + } + } + return false; + }, + content:function(){ + 'step 0' + var source=null; + for(var i=0;i3; + } + } + return false; + }, + content:function(){ + 'step 0' + var source=null; + for(var i=0;igame.data.arena.dead.length; + }, + direct:true, + delay:0, + preservecancel:true, + content:function(){ + "step 0" + var list=game.data.arena.arenachoice.slice(0); + for(var i=0;i

    ' + for(var i=0;i'+ + (skill.chance(targets[i],player)*100).toFixed(2)+'%
    '; + } + str+='

    ' + } + return str; + }, + chance:function(target,player){ + var chance; + var renyi=player.hasSkill('leader_renyi'); + switch(target.hp){ + case 1:chance=0.7;break; + case 2:chance=0.4;break; + default:chance=0.2;break; + } + switch(target.num('he')){ + case 0:break; + case 1:chance/=1.2;break; + case 2:chance/=1.4;break; + case 3:chance/=1.7;break; + default:chance/=2;break; + } + switch(game.getRarity(target.name)){ + case 'common':{ + if(renyi) chance*=2; + break; + } + case 'rare':{ + chance/=2; + if(renyi) chance*=2; + break; + } + case 'epic':{ + chance/=5; + if(renyi) chance*=1.5; + break; + } + case 'legend':{ + chance/=15; + if(renyi) chance*=1.2; + break; + } + } + return Math.min(1,chance); + }, + filter:function(){ + return game.data.dust>=10; + }, + filterTarget:function(card,player,target){ + return game.isChessNeighbour(player,target)&&!game.data.character.contains(target.name); + }, + content:function(){ + var chance=lib.skill.leader_zhaoxiang.chance(target,player); + game.changeDust(-10); + if(Math.random()0; + }, + content:function(){ + switch(_status.difficulty){ + case 'leader_easy':game.reward+=2*trigger.num;break; + case 'leader_medium':game.reward+=4*trigger.num;break; + case 'leader_hard':game.reward+=6*trigger.num;break; + } + } + }, + leader_renyi:{ + unique:true, + }, + leader_mouduan:{ + unique:true, + global:'leader_mouduan2' + }, + leader_mouduan2:{ + mod:{ + chessMove:function(player,current){ + if(player.side&&player.name!=_status.lord) return current+1; + } + } + }, + tongshuai:{ + unique:true, + forbid:['guozhan'], + init:function(player){ + player.storage.tongshuai={ + list:[], + owned:{}, + player:player, + get:function(num){ + if(typeof num!='number') num=1; + var player=this.player; + while(num--){ + var name=player.storage.tongshuai.unowned.shift(); + if(!name) return; + var skills=lib.character[name][3].slice(0); + for(var i=0;i
    【'+get.translation(skill)+ + '】
    '+lib.translate[skill+'_info']+'
    '); + } + } + }, + // mark:true + }, + tongshuai1:{ + trigger:{global:'gameStart'}, + forced:true, + popup:false, + priority:10, + content:function(){ + for(var i=0;i1){ + player.storage.tongshuai.get(2); + } + else if(player.storage.tongshuai.unowned.length==1){ + player.storage.tongshuai.get(); + } + else{ + player.removeSkill('tongshuai'); + } + } + }, + tongshuai2:{ + audio:2, + trigger:{player:['phaseBegin','phaseEnd'],global:'gameStart'}, + filter:function(event,player,name){ + if(!player.hasSkill('tongshuai')) return false; + if(name=='phaseBegin'&&game.phaseNumber==1) return false; + return true; + }, + priority:-9, + forced:true, + popup:false, + content:function(){ + var slist=player.storage.tongshuai.owned; + var list=[]; + for(var i in slist){ + list.push(i); + } + if(event.isMine()){ + event.dialog=ui.create.dialog('选择获得一项技能',[list,'character']); + if(trigger.name=='game'){ + event.control=ui.create.control(); + } + else{ + event.control=ui.create.control(['cancel']); + } + event.clickControl=function(link){ + if(link!='cancel'){ + var currentname=event.dialog.querySelector('.selected.button').link; + var mark=player.marks.tongshuai; + if(!mark){ + player.markSkill('tongshuai'); + mark=player.marks.tongshuai; + if(mark.firstChild){ + mark.firstChild.remove(); + } + } + mark.setBackground(currentname,'character'); + + player.addAdditionalSkill('tongshuai',link); + game.addVideo('chess_tongshuai_skill',player,[currentname,link]); + player.logSkill('tongshuai2'); + game.log(player,'获得技能','【'+get.translation(link)+'】'); + player.popup(link); + + for(var i=0;i0; + }, + content:function(){ + player.storage.tongshuai.get(); + } + }, + cangming:{ + enable:'phaseUse', + usable:1, + unique:true, + filter:function(event,player){ + if(player.isTurnedOver()) return false; + var suits=[]; + var hs=player.get('h'); + for(var i=0;i=4) return true; + } + return false; + }, + filterCard:function(card){ + var suit=get.suit(card); + for(var i=0;i1) break; + } + } + if(num<=1) return; + if(_status.currentPhase==player&&player.num('h')=6){ + if(typeof card=='string') return; + if(card.name=='wuzhong') return; + if(card.name=='shunshou') return; + if(card.name=='yuanjiao') return; + if(card.name=='yiyi') return; + if(!player.hasSkill('cangming2')) return [0,0,0,0]; + } + } + }, + result:{ + target:function(player){ + var num=0; + for(var i=0;i1) break; + } + } + if(num<=1) return 0; + return -10; + } + } + }, + }, + cangming2:{ + trigger:{player:'phaseBegin'}, + forced:true, + popup:false, + content:function(){ + for(var i=0;i0; + }, + check:function(event,player){ + var targets=lib.skill.guanchuan.getTargets(player,event.targets[0]); + var eff=0; + for(var i=0;i0; + }, + content:function(){ + var targets=lib.skill.guanchuan.getTargets(player,trigger.targets[0]); + for(var i=0;i1&&lib.filter.filterCard({name:'sha'},player); + }, + filterCard:{name:'sha'}, + selectCard:2, + check:function(card){ + var num=0; + var player=_status.event.player; + for(var i=0;i0){ + num++; + if(num>1) return 8-ai.get.value(card); + } + } + return 0; + }, + selectTarget:[1,Infinity], + discard:false, + prepare:function(cards,player,targets){ + player.$throw(cards); + player.line(targets); + }, + filterTarget:function(card,player,target){ + return lib.filter.targetEnabled({name:'sha'},player,target)&& + get.distance(player,target,'pure')<=5; + }, + content:function(){ + targets.sort(lib.sort.seat); + player.useCard({name:'sha'},cards,targets,'luanjian').animate=false; + }, + multitarget:true, + ai:{ + order:function(){ + return lib.card.sha.ai.order+0.1; + }, + result:{ + target:function(player,target){ + var added=false; + if(!player.hasSkill('unequip')){ + added=true; + player.skills.push('unequip'); + } + var eff=ai.get.effect(target,{name:'sha'},player,target); + if(added){ + player.skills.remove('unequip'); + } + return eff; + } + }, + effect:{ + player:function(card,player){ + if(_status.currentPhase!=player) return; + if(card.name=='sha'&&player.num('h','sha')<2&&player.num('h')<=player.hp){ + var num=0; + var player=_status.event.player; + for(var i=0;i1) return [0,0,0,0]; + } + } + } + } + }, + } + }, + zhiming:{ + trigger:{source:'damageBegin'}, + filter:function(event,player){ + return get.distance(event.player,player,'attack')>1&&event.card&&event.card.name=='sha'; + }, + forced:true, + content:function(){ + trigger.num++; + } + }, + lianshe:{ + mod:{ + cardUsable:function(card,player,num){ + if(card.name=='sha'){ + return num+get.cardCount(true,player)-get.cardCount('sha',player); + } + }, + attackFrom:function(from,to,distance){ + return distance-1; + } + }, + }, + pianyi:{ + trigger:{player:'phaseEnd'}, + direct:true, + filter:function(event,player){ + return !player.getStat('damage'); + }, + content:function(){ + "step 0" + player.chooseToMove(2,'是否发动【翩仪】?'); + "step 1" + if(result.bool){ + player.logSkill('pianyi'); + } + } + }, + lingdong:{ + trigger:{player:'phaseEnd'}, + direct:true, + filter:function(event,player){ + return get.cardCount('sha',player)>0; + }, + content:function(){ + "step 0" + player.chooseToMove(get.cardCount('sha',player),'是否发动【移动射击】?'); + "step 1" + if(result.bool){ + player.logSkill('lingdong'); + } + } + }, + _noactpunish:{ + trigger:{player:'useCard'}, + filter:function(event,player){ + return _status.currentPhase==player&&event.targets&&(event.targets.length>1||event.targets[0]!=player); + }, + forced:true, + popup:false, + content:function(){ + player.addTempSkill('noactpunish','phaseAfter'); + } + }, + noactpunish:{}, + _chess_chuzhang:{ + enable:'phaseUse', + usable:1, + direct:true, + delay:false, + preservecancel:true, + filter:function(event,player){ + if(_status.mode=='tafang') return false; + var num=0; + var xy=player.getXY(); + if(game.obstacles.contains(player.getNeighbour(-1,0))||xy[0]==0) num++; + if(game.obstacles.contains(player.getNeighbour(1,0))||xy[0]+1>=ui.chesswidth) num++; + if(game.obstacles.contains(player.getNeighbour(0,-1))||xy[1]==0) num++; + if(game.obstacles.contains(player.getNeighbour(0,1))||xy[1]+1>=ui.chessheight) num++; + return num>=3; + }, + content:function(){ + 'step 0' + event.obstacles=[]; + var neighbour; + neighbour=player.getNeighbour(-1,0); + if(neighbour&&game.obstacles.contains(neighbour)){ + event.obstacles.push(neighbour); + } + neighbour=player.getNeighbour(1,0); + if(neighbour&&game.obstacles.contains(neighbour)){ + event.obstacles.push(neighbour); + } + neighbour=player.getNeighbour(0,-1); + if(neighbour&&game.obstacles.contains(neighbour)){ + event.obstacles.push(neighbour); + } + neighbour=player.getNeighbour(0,1); + if(neighbour&&game.obstacles.contains(neighbour)){ + event.obstacles.push(neighbour); + } + if(!event.obstacles.length){ + event.finish(); + return; + } + else if(event.obstacles.length==1){ + event.obstacle=event.obstacles[0]; + } + else if(event.isMine()){ + for(var i=0;i'+lib.translate._chess_chuzhang_info+''); + event.custom.replace.confirm=function(){ + player.getStat().skill._chess_chuzhang--; + event.cancelled=true; + game.resume(); + }; + } + 'step 1' + _status.imchoosing=false; + if(!event.cancelled){ + if(!event.obstacle){ + event.obstacle=event.obstacles.randomGet(); + } + game.removeObstacle(event.obstacle.dataset.position); + } + for(var i=0;i0; + }, + content:function(){ + "step 0" + var move=2; + move=game.checkMod(player,move,'chessMove',player.get('s')); + player.chooseToMove(move).phasing=true; + "step 1" + if(!result.bool){ + var skill=player.getStat().skill; + skill._chessmove--; + if(typeof skill._chessmovetried=='number'){ + skill._chessmovetried++; + } + else{ + skill._chessmovetried=1; + } + } + }, + ai:{ + order:5, + result:{ + playerx:function(player){ + if(_status.mode=='tafang'&&_status.enemies.contains(player)){ + return 1; + } + var nh=player.num('h'); + if(!player.num('h','sha')&& + !player.num('h','shunshou')&& + !player.num('h','bingliang')){ + if(nh<=Math.min(3,player.hp)) return Math.random()-0.3; + else if(nh<=Math.min(2,player.hp)) return Math.random()-0.4; + return Math.random()-0.5; + } + var neighbour; + neighbour=player.getNeighbour(0,1); + if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(get.distance(player,neighbour,'attack')<1) return 1; + return 0; + } + neighbour=player.getNeighbour(0,-1); + if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(get.distance(player,neighbour,'attack')<1) return 1; + return 0; + } + neighbour=player.getNeighbour(1,0); + if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(get.distance(player,neighbour,'attack')<1) return 1; + return 0; + } + neighbour=player.getNeighbour(-1,0); + if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(get.distance(player,neighbour,'attack')<1) return 1; + return 0; + } + return 1; + }, + player:function(player){ + if(player.getStat().skill._chessmovetried>=10){ + return 0; + } + var x=lib.skill._chessmove.ai.result.playerx(player); + if(player.isMad()) return -x; + return x; + } + } + } + }, + _chessswap:{ + trigger:{player:['phaseBegin','chooseToUseBegin','chooseToRespondBegin','chooseToDiscardBegin','chooseToCompareBegin', + 'chooseButtonBegin','chooseCardBegin','chooseTargetBegin','chooseCardTargetBegin','chooseControlBegin', + 'chooseBoolBegin','choosePlayerCardBegin','discardPlayerCardBegin','gainPlayerCardBegin']}, + forced:true, + priority:100, + popup:false, + filter:function(event,player){ + if(event.autochoose&&event.autochoose()) return false; + if(lib.config.mode=='chess'&&_status.mode=='combat'&&!get.config('single_control')) return false; + return player.isUnderControl(); + }, + content:function(){ + game.modeSwapPlayer(player); + }, + }, + _chesscenter:{ + trigger:{player:['phaseBegin','useCardBegin','useSkillBegin','respondBegin','damageBegin','loseHpBegin'], + target:'useCardToBegin'}, + forced:true, + priority:100, + popup:false, + content:function(){ + player.chessFocus(); + }, + }, + boss_bfengxing:{ + mod:{ + chessMove:function(player,current){ + return current+2; + }, + attackFrom:function(from,to,current){ + return current-2; + }, + }, + trigger:{player:'phaseDrawBegin'}, + forced:true, + content:function(){ + trigger.num+=2; + } + }, + boss_chiyu:{ + enable:'phaseUse', + usable:1, + filterCard:{color:'red'}, + nodelay:true, + check:function(card){return 8-ai.get.value(card);}, + filterTarget:function(card,player,target){ + return get.distance(player,target)<=5&&player!=target; + }, + filter:function(event,player){ + return player.num('h',{color:'red'})>0; + }, + selectTarget:-1, + content:function(){ + target.damage('fire'); + }, + line:'fire', + ai:{ + order:1, + result:{ + target:function(player,target){ + return ai.get.damageEffect(target,player,target,'fire'); + } + } + } + }, + boss_tenglong:{ + enable:'phaseUse', + usable:1, + position:'he', + filterCard:{type:'equip'}, + init:function(player){ + player.forcemin=true; + }, + check:function(card){ + var player=_status.currentPhase; + if(player.num('he',{subtype:get.subtype(card)})>1){ + return 12-ai.get.equipValue(card); + } + return 8-ai.get.equipValue(card); + }, + filter:function(event,player){ + return player.num('he',{type:'equip'}); + }, + filterTarget:function(card,player,target){ + return player!=target&&get.distance(player,target)<=2; + }, + content:function(){ + target.damage(3,'fire'); + }, + ai:{ + order:9, + result:{ + target:function(player,target){ + return ai.get.damageEffect(target,player,target,'fire'); + } + } + } + }, + boss_wuying:{ + mod:{ + globalTo:function(from,to,distance){ + return distance+2; + }, + chessMove:function(player,current){ + return current-1; + } + } + }, + boss_wushang:{ + trigger:{player:'phaseBegin'}, + forced:true, + filter:function(event,player){ + for(var i=0;i=ui.chessheight-1) return false; + } + var node=ui.create.div('.player.minskin.playergrid',player.parentNode); + node.link=player; + node.dataset.position=pos; + return node; + }, + fakeme:function(){ + if(ui.fakeme){ + ui.fakeme.delete(); + } + ui.fakeme=ui.create.div('.fakeme.avatar',ui.me); + ui.fakeme.style.backgroundImage=game.me.node.avatar.style.backgroundImage; + } + }, + click:{ + chessInfo:function(e){ + if(this.link.isAlive()){ + this.link.chessFocus(); + if(this.link.classList.contains('selectable')|| + this.link.classList.contains('selected')){ + ui.click.target.call(this.link,e); + ui.click.window.call(ui.window,e); + } + e.stopPropagation(); + } + }, + playergrid:function(){ + if(!_status.paused) return; + var pos=parseInt(this.dataset.position); + this.link.moveTo(pos%ui.chesswidth,Math.floor(pos/ui.chesswidth)); + if(ui.movegrids){ + while(ui.movegrids.length){ + ui.movegrids.shift().delete(); + } + } + _status.event.result={ + bool:true, + move:this.link.dataset.position + }; + game.resume(); + }, + obstacle:function(){ + if(_status.event.chooseObstacle&&_status.paused&& + _status.event.obstacles&&_status.event.obstacles.contains(this)){ + _status.event.obstacle=this; + game.resume(); + } + } + } + }, + get:{ + chessDistance:function(from,to){ + var fxy=from.getXY(); + var txy=to.getXY(); + return Math.abs(fxy[0]-txy[0])+Math.abs(fxy[1]-txy[1]); + }, + }, + ai:{ + get:{ + attitude:function(from,to){ + if(!from||!to) return 0; + var t=(from.side===to.side?1:-1); + if(from.isMad()){ + t=-t; + } + else if(to.isMad()){ + t=0; + } + return 6*t; + } + } + }, + card:{ + chess_shezhang:{ + type:'basic', + fullskin:true, + enable:function(card,player){ + if(player.movable(-1,0)) return true; + if(player.movable(1,0)) return true; + if(player.movable(0,-1)) return true; + if(player.movable(0,1)) return true; + return false; + }, + filterTarget:function(card,player,target){ + return player==target; + }, + selectTarget:-1, + content:function(){ + 'step 0' + var pos=parseInt(player.dataset.position); + var poses=[]; + if(player.movable(-1,0)){ + poses.push(pos-1); + } + if(player.movable(1,0)){ + poses.push(pos+1); + } + if(player.movable(0,-1)){ + poses.push(pos-ui.chesswidth); + } + if(player.movable(0,1)){ + poses.push(pos+ui.chesswidth); + } + event.poses=poses; + if(poses.length==1){ + event.obstacle=poses[0]; + event.grids=[]; + } + else if(event.isMine()){ + event.grids=player.createRangeShadow(1,function(){ + event.obstacle=this.dataset.position; + game.resume(); + }) + game.pause(); + _status.imchoosing=true; + for(var i=0;i
  • 阻上敌人到达最下方的出口,坚持到给定的回合数即获得胜利
  • '+ + '每轮可获得10个行动点,用来布置机关、招募武将,或令武将行动。游戏难度将影响不同操作消耗的行动点数。未用完的行动点将减半并累积到下一轮
  • '+ + '每一轮在最上方的一个随机位置增加一名敌人,若最上方已有角色,则将其下移一格
  • '+ + '战场上最多出现3个相同的机关,每个机关在置入战场3轮后消失。战场上最多招募10名友方角色。
  • '+ + '敌方角色到达底部出口时游戏失败,已方角色到达底部出口,将被移出游戏', + }, +}