楼传落点
This commit is contained in:
parent
d6a3f119be
commit
8154275884
@ -3194,8 +3194,8 @@ Event_List
|
|||||||
/*Event_List ['null','afterBattle','afterGetItem','afterOpenDoor']*/;
|
/*Event_List ['null','afterBattle','afterGetItem','afterOpenDoor']*/;
|
||||||
|
|
||||||
Floor_Meta_List
|
Floor_Meta_List
|
||||||
: '楼层中文名'|'状态栏名称'|'能否使用楼传'|'能否打开快捷商店'|'是否不可浏览地图'|'是否不可瞬间移动'|'默认地面ID'|'楼层贴图'|'宝石血瓶效果'|'上楼点坐标'|'下楼点坐标'|'背景音乐'|'画面色调'|'天气和强度'|'是否地下层'
|
: '楼层中文名'|'状态栏名称'|'能否使用楼传'|'能否打开快捷商店'|'是否不可浏览地图'|'是否不可瞬间移动'|'默认地面ID'|'楼层贴图'|'宝石血瓶效果'|'上楼点坐标'|'下楼点坐标'|'楼传落点坐标'|'背景音乐'|'画面色调'|'天气和强度'|'是否地下层'
|
||||||
/*Floor_Meta_List ['title','name','canFlyTo', 'canUseQuickShop', 'cannotViewMap', 'cannotMoveDirectly', 'defaultGround', 'images', 'ratio', 'upFloor', 'downFloor', 'bgm', 'color', 'weather', 'underGround']*/;
|
/*Floor_Meta_List ['title','name','canFlyTo', 'canUseQuickShop', 'cannotViewMap', 'cannotMoveDirectly', 'defaultGround', 'images', 'ratio', 'upFloor', 'downFloor', 'fwlyPoint', 'bgm', 'color', 'weather', 'underGround']*/;
|
||||||
|
|
||||||
Global_Attribute_List
|
Global_Attribute_List
|
||||||
: '全局字体'|'横屏左侧状态栏背景'|'竖屏上方状态栏背景'|'竖屏下方道具栏背景'|'边框颜色'|'状态栏文字色'|'楼层转换样式'|'装备列表'
|
: '全局字体'|'横屏左侧状态栏背景'|'竖屏上方状态栏背景'|'竖屏下方道具栏背景'|'边框颜色'|'状态栏文字色'|'楼层转换样式'|'装备列表'
|
||||||
|
|||||||
@ -171,7 +171,8 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_type": "popCheckboxSet",
|
"_type": "popCheckboxSet",
|
||||||
"_checkboxSet": function () {
|
"_checkboxSet": function () {
|
||||||
var array = functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.enemys.getSpecials()
|
var array = functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.enemys.getSpecials()
|
||||||
var b=[],c=[];
|
var b = [],
|
||||||
|
c = [];
|
||||||
for (var index = 0; index < array.length; index++) {
|
for (var index = 0; index < array.length; index++) {
|
||||||
b.push(array[index][0])
|
b.push(array[index][0])
|
||||||
var name = array[index][1];
|
var name = array[index][1];
|
||||||
@ -465,6 +466,13 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_docs": "下楼点",
|
"_docs": "下楼点",
|
||||||
"_data": "该层下楼点,如[2,3]。\n如果此项不为null,则楼层转换时的stair:downFloor,以及楼传器的落点会被替换成该点而不是该层的下楼梯。"
|
"_data": "该层下楼点,如[2,3]。\n如果此项不为null,则楼层转换时的stair:downFloor,以及楼传器的落点会被替换成该点而不是该层的下楼梯。"
|
||||||
},
|
},
|
||||||
|
"flyPoint": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "point",
|
||||||
|
"_range": "thiseval==null||((thiseval instanceof Array) && thiseval.length==2)",
|
||||||
|
"_docs": "楼传落点",
|
||||||
|
"_data": "该层楼传落点,如[2,3]。\n如果此项不为null,则楼层飞行器强行落到此点,无视上下楼或平面塔属性。"
|
||||||
|
},
|
||||||
"defaultGround": {
|
"defaultGround": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
|
|||||||
@ -194,6 +194,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
if (core.flags.flyRecordPosition) {
|
if (core.flags.flyRecordPosition) {
|
||||||
loc = core.getFlag("__leaveLoc__", {})[toId] || null;
|
loc = core.getFlag("__leaveLoc__", {})[toId] || null;
|
||||||
}
|
}
|
||||||
|
if (core.status.maps[toId].flyPoint != null && core.status.maps[toId].flyPoint.length == 2) {
|
||||||
|
loc = {x: core.status.maps[toId].flyPoint[0], y: core.status.maps[toId].flyPoint[1]};
|
||||||
|
}
|
||||||
if (loc == null) {
|
if (loc == null) {
|
||||||
// 获得两个楼层的索引,以决定是上楼梯还是下楼梯
|
// 获得两个楼层的索引,以决定是上楼梯还是下楼梯
|
||||||
var fromIndex = core.floorIds.indexOf(fromId),
|
var fromIndex = core.floorIds.indexOf(fromId),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user