feat: 抱团显示数字

This commit is contained in:
AncTe committed 2024-08-30 16:21:56 +08:00
1 parent 9b2f23fd97
commit 402ec37cb0
11 files changed
+113 -62

No files matched your search

+3 -2
View File
@@ -24,8 +24,6 @@ interface HaloType {
};
}
type A = Enemy;
export interface EnemyInfo extends Partial<Enemy> {
atk: number;
def: number;
@@ -39,6 +37,7 @@ export interface EnemyInfo extends Partial<Enemy> {
x?: number;
y?: number;
floorId?: FloorIds;
togetherNum?: number;
}
interface DamageInfo {
@@ -597,6 +596,8 @@ export class DamageEnemy<T extends EnemyIds = EnemyIds> {
) {
e.atkBuff_ += enemy.together ?? 0;
e.defBuff_ += enemy.together ?? 0;
e.togetherNum ??= 0;
e.togetherNum++;
}
}
);
-7
View File
@@ -92,13 +92,6 @@ export namespace BluePalace {
export const portalMap: PortalMap = new Map();
export const portals: Partial<Record<FloorIds, Portal[]>> = {
// MT75: [
// { fx: 7, fy: 7, dir: 'left', tx: 9, ty: 9, toDir: 'down' },
// { fx: 5, fy: 11, dir: 'right', tx: 7, ty: 9, toDir: 'up' },
// { fx: 4, fy: 6, dir: 'right', tx: 9, ty: 4, toDir: 'up' },
// { fx: 5, fy: 9, dir: 'right', tx: 3, ty: 7, toDir: 'up' },
// { fx: 7, fy: 5, dir: 'right', tx: 4, ty: 9, toDir: 'up' }
// ]
MT76: [
{ fx: 11, fy: 7, dir: 'right', tx: 4, ty: 6, toDir: 'down' },
{ fx: 6, fy: 5, dir: 'left', tx: 8, ty: 13, toDir: 'right' }