mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-04 19:04:32 +08:00
refactor: 脚本编辑部分内容
This commit is contained in:
1 parent
43937c9a54
commit
9adcb5543f
14 files changed
+127
-145
No files matched your search
Vendored
-5
@@ -86,11 +86,6 @@ interface Actions extends VoidedActionFuncs {
|
||||
*/
|
||||
readonly _HY_: number;
|
||||
|
||||
/**
|
||||
* 脚本编辑中的交互函数
|
||||
*/
|
||||
readonly actionsdata: ActionData;
|
||||
|
||||
/**
|
||||
* 所有已注册的交互操作
|
||||
*/
|
||||
|
||||
Vendored
-6
@@ -698,12 +698,6 @@ interface Control {
|
||||
*/
|
||||
getNakedStatus(name?: keyof NumbericHeroStatus): number;
|
||||
|
||||
/**
|
||||
* 获得某个状态的中文名
|
||||
* @param name 要获取的属性名
|
||||
*/
|
||||
getStatusLabel(name: string): string;
|
||||
|
||||
/**
|
||||
* 设置主角某个属性的百分比修正倍率,初始值为1,
|
||||
* 倍率存放在flag: `__${name}_${buff}__` 中
|
||||
|
||||
Vendored
-6
@@ -20,12 +20,6 @@ interface ControlData {
|
||||
*/
|
||||
loadData(data: Save, callback?: () => void): void;
|
||||
|
||||
/**
|
||||
* 获取一个属性对应的中文名
|
||||
* @param name 要获取的状态名称
|
||||
*/
|
||||
getStatusLabel(name: string): string;
|
||||
|
||||
/**
|
||||
* 立即仅更新状态栏
|
||||
*/
|
||||
|
||||
Vendored
+1
-1
@@ -215,7 +215,7 @@ interface ResolvedFloor<T extends FloorIds = FloorIds> extends FloorBase<T> {
|
||||
/**
|
||||
* 获得道具后事件
|
||||
*/
|
||||
afterGetItem: Record<LocString, MotaEvent>;
|
||||
afterGetItem: Record<LocString, MotaAction>;
|
||||
|
||||
/**
|
||||
* 开门后事件
|
||||
|
||||
Reference in new issue
Block a user