二区完毕

This commit is contained in:
AncTe committed 2023-04-21 22:48:47 +08:00
1 parent aad0430103
commit b0086f8dfb
29 files changed
+542 -414

No files matched your search

+9
View File
@@ -429,6 +429,15 @@
"<span style=\"color: gold\">调试模式下无法完成成就!</span>"
]
},
"score": {
"text": "计分方式",
"condition": "true",
"desc": [
"第一章计分方式:血量 + 黄 * 5000 + 蓝 * 15000",
"<br>",
"第二章计分方式:血量 / 10 + 黄 * 2000 + 蓝 * 5000 + 红 * 10000"
]
},
"skillTree": {
"text": "技能树",
"condition": "flags.chapter > 0",
+4 -21
View File
@@ -31,27 +31,10 @@ export default function init() {
return { updateShadow, clearShadowCache, setCalShadow };
}
const shadowInfo: Partial<Record<FloorIds, Light[]>> = {
MT48: [
{
id: 'mt48_1',
x: 0,
y: 48,
decay: 0,
r: 300,
color: '#0000'
}
]
};
const backgroundInfo: Partial<Record<FloorIds, Color>> = {
MT48: '#0008'
};
const blurInfo: Partial<Record<FloorIds, number>> = {
MT48: 4
};
const immersionInfo: Partial<Record<FloorIds, number>> = {
MT48: 4
};
const shadowInfo: Partial<Record<FloorIds, Light[]>> = {};
const backgroundInfo: Partial<Record<FloorIds, Color>> = {};
const blurInfo: Partial<Record<FloorIds, number>> = {};
const immersionInfo: Partial<Record<FloorIds, number>> = {};
const shadowCache: Partial<Record<FloorIds, Polygon[]>> = {};
let calMapShadow = true;
+2
View File
@@ -617,6 +617,8 @@ interface IdToCls {
X70050: 'tileset';
X70056: 'tileset';
X70058: 'tileset';
X70059: 'tileset';
X70060: 'tileset';
X70064: 'tileset';
X70065: 'tileset';
X70066: 'tileset';
+4
View File
@@ -617,6 +617,8 @@ interface IdToNumber {
X70050: 70050;
X70056: 70056;
X70058: 70058;
X70059: 70059;
X70060: 70060;
X70064: 70064;
X70065: 70065;
X70066: 70066;
@@ -1271,6 +1273,8 @@ interface NumberToId {
70050: 'X70050';
70056: 'X70056';
70058: 'X70058';
70059: 'X70059';
70060: 'X70060';
70064: 'X70064';
70065: 'X70065';
70066: 'X70066';
+1 -1
View File
@@ -44,7 +44,7 @@ const point = achi.point;
const nowPoint = getNowPoint() - point;
const now = ref(nowPoint);
const progress = computed(() => now.value / totalPoint);
const progress = computed(() => Math.floor(now.value / totalPoint));
onMounted(async () => {
await sleep(500);
+1 -1
View File
@@ -132,7 +132,7 @@ import { isMobile } from '../plugin/use';
import { has } from '../plugin/utils';
const width = ref(
isMobile ? window.innerWidth - 100 : window.innerWidth * 0.175
isMobile ? window.innerWidth - 60 : window.innerWidth * 0.175
);
const height = ref(isMobile ? 250 : window.innerHeight - 100);
const updateStatus = ref(false);