refactor: 勇士属性

This commit is contained in:
unanmed 2024-02-02 17:29:43 +08:00
parent a9c64565e1
commit fa73b47d02
5 changed files with 6 additions and 13 deletions

View File

@ -1,4 +1,4 @@
import { getHeroStatusOf, getHeroStatusOn } from '@/plugin/game/hero';
import { getHeroStatusOf, getHeroStatusOn } from '@/game/hero';
import { Range, RangeCollection } from '@/plugin/game/range';
import {
checkV2,

View File

@ -1,4 +1,4 @@
import { getHeroStatusOn } from '@/plugin/game/hero';
import { getHeroStatusOn } from '@/game/hero';
export interface SpecialDeclaration {
code: number;

View File

@ -111,12 +111,3 @@ function getRealStatus(
if (typeof s === 'number') s = Math.floor(s);
return s;
}
declare global {
interface PluginDeclaration {
hero: {
getHeroStatusOf: typeof getHeroStatusOf;
getHeroStatusOn: typeof getHeroStatusOn;
};
}
}

View File

@ -516,7 +516,9 @@ function rewrite<O, K extends SelectKey<O, _Func>, T = O>(
/**
*
* ui显示
* ui显示
*
* 使
* @param fn `Mota.Package.requireAll()`
* @param thisArg `this`
*/

View File

@ -6,7 +6,7 @@ import * as replay from './replay';
import * as ui from './ui';
import * as rewrite from './fx/rewrite';
import * as halo from './fx/halo';
import * as hero from './hero';
import * as hero from '../../game/hero';
import * as loopMap from './loopMap';
import * as removeMap from './removeMap';
import * as shop from './shop';