mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-20 07:15:02 +08:00
第二章二区准备
This commit is contained in:
1 parent
98123bede8
commit
b84b1e6137
57 files changed
+1502
-155
No files matched your search
Vendored
+10
-8
@@ -77,8 +77,8 @@ type Enemy<I extends EnemyIds = EnemyIds> = {
|
||||
*/
|
||||
type EnemySpecialDeclaration = [
|
||||
id: number,
|
||||
name: string | ((enemy: Enemy) => string),
|
||||
desc: string | ((enemy: Enemy) => string),
|
||||
name: string | ((enemy: EnemySpecialBase) => string),
|
||||
desc: string | ((enemy: EnemySpecialBase) => string),
|
||||
color: Color,
|
||||
extra?: number
|
||||
];
|
||||
@@ -95,7 +95,14 @@ interface DamageString {
|
||||
color: Color;
|
||||
}
|
||||
|
||||
interface EnemyInfoBase {
|
||||
interface EnemySpecialBase {
|
||||
/**
|
||||
* 怪物特殊属性
|
||||
*/
|
||||
special: number[];
|
||||
}
|
||||
|
||||
interface EnemyInfoBase extends EnemySpecialBase {
|
||||
/**
|
||||
* 生命值
|
||||
*/
|
||||
@@ -125,11 +132,6 @@ interface EnemyInfoBase {
|
||||
* 加点量
|
||||
*/
|
||||
point: number;
|
||||
|
||||
/**
|
||||
* 特殊属性列表
|
||||
*/
|
||||
special: number[];
|
||||
}
|
||||
|
||||
interface EnemyInfo extends EnemyInfoBase {
|
||||
|
||||
Vendored
+3
@@ -175,6 +175,9 @@ interface PluginUis {
|
||||
/** 是否展示标记的怪物 */
|
||||
readonly showMarkedEnemy: Ref<boolean>;
|
||||
|
||||
/** 是否展示已学习的技能 */
|
||||
readonly showStudiedSkill: Ref<boolean>;
|
||||
|
||||
/** ui栈 */
|
||||
readonly uiStack: Ref<Component[]>;
|
||||
|
||||
|
||||
Vendored
+5
@@ -53,6 +53,11 @@ interface CheckBlockStatus {
|
||||
* 缓存信息,是每个怪物受到的光环加成
|
||||
*/
|
||||
cache: Record<string, DeepReadonly<EnemyBuffCache>>;
|
||||
|
||||
/**
|
||||
* 光环信息
|
||||
*/
|
||||
halo: Record<LocString, string[]>;
|
||||
}
|
||||
|
||||
interface DamageStatus {
|
||||
|
||||
Reference in new issue
Block a user