fix 263 bug
This commit is contained in:
parent
193046f33d
commit
3a62d366e0
@ -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",
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user