diff --git a/character/extra.js b/character/extra.js index b750de79eb..f2b87be086 100755 --- a/character/extra.js +++ b/character/extra.js @@ -53,16 +53,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt2('shiki_omusubi'),lib.filter.notMe).set('ai',function(target){ var player=_status.event.player; - if(player.isHealthy()) return 0; - if(player.hp<3&&getDamagedHp()<2) return 0; - var list=[]; - if(lib.character[target.name]) list.addArray(lib.character[target.name][3]); - if(lib.character[target.name1]) list.addArray(lib.character[target.name1][3]); - if(lib.character[target.name2]) list.addArray(lib.character[target.name2][3]); - list=list.filter(function(i){ - return !player.hasSkill(i); - }); - if(!list.length) return 0; + if(player.isHealthy()) return 0; + if(player.hp<3&&player.getDamagedHp()<2) return 0; + var list=[]; + if(lib.character[target.name]) list.addArray(lib.character[target.name][3]); + if(lib.character[target.name1]) list.addArray(lib.character[target.name1][3]); + if(lib.character[target.name2]) list.addArray(lib.character[target.name2][3]); + list=list.filter(function(i){ + return !player.hasSkill(i); + }); + if(!list.length) return 0; return 1+Math.random(); }); 'step 1' diff --git a/game/update.js b/game/update.js index e20e44bcb6..16a032360e 100644 --- a/game/update.js +++ b/game/update.js @@ -1,6 +1,6 @@ window.noname_update={ - version:'1.9.100.7', - update:'1.9.100.6.1', + version:'1.9.100.7.1', + update:'1.9.100.7', changeLog:[ '神山识', 'bug修复', @@ -19,24 +19,24 @@ window.noname_update={ //'card/yunchou.js', //'card/zhenfa.js', //'card/zhulu.js', - 'character/diy.js', + //'character/diy.js', 'character/extra.js', //'character/hearth.js', //'character/gujian.js', //'character/gwent.js', //'character/hearth.js', - 'character/mobile.js', + //'character/mobile.js', //'character/mtg.js', //'character/old.js', - 'character/refresh.js', + //'character/refresh.js', //'character/shenhua.js', - 'character/sp.js', + //'character/sp.js', //'character/tw.js', //'character/standard.js', //'character/swd.js', //'character/xianjian.js', //'character/xinghuoliaoyuan.js', - 'character/yijiang.js', + //'character/yijiang.js', //'character/yxs.js', //'extension/boss/extension.js', //'layout/default/layout.css', @@ -47,11 +47,11 @@ window.noname_update={ //'mode/chess.js', //'mode/tafang.js', //'mode/single.js', - 'mode/stone.js', - 'mode/brawl.js', + //'mode/stone.js', + //'mode/brawl.js', //'mode/versus.js', - 'mode/boss.js', - 'game/game.js', + //'mode/boss.js', + //'game/game.js', //'game/NoSleep.js', //'game/config.js', //'game/package.js',