fix 263 bug

This commit is contained in:
oc 2019-07-10 22:18:48 +08:00
parent 193046f33d
commit 3a62d366e0
3 changed files with 10 additions and 3 deletions

View File

@ -554,11 +554,17 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
"_data": "如果此项为true则视为钥匙盒红黄蓝钥匙+1若为false则视为大黄门钥匙"
},
"steelDoorWithoutKey": {
"_left": true,
"_leaf": true,
"_type": "checkbox",
"_bool": "bool",
"_data": "铁门是否不需要钥匙开启。如果此项为true则无需钥匙也可以开铁门。"
},
"itemFirstText": {
"_leaf": true,
"_type": "checkbox",
"_bool": "bool",
"_data": "首次获得道具是否提示"
},
"equipment": {
"_leaf": true,
"_type": "checkbox",

View File

@ -462,7 +462,7 @@ events.prototype.getItem = function (id, num, x, y, callback) {
// --- 首次获得道具的提示
if (!core.hasFlag("__itemHint__")) core.setFlag("__itemHint__", []);
var itemHint = core.getFlag("__itemHint__");
if (itemHint.indexOf(id) < 0 && itemCls != 'items') {
if (core.flags.itemFirstText && itemHint.indexOf(id) < 0 && itemCls != 'items') {
var hint = core.material.items[id].text || "该道具暂无描述";
try {
hint = core.replaceText(hint);
@ -2283,7 +2283,7 @@ events.prototype._eventMoveHero_moving = function (step, moveSteps) {
core.drawHero('leftFoot', 4 * o * step);
}
else if (step <= 8) {
core.drawHero('rightFoot', 4 * o * step);SGTM
core.drawHero('rightFoot', 4 * o * step);
}
if (step == 8) {
core.setHeroLoc('x', x + o * core.utils.scan[direction].x, true);

View File

@ -396,6 +396,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"snowFourDirections": false,
"bigKeyIsBox": false,
"steelDoorWithoutKey": false,
"itemFirstText": true,
"equipment": false,
"equipboxButton": false,
"iconInEquipbox": false,