omniarena-nurvus-shared 0.47.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/battle.d.ts +2 -0
- package/dist/custom-characters.d.ts +36 -0
- package/dist/engine.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/battle.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export type SkillUseDto = {
|
|
|
125
125
|
};
|
|
126
126
|
export type GameSkill = {
|
|
127
127
|
id: number;
|
|
128
|
+
alterable: boolean;
|
|
128
129
|
valence: ValenceType;
|
|
129
130
|
nature: NatureType;
|
|
130
131
|
persistence: PersistenceType;
|
|
@@ -134,6 +135,7 @@ export type GameSkill = {
|
|
|
134
135
|
baseDescription: string;
|
|
135
136
|
baseDuration: number;
|
|
136
137
|
baseTags: Tag[];
|
|
138
|
+
relatedTags: Tag[];
|
|
137
139
|
};
|
|
138
140
|
export type GameCharacter = {
|
|
139
141
|
id: number;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Resource } from './engine.js';
|
|
2
|
+
export type CustomCharacterSkillData = {
|
|
3
|
+
name: string;
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
description: string;
|
|
6
|
+
cooldown: number;
|
|
7
|
+
cost: Resource[];
|
|
8
|
+
classes: string;
|
|
9
|
+
};
|
|
10
|
+
export type CustomCharacterData = {
|
|
11
|
+
name: string;
|
|
12
|
+
bio: string;
|
|
13
|
+
avatarUrl: string;
|
|
14
|
+
skills: CustomCharacterSkillData[];
|
|
15
|
+
};
|
|
16
|
+
export type UpdateCustomCharacterData = CustomCharacterData & {
|
|
17
|
+
version: number;
|
|
18
|
+
};
|
|
19
|
+
export type CustomCharacterDto = CustomCharacterData & {
|
|
20
|
+
id: string;
|
|
21
|
+
creatorId: string;
|
|
22
|
+
createdAt: Date;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
version: number;
|
|
25
|
+
};
|
|
26
|
+
export type CustomCharacterSummaryDto = {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
avatarUrl: string;
|
|
30
|
+
skillCount: number;
|
|
31
|
+
updatedAt: Date;
|
|
32
|
+
};
|
|
33
|
+
export type CustomCharacterListDto = {
|
|
34
|
+
characters: CustomCharacterSummaryDto[];
|
|
35
|
+
nextCursor: string | null;
|
|
36
|
+
};
|
package/dist/engine.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type DamageType = 'regular' | 'piercing' | 'true';
|
|
|
8
8
|
export type Energy = 'energy1' | 'energy2' | 'energy3' | 'energy4';
|
|
9
9
|
export type Resource = Energy | 'random';
|
|
10
10
|
export type EffectType = 'damage' | 'stealHealth' | 'healthSetting' | 'execution' | 'heal' | 'destructibleDefense' | 'damageReduction' | 'gainResource' | 'drainResource' | 'stealResource' | 'energyPoolRestricting' | 'energyExchangeRateModifying' | 'skillSwap' | 'delayed' | 'transform' | 'immortality' | 'deathCheating' | 'interval' | 'ignore' | 'invulnerability' | 'stun' | 'removal' | 'dealtDamageModifying' | 'receivedDamageModifying' | 'costModifying' | 'costReplacing' | 'costOverwriting' | 'durationModifying' | 'currentDurationModifying' | 'cooldownModifying' | 'currentCooldownModifying' | 'destructibleDefenseModifying' | 'damageReductionModifying' | 'counter' | 'parry' | 'reflection' | 'nullification' | 'reveal' | 'conceal' | 'targetingModifying' | 'adder' | 'conditionalEnder' | 'ender' | 'modifying' | 'effectModifying' | 'skillModifying' | 'characterModifying' | 'storage' | 'jumble' | 'shell' | 'label' | 'tracing';
|
|
11
|
-
export type Miscellaneous = 'ignoreInvulnerability' | 'mainTarget' | 'improving' | 'impairing' | 'passive';
|
|
11
|
+
export type Miscellaneous = 'ignoreInvulnerability' | 'mainTarget' | 'improving' | 'impairing' | 'passive' | 'invisible';
|
|
12
12
|
export type Tag = ValenceType | NatureType | PersistenceType | DamageType | Resource | EffectType | Miscellaneous;
|
|
13
13
|
export type SkillUnmountReason = 'death' | 'replace' | 'temporary';
|
|
14
14
|
export type SkillPassthroughType = 'apply' | 'check';
|
package/dist/index.d.ts
CHANGED