diff --git a/images/yewai.png b/images/yewai.png deleted file mode 100644 index ca42c618..00000000 Binary files a/images/yewai.png and /dev/null differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/animates2:四方门.png b/images/常用素材:如需使用请直接替换目录中的对应文件/animates2:四方门.png new file mode 100644 index 00000000..dead2aea Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/animates2:四方门.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/四方机关门.png b/images/常用素材:如需使用请直接替换目录中的对应文件/四方机关门.png new file mode 100644 index 00000000..5f31373f Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/四方机关门.png differ diff --git a/libs/core.js b/libs/core.js index 5ccad7d9..fabce961 100644 --- a/libs/core.js +++ b/libs/core.js @@ -3713,8 +3713,13 @@ core.prototype.openSettings = function (need) { } ////// 自动存档 ////// -core.prototype.autosave = function () { +core.prototype.autosave = function (removeLast) { + var x; + if (removeLast) + x=core.status.route.pop(); core.saveData("autoSave"); + if (removeLast) + core.status.route.push(x); } ////// 实际进行存读档事件 ////// diff --git a/libs/data.js b/libs/data.js index 0541d12b..4013a16b 100644 --- a/libs/data.js +++ b/libs/data.js @@ -169,7 +169,7 @@ data.prototype.init = function() { "showBattleAnimateConfirm": true, // 是否在游戏开始时提供“是否开启战斗动画”的选项 "battleAnimate": true, // 是否默认显示战斗动画;用户可以手动在菜单栏中开关 "displayEnemyDamage": true, // 是否地图怪物显伤;用户可以手动在菜单栏中开关 - "displayExtraDamage": false, // 是否地图高级显伤(领域、夹击等);用户可以手动在菜单栏中开关 + "displayExtraDamage": true, // 是否地图高级显伤(领域、夹击等);用户可以手动在菜单栏中开关 "enableGentleClick": true, // 是否允许轻触(获得面前物品) "potionWhileRouting": false, // 寻路算法是否经过血瓶;如果该项为false,则寻路算法会自动尽量绕过血瓶 "enableViewMaps": true, // 是否支持在菜单栏中查看所有楼层的地图 diff --git a/libs/events.js b/libs/events.js index b5ef9249..4a708aa8 100644 --- a/libs/events.js +++ b/libs/events.js @@ -6,7 +6,7 @@ function events() { events.prototype.init = function () { this.events = { 'battle': function (data, core, callback) { - core.autosave(); + core.autosave(true); core.battle(data.event.id, data.x, data.y); if (core.isset(callback)) callback(); @@ -17,7 +17,7 @@ events.prototype.init = function () { callback(); }, 'openDoor': function (data, core, callback) { - core.autosave(); + core.autosave(true); core.openDoor(data.event.id, data.x, data.y, true, function () { if (core.isset(callback)) callback(); core.replay(); diff --git a/main.js b/main.js index d95aa588..283318e6 100644 --- a/main.js +++ b/main.js @@ -15,11 +15,11 @@ function main() { this.pngs = [ // 在此存放所有可能的背景图片;背景图片最好是416*416像素,其他分辨率会被强制缩放成416*416 // 建议对于较大的图片,在网上使用在线的“图片压缩工具”来进行压缩,以节省流量 // 有关使用自定义背景图,请参见文档的“自定义素材”说明 - "bg.png", "yewai.png", // 依次向后添加 + "bg.png", // 依次向后添加 ]; this.bgms = [ // 在此存放所有的bgm,和文件名一致。第一项为默认播放项 // 音频名不能使用中文,不能带空格或特殊字符;可以直接改名拼音就好 - '058-Slow01.mid', 'bgm.mp3', 'qianjin.mid', 'star.mid', + 'bgm.mp3', 'qianjin.mid', 'star.mid', ]; this.sounds = [ // 在此存放所有的SE,和文件名一致 // 音频名不能使用中文,不能带空格或特殊字符;可以直接改名拼音就好