diff --git a/game/game.js b/game/game.js index 53a915144..bdad8beeb 100755 --- a/game/game.js +++ b/game/game.js @@ -1056,6 +1056,11 @@ if(!lib.config.title) document.title='无名杀'; } }, + show_extensionmaker:{ + name:'显示制作扩展', + init:true, + unfrequent:true, + }, blur_ui:{ name:'模糊效果', init:false, @@ -21519,6 +21524,7 @@ } (function(){ if(!lib.device&&!lib.db) return; + if(lib.config.show_extensionmaker==false) return; var page=ui.create.div('#create-extension'); var node=ui.create.div('.menubutton.large','制作扩展',start.firstChild,clickMode); node.link=page; @@ -22380,6 +22386,10 @@ confirmcontainer.style.display='none'; container.code=get.stringify(lib.card[selectname.value]); codeButton.onclick.call(codeButton); + var description=newCard.querySelector('input.new_description'); + if(!description.value){ + description.value=lib.translate[selectname.value+'_info']; + } } var citecancel=document.createElement('button'); @@ -22893,6 +22903,10 @@ cancelSkillButton.style.display='none'; container.code=get.stringify(lib.skill[skillopt.value]); editbutton.onclick.call(editbutton); + var description=newSkill.querySelector('input.new_description'); + if(!description.value){ + description.value=lib.translate[skillopt.value+'_info']; + } } var cancelSkillButton=document.createElement('button'); cancelSkillButton.style.display='none'; diff --git a/game/update.js b/game/update.js index 639736537..7f0336917 100644 --- a/game/update.js +++ b/game/update.js @@ -1,5 +1,5 @@ window.noname_update={ - version:'1.8.19.1', + version:'1.8.19.2', changeLog:[ '***注意:更新后将无法使用或导出自定义武将,请自行备份***', '修bug', @@ -21,5 +21,7 @@ window.noname_update={ 'layout/default/menu.css', ], '1.8.18.1':[], + '1.8.19':[], + '1.8.19.1':[], } } diff --git a/layout/default/layout.css b/layout/default/layout.css index 09acd9aba..59bbd04ba 100755 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -45,7 +45,7 @@ table{table-layout: fixed;} } #window.shortcutpaused>div:not(.background):not(#shortcut):not(#system):not(#arena):not(.hidden):not(.removing):not(.dialog):not(.centermenu):not(.popup-container){opacity: 0.3 !important} #window.shortcutpaused>#arena>div:not(#timer):not(.removing):not(.hidden):not(#autonode){opacity: 0.3 !important} -#window.shortcutpaused>#system{opacity: 0.3 !important;} +#window.systempaused>#system{opacity: 0.3 !important;} #window.noclick_important *{pointer-events: none !important;} #window.noclick_important .noclick_click_important div{pointer-events: auto !important}