@rpg-engine/shared 0.8.12 → 0.8.13
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/README.md +29 -29
- package/dist/constants/date.constants.d.ts +2 -2
- package/dist/constants/date.constants.js +5 -5
- package/dist/constants/npc.constants.d.ts +1 -1
- package/dist/constants/npc.constants.js +4 -4
- package/dist/constants/socket.constants.d.ts +2 -2
- package/dist/constants/socket.constants.js +6 -6
- package/dist/constants/world.constants.d.ts +10 -10
- package/dist/constants/world.constants.js +13 -13
- package/dist/helpers/deviceHelpers.d.ts +2 -2
- package/dist/helpers/deviceHelpers.js +16 -16
- package/dist/helpers/itemSlotHelper.d.ts +7 -7
- package/dist/helpers/itemSlotHelper.js +27 -27
- package/dist/helpers/skillHelpers.d.ts +4 -4
- package/dist/helpers/skillHelpers.js +25 -25
- package/dist/helpers/weightHelper.d.ts +1 -1
- package/dist/helpers/weightHelper.js +14 -14
- package/dist/index.d.ts +54 -53
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70 -69
- package/dist/index.js.map +1 -1
- package/dist/libs/GridHelper.d.ts +11 -11
- package/dist/libs/GridHelper.js +37 -37
- package/dist/libs/MathHelper.d.ts +16 -16
- package/dist/libs/MathHelper.js +14 -14
- package/dist/libs/SocketHelper.d.ts +2 -2
- package/dist/libs/SocketHelper.js +14 -14
- package/dist/libs/TextHelper.d.ts +7 -7
- package/dist/libs/TextHelper.js +21 -21
- package/dist/libs/TypeHelper.d.ts +3 -3
- package/dist/libs/TypeHelper.js +16 -16
- package/dist/translations/app-rate.lang.json +38 -38
- package/dist/translations/assets.lang.json +82 -82
- package/dist/translations/auth.lang.json +182 -182
- package/dist/translations/email.lang.json +70 -70
- package/dist/translations/error.lang.json +18 -18
- package/dist/translations/form.lang.json +94 -94
- package/dist/translations/global.lang.json +90 -90
- package/dist/translations/logs.lang.json +6 -6
- package/dist/translations/onboarding.lang.d.ts +10 -10
- package/dist/translations/onboarding.lang.js +21 -21
- package/dist/translations/onboarding.lang.json +50 -50
- package/dist/translations/order.lang.json +90 -90
- package/dist/translations/search.lang.json +50 -50
- package/dist/translations/settings.lang.json +14 -14
- package/dist/translations/tabs.lang.json +22 -22
- package/dist/translations/users.lang.json +22 -22
- package/dist/translations/validation.lang.json +86 -86
- package/dist/types/animation.types.d.ts +69 -69
- package/dist/types/animation.types.js +46 -46
- package/dist/types/api.types.d.ts +21 -21
- package/dist/types/api.types.js +20 -20
- package/dist/types/asset.types.d.ts +6 -6
- package/dist/types/asset.types.js +2 -2
- package/dist/types/auth.types.d.ts +7 -7
- package/dist/types/auth.types.js +2 -2
- package/dist/types/battle.types.d.ts +41 -41
- package/dist/types/battle.types.js +18 -18
- package/dist/types/buff.types.d.ts +37 -37
- package/dist/types/buff.types.js +13 -13
- package/dist/types/character.types.d.ts +206 -206
- package/dist/types/character.types.js +53 -53
- package/dist/types/chat.types.d.ts +30 -30
- package/dist/types/chat.types.js +14 -14
- package/dist/types/depot.types.d.ts +18 -18
- package/dist/types/depot.types.js +9 -9
- package/dist/types/device.types.d.ts +24 -24
- package/dist/types/device.types.js +7 -7
- package/dist/types/displayText.types.d.ts +10 -10
- package/dist/types/displayText.types.js +7 -7
- package/dist/types/entity.types.d.ts +30 -30
- package/dist/types/entity.types.js +20 -20
- package/dist/types/env.types.d.ts +5 -5
- package/dist/types/env.types.js +9 -9
- package/dist/types/equipment.types.d.ts +35 -35
- package/dist/types/equipment.types.js +18 -18
- package/dist/types/googleOAuth.types.d.ts +47 -47
- package/dist/types/googleOAuth.types.js +2 -2
- package/dist/types/inventory.types.d.ts +7 -7
- package/dist/types/inventory.types.js +2 -2
- package/dist/types/item.types.d.ts +366 -366
- package/dist/types/item.types.js +154 -154
- package/dist/types/itemContainer.types.d.ts +83 -83
- package/dist/types/itemContainer.types.js +11 -11
- package/dist/types/macro.types.d.ts +8 -8
- package/dist/types/macro.types.js +12 -12
- package/dist/types/maps.types.d.ts +82 -82
- package/dist/types/maps.types.js +81 -81
- package/dist/types/marketplace.types.d.ts +58 -0
- package/dist/types/marketplace.types.d.ts.map +1 -0
- package/dist/types/marketplace.types.js +15 -0
- package/dist/types/marketplace.types.js.map +1 -0
- package/dist/types/notification.types.d.ts +14 -14
- package/dist/types/notification.types.js +2 -2
- package/dist/types/npc.types.d.ts +152 -152
- package/dist/types/npc.types.js +48 -48
- package/dist/types/pagination.types.d.ts +13 -13
- package/dist/types/pagination.types.js +2 -2
- package/dist/types/places.types.d.ts +16 -16
- package/dist/types/places.types.js +9 -9
- package/dist/types/preloadScene.types.d.ts +4 -4
- package/dist/types/preloadScene.types.js +7 -7
- package/dist/types/quest.types.d.ts +74 -74
- package/dist/types/quest.types.js +21 -21
- package/dist/types/resource.types.d.ts +5 -5
- package/dist/types/resource.types.js +2 -2
- package/dist/types/scene.types.d.ts +8 -8
- package/dist/types/scene.types.js +8 -8
- package/dist/types/shortcut.types.d.ts +11 -11
- package/dist/types/shortcut.types.js +9 -9
- package/dist/types/skills.types.d.ts +144 -144
- package/dist/types/skills.types.js +106 -106
- package/dist/types/socket.types.d.ts +18 -18
- package/dist/types/socket.types.js +8 -8
- package/dist/types/spell.types.d.ts +116 -116
- package/dist/types/spell.types.js +76 -76
- package/dist/types/tiled.types.d.ts +119 -119
- package/dist/types/tiled.types.js +7 -7
- package/dist/types/trade.types.d.ts +65 -65
- package/dist/types/trade.types.js +15 -15
- package/dist/types/translation.types.d.ts +5 -5
- package/dist/types/translation.types.js +8 -8
- package/dist/types/ui.types.d.ts +8 -8
- package/dist/types/ui.types.js +7 -7
- package/dist/types/useWith.types.d.ts +25 -25
- package/dist/types/useWith.types.js +9 -9
- package/dist/types/user.types.d.ts +101 -101
- package/dist/types/user.types.js +38 -38
- package/dist/types/validation.types.d.ts +9 -9
- package/dist/types/validation.types.js +2 -2
- package/dist/types/view.types.d.ts +15 -15
- package/dist/types/view.types.js +7 -7
- package/package.json +43 -43
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare enum SocketTypes {
|
|
2
|
-
TCP = "TCP",
|
|
3
|
-
UDP = "UDP"
|
|
4
|
-
}
|
|
5
|
-
export interface ISocket {
|
|
6
|
-
init: (socketType?: SocketTypes) => Promise<void> | void;
|
|
7
|
-
onConnect?: (callback: any) => void;
|
|
8
|
-
onDisconnect?: (callback: any) => void;
|
|
9
|
-
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
10
|
-
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
11
|
-
disconnect: () => void;
|
|
12
|
-
}
|
|
13
|
-
export interface ISocketTransmissionZone {
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
}
|
|
1
|
+
export declare enum SocketTypes {
|
|
2
|
+
TCP = "TCP",
|
|
3
|
+
UDP = "UDP"
|
|
4
|
+
}
|
|
5
|
+
export interface ISocket {
|
|
6
|
+
init: (socketType?: SocketTypes) => Promise<void> | void;
|
|
7
|
+
onConnect?: (callback: any) => void;
|
|
8
|
+
onDisconnect?: (callback: any) => void;
|
|
9
|
+
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
10
|
+
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
11
|
+
disconnect: () => void;
|
|
12
|
+
}
|
|
13
|
+
export interface ISocketTransmissionZone {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
}
|
|
19
19
|
//# sourceMappingURL=socket.types.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SocketTypes = void 0;
|
|
4
|
-
var SocketTypes;
|
|
5
|
-
(function (SocketTypes) {
|
|
6
|
-
SocketTypes["TCP"] = "TCP";
|
|
7
|
-
SocketTypes["UDP"] = "UDP";
|
|
8
|
-
})(SocketTypes = exports.SocketTypes || (exports.SocketTypes = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SocketTypes = void 0;
|
|
4
|
+
var SocketTypes;
|
|
5
|
+
(function (SocketTypes) {
|
|
6
|
+
SocketTypes["TCP"] = "TCP";
|
|
7
|
+
SocketTypes["UDP"] = "UDP";
|
|
8
|
+
})(SocketTypes = exports.SocketTypes || (exports.SocketTypes = {}));
|
|
9
9
|
//# sourceMappingURL=socket.types.js.map
|
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
import { CharacterClass } from "./character.types";
|
|
2
|
-
import { EntityType } from "./entity.types";
|
|
3
|
-
import { SpellCastingType } from "./item.types";
|
|
4
|
-
import { BasicAttribute, CharacterAttributes, CombatSkill, CraftingSkill } from "./skills.types";
|
|
5
|
-
export interface IRawSpell {
|
|
6
|
-
key: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
magicWords: string;
|
|
10
|
-
manaCost: number;
|
|
11
|
-
minMagicLevelRequired: number;
|
|
12
|
-
requiredItem?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ISpellRead {
|
|
15
|
-
magicLevel: number;
|
|
16
|
-
spells: IRawSpell[];
|
|
17
|
-
}
|
|
18
|
-
export interface ILearnedSpellsRead {
|
|
19
|
-
magicLevel: number;
|
|
20
|
-
learnedSpells: ISpell[];
|
|
21
|
-
}
|
|
22
|
-
export interface ISpellCast {
|
|
23
|
-
magicWords: string;
|
|
24
|
-
targetId?: string;
|
|
25
|
-
targetType?: EntityType;
|
|
26
|
-
}
|
|
27
|
-
export declare enum SpellSocketEvents {
|
|
28
|
-
LearnedSpellsRead = "LearnedSpellsRead",
|
|
29
|
-
CastSpell = "CastSpell",
|
|
30
|
-
IdentifyTarget = "IdentifyTarget",
|
|
31
|
-
SpellDetails = "SpellDetails",
|
|
32
|
-
LearnedSpells = "LearnedSpells",
|
|
33
|
-
SpellCooldownsRead = "SpellCooldownsRead"
|
|
34
|
-
}
|
|
35
|
-
export declare enum SpellsBlueprint {
|
|
36
|
-
SelfHealingSpell = "self-healing-spell",
|
|
37
|
-
FoodCreationSpell = "food-creation-spell",
|
|
38
|
-
ArrowCreationSpell = "arrow-creation-spell",
|
|
39
|
-
BoltCreationSpell = "bolt-creation-spell",
|
|
40
|
-
BlankRuneCreationSpell = "blank-rune-creation-spell",
|
|
41
|
-
SelfHasteSpell = "self-haste-spell",
|
|
42
|
-
FireRuneCreationSpell = "fire-rune-creation-spell",
|
|
43
|
-
HealRuneCreationSpell = "healing-rune-creation-spell",
|
|
44
|
-
PoisonRuneCreationSpell = "poison-rune-creation-spell",
|
|
45
|
-
DarkRuneCreationSpell = "dark-rune-creation-spell",
|
|
46
|
-
GreaterHealingSpell = "greater-healing-spell",
|
|
47
|
-
EnergyBoltRuneCreationSpell = "energy-bolt-rune-creation-spell",
|
|
48
|
-
FireBoltRuneCreationSpell = "fire-bolt-rune-creation-spell",
|
|
49
|
-
FireBoltCreationSpell = "fire-bolt-creation-spell",
|
|
50
|
-
PoisonArrowCreationSpell = "poison-arrow-creation-spell",
|
|
51
|
-
CorruptionRuneCreationSpell = "corruption-rune-creation-spell",
|
|
52
|
-
SpellDivineProtection = "spell-divine-protection",
|
|
53
|
-
SpellPhysicalShield = "spell-physical-shield",
|
|
54
|
-
SpellEagleEyes = "spell-eagle-eyes",
|
|
55
|
-
ThunderRuneCreationSpell = "thunder-rune-creation-spell",
|
|
56
|
-
WarriorStunTarget = "warrior-stun-target",
|
|
57
|
-
RogueStealth = "rogue-stealth-spell",
|
|
58
|
-
BerserkerBloodthirst = "berserker-bloodthirst",
|
|
59
|
-
RogueExecution = "rogue-execution",
|
|
60
|
-
ManaRegenSpell = "auto-mana-regen",
|
|
61
|
-
HealthRegenSell = "auto-health-regen",
|
|
62
|
-
ManaShield = "mana-shield",
|
|
63
|
-
FortifyDefense = "fortify-defense",
|
|
64
|
-
BerserkerExecution = "berserker-execution",
|
|
65
|
-
HunterQuickFire = "hunter-quick-fire",
|
|
66
|
-
BerserkerFrenzy = "berserker-frenzy",
|
|
67
|
-
DruidShapeshift = "druid-shapeshift",
|
|
68
|
-
BerserkerRage = "berserker-rage",
|
|
69
|
-
Focus = "focus",
|
|
70
|
-
PowerStrike = "power-strike",
|
|
71
|
-
CurseOfWeakness = "curse-of-weakness",
|
|
72
|
-
EntanglingRoots = "entangling-roots",
|
|
73
|
-
SpellPolymorph = "spell-polymorph",
|
|
74
|
-
PickPocket = "pick-pocket",
|
|
75
|
-
DruidSilence = "druid-silence",
|
|
76
|
-
ManaDrain = "mana-drain",
|
|
77
|
-
FrostArrowCreation = "frost-arrow-creation",
|
|
78
|
-
CrimsonArrowCreation = "crimson-arrow-creation",
|
|
79
|
-
EmeraldArrowCreation = "emerald-arrow-creation",
|
|
80
|
-
FireBolt = "fire-bolt",
|
|
81
|
-
FrostBolt = "frost-bolt",
|
|
82
|
-
CorruptionBolt = "corruption-bolt",
|
|
83
|
-
VineGrasp = "vine-grasp",
|
|
84
|
-
MagicShuriken = "magic-shuriken"
|
|
85
|
-
}
|
|
86
|
-
export declare enum MagicsBlueprint {
|
|
87
|
-
Rune = "rune",
|
|
88
|
-
DarkRune = "dark-rune",
|
|
89
|
-
FireRune = "fire-rune",
|
|
90
|
-
HealRune = "heal-rune",
|
|
91
|
-
PoisonRune = "poison-rune",
|
|
92
|
-
ThunderRune = "thunder-rune",
|
|
93
|
-
EnergyBoltRune = "energy-bolt-rune",
|
|
94
|
-
FireBoltRune = "fire-bolt-rune",
|
|
95
|
-
CorruptionRune = "corruption-rune"
|
|
96
|
-
}
|
|
97
|
-
export interface ISpell {
|
|
98
|
-
key: SpellsBlueprint;
|
|
99
|
-
name: string;
|
|
100
|
-
description: string;
|
|
101
|
-
castingType: SpellCastingType;
|
|
102
|
-
magicWords: string;
|
|
103
|
-
manaCost: number;
|
|
104
|
-
castingAnimationKey: string;
|
|
105
|
-
targetHitAnimationKey: string;
|
|
106
|
-
projectileAnimationKey: string;
|
|
107
|
-
minLevelRequired: number;
|
|
108
|
-
minMagicLevelRequired: number;
|
|
109
|
-
cooldown: number;
|
|
110
|
-
requiredItem?: MagicsBlueprint;
|
|
111
|
-
characterClass?: CharacterClass[];
|
|
112
|
-
attribute?: BasicAttribute | CombatSkill | CraftingSkill | CharacterAttributes;
|
|
113
|
-
maxDistanceGrid?: number;
|
|
114
|
-
usableEffect: (character: any, target?: any) => Promise<boolean> | Promise<void> | void | boolean;
|
|
115
|
-
canSelfTarget?: boolean;
|
|
116
|
-
}
|
|
1
|
+
import { CharacterClass } from "./character.types";
|
|
2
|
+
import { EntityType } from "./entity.types";
|
|
3
|
+
import { SpellCastingType } from "./item.types";
|
|
4
|
+
import { BasicAttribute, CharacterAttributes, CombatSkill, CraftingSkill } from "./skills.types";
|
|
5
|
+
export interface IRawSpell {
|
|
6
|
+
key: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
magicWords: string;
|
|
10
|
+
manaCost: number;
|
|
11
|
+
minMagicLevelRequired: number;
|
|
12
|
+
requiredItem?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ISpellRead {
|
|
15
|
+
magicLevel: number;
|
|
16
|
+
spells: IRawSpell[];
|
|
17
|
+
}
|
|
18
|
+
export interface ILearnedSpellsRead {
|
|
19
|
+
magicLevel: number;
|
|
20
|
+
learnedSpells: ISpell[];
|
|
21
|
+
}
|
|
22
|
+
export interface ISpellCast {
|
|
23
|
+
magicWords: string;
|
|
24
|
+
targetId?: string;
|
|
25
|
+
targetType?: EntityType;
|
|
26
|
+
}
|
|
27
|
+
export declare enum SpellSocketEvents {
|
|
28
|
+
LearnedSpellsRead = "LearnedSpellsRead",
|
|
29
|
+
CastSpell = "CastSpell",
|
|
30
|
+
IdentifyTarget = "IdentifyTarget",
|
|
31
|
+
SpellDetails = "SpellDetails",
|
|
32
|
+
LearnedSpells = "LearnedSpells",
|
|
33
|
+
SpellCooldownsRead = "SpellCooldownsRead"
|
|
34
|
+
}
|
|
35
|
+
export declare enum SpellsBlueprint {
|
|
36
|
+
SelfHealingSpell = "self-healing-spell",
|
|
37
|
+
FoodCreationSpell = "food-creation-spell",
|
|
38
|
+
ArrowCreationSpell = "arrow-creation-spell",
|
|
39
|
+
BoltCreationSpell = "bolt-creation-spell",
|
|
40
|
+
BlankRuneCreationSpell = "blank-rune-creation-spell",
|
|
41
|
+
SelfHasteSpell = "self-haste-spell",
|
|
42
|
+
FireRuneCreationSpell = "fire-rune-creation-spell",
|
|
43
|
+
HealRuneCreationSpell = "healing-rune-creation-spell",
|
|
44
|
+
PoisonRuneCreationSpell = "poison-rune-creation-spell",
|
|
45
|
+
DarkRuneCreationSpell = "dark-rune-creation-spell",
|
|
46
|
+
GreaterHealingSpell = "greater-healing-spell",
|
|
47
|
+
EnergyBoltRuneCreationSpell = "energy-bolt-rune-creation-spell",
|
|
48
|
+
FireBoltRuneCreationSpell = "fire-bolt-rune-creation-spell",
|
|
49
|
+
FireBoltCreationSpell = "fire-bolt-creation-spell",
|
|
50
|
+
PoisonArrowCreationSpell = "poison-arrow-creation-spell",
|
|
51
|
+
CorruptionRuneCreationSpell = "corruption-rune-creation-spell",
|
|
52
|
+
SpellDivineProtection = "spell-divine-protection",
|
|
53
|
+
SpellPhysicalShield = "spell-physical-shield",
|
|
54
|
+
SpellEagleEyes = "spell-eagle-eyes",
|
|
55
|
+
ThunderRuneCreationSpell = "thunder-rune-creation-spell",
|
|
56
|
+
WarriorStunTarget = "warrior-stun-target",
|
|
57
|
+
RogueStealth = "rogue-stealth-spell",
|
|
58
|
+
BerserkerBloodthirst = "berserker-bloodthirst",
|
|
59
|
+
RogueExecution = "rogue-execution",
|
|
60
|
+
ManaRegenSpell = "auto-mana-regen",
|
|
61
|
+
HealthRegenSell = "auto-health-regen",
|
|
62
|
+
ManaShield = "mana-shield",
|
|
63
|
+
FortifyDefense = "fortify-defense",
|
|
64
|
+
BerserkerExecution = "berserker-execution",
|
|
65
|
+
HunterQuickFire = "hunter-quick-fire",
|
|
66
|
+
BerserkerFrenzy = "berserker-frenzy",
|
|
67
|
+
DruidShapeshift = "druid-shapeshift",
|
|
68
|
+
BerserkerRage = "berserker-rage",
|
|
69
|
+
Focus = "focus",
|
|
70
|
+
PowerStrike = "power-strike",
|
|
71
|
+
CurseOfWeakness = "curse-of-weakness",
|
|
72
|
+
EntanglingRoots = "entangling-roots",
|
|
73
|
+
SpellPolymorph = "spell-polymorph",
|
|
74
|
+
PickPocket = "pick-pocket",
|
|
75
|
+
DruidSilence = "druid-silence",
|
|
76
|
+
ManaDrain = "mana-drain",
|
|
77
|
+
FrostArrowCreation = "frost-arrow-creation",
|
|
78
|
+
CrimsonArrowCreation = "crimson-arrow-creation",
|
|
79
|
+
EmeraldArrowCreation = "emerald-arrow-creation",
|
|
80
|
+
FireBolt = "fire-bolt",
|
|
81
|
+
FrostBolt = "frost-bolt",
|
|
82
|
+
CorruptionBolt = "corruption-bolt",
|
|
83
|
+
VineGrasp = "vine-grasp",
|
|
84
|
+
MagicShuriken = "magic-shuriken"
|
|
85
|
+
}
|
|
86
|
+
export declare enum MagicsBlueprint {
|
|
87
|
+
Rune = "rune",
|
|
88
|
+
DarkRune = "dark-rune",
|
|
89
|
+
FireRune = "fire-rune",
|
|
90
|
+
HealRune = "heal-rune",
|
|
91
|
+
PoisonRune = "poison-rune",
|
|
92
|
+
ThunderRune = "thunder-rune",
|
|
93
|
+
EnergyBoltRune = "energy-bolt-rune",
|
|
94
|
+
FireBoltRune = "fire-bolt-rune",
|
|
95
|
+
CorruptionRune = "corruption-rune"
|
|
96
|
+
}
|
|
97
|
+
export interface ISpell {
|
|
98
|
+
key: SpellsBlueprint;
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
101
|
+
castingType: SpellCastingType;
|
|
102
|
+
magicWords: string;
|
|
103
|
+
manaCost: number;
|
|
104
|
+
castingAnimationKey: string;
|
|
105
|
+
targetHitAnimationKey: string;
|
|
106
|
+
projectileAnimationKey: string;
|
|
107
|
+
minLevelRequired: number;
|
|
108
|
+
minMagicLevelRequired: number;
|
|
109
|
+
cooldown: number;
|
|
110
|
+
requiredItem?: MagicsBlueprint;
|
|
111
|
+
characterClass?: CharacterClass[];
|
|
112
|
+
attribute?: BasicAttribute | CombatSkill | CraftingSkill | CharacterAttributes;
|
|
113
|
+
maxDistanceGrid?: number;
|
|
114
|
+
usableEffect: (character: any, target?: any) => Promise<boolean> | Promise<void> | void | boolean;
|
|
115
|
+
canSelfTarget?: boolean;
|
|
116
|
+
}
|
|
117
117
|
//# sourceMappingURL=spell.types.d.ts.map
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MagicsBlueprint = exports.SpellsBlueprint = exports.SpellSocketEvents = void 0;
|
|
4
|
-
var SpellSocketEvents;
|
|
5
|
-
(function (SpellSocketEvents) {
|
|
6
|
-
SpellSocketEvents["LearnedSpellsRead"] = "LearnedSpellsRead";
|
|
7
|
-
SpellSocketEvents["CastSpell"] = "CastSpell";
|
|
8
|
-
SpellSocketEvents["IdentifyTarget"] = "IdentifyTarget";
|
|
9
|
-
SpellSocketEvents["SpellDetails"] = "SpellDetails";
|
|
10
|
-
SpellSocketEvents["LearnedSpells"] = "LearnedSpells";
|
|
11
|
-
SpellSocketEvents["SpellCooldownsRead"] = "SpellCooldownsRead";
|
|
12
|
-
})(SpellSocketEvents = exports.SpellSocketEvents || (exports.SpellSocketEvents = {}));
|
|
13
|
-
var SpellsBlueprint;
|
|
14
|
-
(function (SpellsBlueprint) {
|
|
15
|
-
SpellsBlueprint["SelfHealingSpell"] = "self-healing-spell";
|
|
16
|
-
SpellsBlueprint["FoodCreationSpell"] = "food-creation-spell";
|
|
17
|
-
SpellsBlueprint["ArrowCreationSpell"] = "arrow-creation-spell";
|
|
18
|
-
SpellsBlueprint["BoltCreationSpell"] = "bolt-creation-spell";
|
|
19
|
-
SpellsBlueprint["BlankRuneCreationSpell"] = "blank-rune-creation-spell";
|
|
20
|
-
SpellsBlueprint["SelfHasteSpell"] = "self-haste-spell";
|
|
21
|
-
SpellsBlueprint["FireRuneCreationSpell"] = "fire-rune-creation-spell";
|
|
22
|
-
SpellsBlueprint["HealRuneCreationSpell"] = "healing-rune-creation-spell";
|
|
23
|
-
SpellsBlueprint["PoisonRuneCreationSpell"] = "poison-rune-creation-spell";
|
|
24
|
-
SpellsBlueprint["DarkRuneCreationSpell"] = "dark-rune-creation-spell";
|
|
25
|
-
SpellsBlueprint["GreaterHealingSpell"] = "greater-healing-spell";
|
|
26
|
-
SpellsBlueprint["EnergyBoltRuneCreationSpell"] = "energy-bolt-rune-creation-spell";
|
|
27
|
-
SpellsBlueprint["FireBoltRuneCreationSpell"] = "fire-bolt-rune-creation-spell";
|
|
28
|
-
SpellsBlueprint["FireBoltCreationSpell"] = "fire-bolt-creation-spell";
|
|
29
|
-
SpellsBlueprint["PoisonArrowCreationSpell"] = "poison-arrow-creation-spell";
|
|
30
|
-
SpellsBlueprint["CorruptionRuneCreationSpell"] = "corruption-rune-creation-spell";
|
|
31
|
-
SpellsBlueprint["SpellDivineProtection"] = "spell-divine-protection";
|
|
32
|
-
SpellsBlueprint["SpellPhysicalShield"] = "spell-physical-shield";
|
|
33
|
-
SpellsBlueprint["SpellEagleEyes"] = "spell-eagle-eyes";
|
|
34
|
-
SpellsBlueprint["ThunderRuneCreationSpell"] = "thunder-rune-creation-spell";
|
|
35
|
-
SpellsBlueprint["WarriorStunTarget"] = "warrior-stun-target";
|
|
36
|
-
SpellsBlueprint["RogueStealth"] = "rogue-stealth-spell";
|
|
37
|
-
SpellsBlueprint["BerserkerBloodthirst"] = "berserker-bloodthirst";
|
|
38
|
-
SpellsBlueprint["RogueExecution"] = "rogue-execution";
|
|
39
|
-
SpellsBlueprint["ManaRegenSpell"] = "auto-mana-regen";
|
|
40
|
-
SpellsBlueprint["HealthRegenSell"] = "auto-health-regen";
|
|
41
|
-
SpellsBlueprint["ManaShield"] = "mana-shield";
|
|
42
|
-
SpellsBlueprint["FortifyDefense"] = "fortify-defense";
|
|
43
|
-
SpellsBlueprint["BerserkerExecution"] = "berserker-execution";
|
|
44
|
-
SpellsBlueprint["HunterQuickFire"] = "hunter-quick-fire";
|
|
45
|
-
SpellsBlueprint["BerserkerFrenzy"] = "berserker-frenzy";
|
|
46
|
-
SpellsBlueprint["DruidShapeshift"] = "druid-shapeshift";
|
|
47
|
-
SpellsBlueprint["BerserkerRage"] = "berserker-rage";
|
|
48
|
-
SpellsBlueprint["Focus"] = "focus";
|
|
49
|
-
SpellsBlueprint["PowerStrike"] = "power-strike";
|
|
50
|
-
SpellsBlueprint["CurseOfWeakness"] = "curse-of-weakness";
|
|
51
|
-
SpellsBlueprint["EntanglingRoots"] = "entangling-roots";
|
|
52
|
-
SpellsBlueprint["SpellPolymorph"] = "spell-polymorph";
|
|
53
|
-
SpellsBlueprint["PickPocket"] = "pick-pocket";
|
|
54
|
-
SpellsBlueprint["DruidSilence"] = "druid-silence";
|
|
55
|
-
SpellsBlueprint["ManaDrain"] = "mana-drain";
|
|
56
|
-
SpellsBlueprint["FrostArrowCreation"] = "frost-arrow-creation";
|
|
57
|
-
SpellsBlueprint["CrimsonArrowCreation"] = "crimson-arrow-creation";
|
|
58
|
-
SpellsBlueprint["EmeraldArrowCreation"] = "emerald-arrow-creation";
|
|
59
|
-
SpellsBlueprint["FireBolt"] = "fire-bolt";
|
|
60
|
-
SpellsBlueprint["FrostBolt"] = "frost-bolt";
|
|
61
|
-
SpellsBlueprint["CorruptionBolt"] = "corruption-bolt";
|
|
62
|
-
SpellsBlueprint["VineGrasp"] = "vine-grasp";
|
|
63
|
-
SpellsBlueprint["MagicShuriken"] = "magic-shuriken";
|
|
64
|
-
})(SpellsBlueprint = exports.SpellsBlueprint || (exports.SpellsBlueprint = {}));
|
|
65
|
-
var MagicsBlueprint;
|
|
66
|
-
(function (MagicsBlueprint) {
|
|
67
|
-
MagicsBlueprint["Rune"] = "rune";
|
|
68
|
-
MagicsBlueprint["DarkRune"] = "dark-rune";
|
|
69
|
-
MagicsBlueprint["FireRune"] = "fire-rune";
|
|
70
|
-
MagicsBlueprint["HealRune"] = "heal-rune";
|
|
71
|
-
MagicsBlueprint["PoisonRune"] = "poison-rune";
|
|
72
|
-
MagicsBlueprint["ThunderRune"] = "thunder-rune";
|
|
73
|
-
MagicsBlueprint["EnergyBoltRune"] = "energy-bolt-rune";
|
|
74
|
-
MagicsBlueprint["FireBoltRune"] = "fire-bolt-rune";
|
|
75
|
-
MagicsBlueprint["CorruptionRune"] = "corruption-rune";
|
|
76
|
-
})(MagicsBlueprint = exports.MagicsBlueprint || (exports.MagicsBlueprint = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MagicsBlueprint = exports.SpellsBlueprint = exports.SpellSocketEvents = void 0;
|
|
4
|
+
var SpellSocketEvents;
|
|
5
|
+
(function (SpellSocketEvents) {
|
|
6
|
+
SpellSocketEvents["LearnedSpellsRead"] = "LearnedSpellsRead";
|
|
7
|
+
SpellSocketEvents["CastSpell"] = "CastSpell";
|
|
8
|
+
SpellSocketEvents["IdentifyTarget"] = "IdentifyTarget";
|
|
9
|
+
SpellSocketEvents["SpellDetails"] = "SpellDetails";
|
|
10
|
+
SpellSocketEvents["LearnedSpells"] = "LearnedSpells";
|
|
11
|
+
SpellSocketEvents["SpellCooldownsRead"] = "SpellCooldownsRead";
|
|
12
|
+
})(SpellSocketEvents = exports.SpellSocketEvents || (exports.SpellSocketEvents = {}));
|
|
13
|
+
var SpellsBlueprint;
|
|
14
|
+
(function (SpellsBlueprint) {
|
|
15
|
+
SpellsBlueprint["SelfHealingSpell"] = "self-healing-spell";
|
|
16
|
+
SpellsBlueprint["FoodCreationSpell"] = "food-creation-spell";
|
|
17
|
+
SpellsBlueprint["ArrowCreationSpell"] = "arrow-creation-spell";
|
|
18
|
+
SpellsBlueprint["BoltCreationSpell"] = "bolt-creation-spell";
|
|
19
|
+
SpellsBlueprint["BlankRuneCreationSpell"] = "blank-rune-creation-spell";
|
|
20
|
+
SpellsBlueprint["SelfHasteSpell"] = "self-haste-spell";
|
|
21
|
+
SpellsBlueprint["FireRuneCreationSpell"] = "fire-rune-creation-spell";
|
|
22
|
+
SpellsBlueprint["HealRuneCreationSpell"] = "healing-rune-creation-spell";
|
|
23
|
+
SpellsBlueprint["PoisonRuneCreationSpell"] = "poison-rune-creation-spell";
|
|
24
|
+
SpellsBlueprint["DarkRuneCreationSpell"] = "dark-rune-creation-spell";
|
|
25
|
+
SpellsBlueprint["GreaterHealingSpell"] = "greater-healing-spell";
|
|
26
|
+
SpellsBlueprint["EnergyBoltRuneCreationSpell"] = "energy-bolt-rune-creation-spell";
|
|
27
|
+
SpellsBlueprint["FireBoltRuneCreationSpell"] = "fire-bolt-rune-creation-spell";
|
|
28
|
+
SpellsBlueprint["FireBoltCreationSpell"] = "fire-bolt-creation-spell";
|
|
29
|
+
SpellsBlueprint["PoisonArrowCreationSpell"] = "poison-arrow-creation-spell";
|
|
30
|
+
SpellsBlueprint["CorruptionRuneCreationSpell"] = "corruption-rune-creation-spell";
|
|
31
|
+
SpellsBlueprint["SpellDivineProtection"] = "spell-divine-protection";
|
|
32
|
+
SpellsBlueprint["SpellPhysicalShield"] = "spell-physical-shield";
|
|
33
|
+
SpellsBlueprint["SpellEagleEyes"] = "spell-eagle-eyes";
|
|
34
|
+
SpellsBlueprint["ThunderRuneCreationSpell"] = "thunder-rune-creation-spell";
|
|
35
|
+
SpellsBlueprint["WarriorStunTarget"] = "warrior-stun-target";
|
|
36
|
+
SpellsBlueprint["RogueStealth"] = "rogue-stealth-spell";
|
|
37
|
+
SpellsBlueprint["BerserkerBloodthirst"] = "berserker-bloodthirst";
|
|
38
|
+
SpellsBlueprint["RogueExecution"] = "rogue-execution";
|
|
39
|
+
SpellsBlueprint["ManaRegenSpell"] = "auto-mana-regen";
|
|
40
|
+
SpellsBlueprint["HealthRegenSell"] = "auto-health-regen";
|
|
41
|
+
SpellsBlueprint["ManaShield"] = "mana-shield";
|
|
42
|
+
SpellsBlueprint["FortifyDefense"] = "fortify-defense";
|
|
43
|
+
SpellsBlueprint["BerserkerExecution"] = "berserker-execution";
|
|
44
|
+
SpellsBlueprint["HunterQuickFire"] = "hunter-quick-fire";
|
|
45
|
+
SpellsBlueprint["BerserkerFrenzy"] = "berserker-frenzy";
|
|
46
|
+
SpellsBlueprint["DruidShapeshift"] = "druid-shapeshift";
|
|
47
|
+
SpellsBlueprint["BerserkerRage"] = "berserker-rage";
|
|
48
|
+
SpellsBlueprint["Focus"] = "focus";
|
|
49
|
+
SpellsBlueprint["PowerStrike"] = "power-strike";
|
|
50
|
+
SpellsBlueprint["CurseOfWeakness"] = "curse-of-weakness";
|
|
51
|
+
SpellsBlueprint["EntanglingRoots"] = "entangling-roots";
|
|
52
|
+
SpellsBlueprint["SpellPolymorph"] = "spell-polymorph";
|
|
53
|
+
SpellsBlueprint["PickPocket"] = "pick-pocket";
|
|
54
|
+
SpellsBlueprint["DruidSilence"] = "druid-silence";
|
|
55
|
+
SpellsBlueprint["ManaDrain"] = "mana-drain";
|
|
56
|
+
SpellsBlueprint["FrostArrowCreation"] = "frost-arrow-creation";
|
|
57
|
+
SpellsBlueprint["CrimsonArrowCreation"] = "crimson-arrow-creation";
|
|
58
|
+
SpellsBlueprint["EmeraldArrowCreation"] = "emerald-arrow-creation";
|
|
59
|
+
SpellsBlueprint["FireBolt"] = "fire-bolt";
|
|
60
|
+
SpellsBlueprint["FrostBolt"] = "frost-bolt";
|
|
61
|
+
SpellsBlueprint["CorruptionBolt"] = "corruption-bolt";
|
|
62
|
+
SpellsBlueprint["VineGrasp"] = "vine-grasp";
|
|
63
|
+
SpellsBlueprint["MagicShuriken"] = "magic-shuriken";
|
|
64
|
+
})(SpellsBlueprint = exports.SpellsBlueprint || (exports.SpellsBlueprint = {}));
|
|
65
|
+
var MagicsBlueprint;
|
|
66
|
+
(function (MagicsBlueprint) {
|
|
67
|
+
MagicsBlueprint["Rune"] = "rune";
|
|
68
|
+
MagicsBlueprint["DarkRune"] = "dark-rune";
|
|
69
|
+
MagicsBlueprint["FireRune"] = "fire-rune";
|
|
70
|
+
MagicsBlueprint["HealRune"] = "heal-rune";
|
|
71
|
+
MagicsBlueprint["PoisonRune"] = "poison-rune";
|
|
72
|
+
MagicsBlueprint["ThunderRune"] = "thunder-rune";
|
|
73
|
+
MagicsBlueprint["EnergyBoltRune"] = "energy-bolt-rune";
|
|
74
|
+
MagicsBlueprint["FireBoltRune"] = "fire-bolt-rune";
|
|
75
|
+
MagicsBlueprint["CorruptionRune"] = "corruption-rune";
|
|
76
|
+
})(MagicsBlueprint = exports.MagicsBlueprint || (exports.MagicsBlueprint = {}));
|
|
77
77
|
//# sourceMappingURL=spell.types.js.map
|