refactor: 脚本编辑部分内容

This commit is contained in:
AncTe committed 2023-12-01 21:47:43 +08:00
1 parent 43937c9a54
commit 9adcb5543f
14 files changed
+127 -145

No files matched your search

-5
View File
@@ -86,11 +86,6 @@ interface Actions extends VoidedActionFuncs {
*/
readonly _HY_: number;
/**
* 脚本编辑中的交互函数
*/
readonly actionsdata: ActionData;
/**
* 所有已注册的交互操作
*/
-6
View File
@@ -698,12 +698,6 @@ interface Control {
*/
getNakedStatus(name?: keyof NumbericHeroStatus): number;
/**
* 获得某个状态的中文名
* @param name 要获取的属性名
*/
getStatusLabel(name: string): string;
/**
* 设置主角某个属性的百分比修正倍率,初始值为1,
* 倍率存放在flag: `__${name}_${buff}__` 中
-6
View File
@@ -20,12 +20,6 @@ interface ControlData {
*/
loadData(data: Save, callback?: () => void): void;
/**
* 获取一个属性对应的中文名
* @param name 要获取的状态名称
*/
getStatusLabel(name: string): string;
/**
* 立即仅更新状态栏
*/
+1 -1
View File
@@ -215,7 +215,7 @@ interface ResolvedFloor<T extends FloorIds = FloorIds> extends FloorBase<T> {
/**
* 获得道具后事件
*/
afterGetItem: Record<LocString, MotaEvent>;
afterGetItem: Record<LocString, MotaAction>;
/**
* 开门后事件