diff --git a/character/hearth.js b/character/hearth.js index 37051635e..e8d9c9575 100755 --- a/character/hearth.js +++ b/character/hearth.js @@ -568,6 +568,7 @@ character.hearth={ enable:'phaseUse', usable:1, filter:function(event,player){ + if(!lib.card.chiyuxi||!lib.card.jingleishan) return false; return player.num('he')>0; }, filterTarget:function(card,player,target){ diff --git a/character/swd.js b/character/swd.js index ee1ddd82a..dba0947b6 100755 --- a/character/swd.js +++ b/character/swd.js @@ -2175,6 +2175,7 @@ character.swd={ huangyu:{ enable:'phaseUse', filter:function(event,player){ + if(!lib.card.chiyuxi) return false; return !player.getStat('skill').huangyu&&player.num('he',{color:'red'})>1; }, filterCard:{color:'red'}, diff --git a/game/game.js b/game/game.js index 747c248ae..be593b853 100755 --- a/game/game.js +++ b/game/game.js @@ -9,9 +9,12 @@ } } else{ - alert(document.head.outerHTML) if(confirm('游戏似乎未正常载入,是否重置游戏?')){ + var noname_inited=localStorage.getItem('noname_inited'); localStorage.clear(); + if(noname_inited){ + localStorage.setItem(noname_inited); + } if(indexedDB) indexedDB.deleteDatabase('noname_0.9_data'); window.location.reload(); } @@ -36,18 +39,10 @@ dieClose:[] }; var lib={ - version:'1.8.1', - changeLog:[ - 'AI问题修复', - '检查更新功能', - '游戏内下载/更新素材', - 'iOS/Mac/Windows版优化', - 'iOS版支持录像、扩展等' - ], configprefix:'noname_0.9_', updateURL:'http://isha.applinzi.com/', - onlineURL:'http', assetURL:'', + changeLog:[], updates:[], canvasUpdates:[], video:[], @@ -1487,7 +1482,11 @@ onclick:function(){ var node=this; if(node._clearing){ - localStorage.clear(); + var noname_inited=localStorage.getItem('noname_inited'); + localStorage.clear(); + if(noname_inited){ + localStorage.setItem(noname_inited); + } game.reload(); return; } @@ -2542,6 +2541,7 @@ init:'3', frequent:true, item:{ + '1':'一人', '2':'两人', '3':'三人', '4':'四人', @@ -2557,6 +2557,15 @@ } }, }, + mana_mode:{ + name:'行动值变化', + init:'inc', + item:{ + inf:'涨落', + inc:'递增' + }, + frequent:true + }, skill_bar:{ name:'怒气值', init:true, @@ -2786,6 +2795,12 @@ }, init:{ init:function(){ + if(window.noname_update){ + lib.version=window.noname_update.version; + lib.changeLog=window.noname_update.changeLog; + delete window.noname_update; + } + var scripts=document.head.querySelectorAll('script'); for(var i=0;i 无名杀 + diff --git a/mode/stone.js b/mode/stone.js index 656675e9f..03ef36747 100755 --- a/mode/stone.js +++ b/mode/stone.js @@ -598,7 +598,7 @@ mode.stone={ player.node.actcount=ui.create.div('.actcount.hp',player); } if(typeof player.actcount!=='number'){ - player.actcount=2; + player.actcount=0; } player.actused=0; if(!player.actcharacterlist){ @@ -9011,13 +9011,22 @@ mode.stone={ content:function(){ player.actused=0; if(player.side){ - player.actcount=player.getEnemy().actcount; - } - else{ player.actcount=player.getEnemy().actcount+1; } + else{ + player.actcount=player.getEnemy().actcount; + if(!_status.actcoin){ + _status.actcoin=true; + player.actused--; + } + } if(player.actcount>6){ - player.actcount-=4; + if(get.config('mana_mode')=='inc'){ + player.actcount=6; + } + else{ + player.actcount-=4; + } } player.updateActCount(); player.getEnemy().updateActCount('outphase'); @@ -10149,7 +10158,7 @@ mode.stone={ '
  • 怒气值达到100时不再增加。回合开始阶段,若怒气值己满,可消耗全部怒气值并召唤一名传说随从'+ '
    战斗