@rpg-engine/shared 0.7.92 → 0.7.93
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.d.ts.map +0 -0
- package/dist/constants/date.constants.js +5 -5
- package/dist/constants/date.constants.js.map +0 -0
- package/dist/constants/npc.constants.d.ts +1 -1
- package/dist/constants/npc.constants.d.ts.map +0 -0
- package/dist/constants/npc.constants.js +4 -4
- package/dist/constants/npc.constants.js.map +0 -0
- package/dist/constants/socket.constants.d.ts +2 -2
- package/dist/constants/socket.constants.d.ts.map +0 -0
- package/dist/constants/socket.constants.js +6 -6
- package/dist/constants/socket.constants.js.map +0 -0
- package/dist/constants/world.constants.d.ts +10 -10
- package/dist/constants/world.constants.d.ts.map +0 -0
- package/dist/constants/world.constants.js +13 -13
- package/dist/constants/world.constants.js.map +0 -0
- 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.d.ts.map +0 -0
- package/dist/helpers/itemSlotHelper.js +27 -27
- package/dist/helpers/itemSlotHelper.js.map +0 -0
- package/dist/helpers/skillHelpers.d.ts +4 -4
- package/dist/helpers/skillHelpers.d.ts.map +0 -0
- package/dist/helpers/skillHelpers.js +25 -25
- package/dist/helpers/skillHelpers.js.map +0 -0
- package/dist/helpers/weightHelper.d.ts +1 -1
- package/dist/helpers/weightHelper.js +14 -14
- package/dist/index.d.ts +53 -53
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +69 -69
- package/dist/index.js.map +0 -0
- package/dist/libs/GridHelper.d.ts +11 -11
- package/dist/libs/GridHelper.d.ts.map +0 -0
- package/dist/libs/GridHelper.js +37 -37
- package/dist/libs/GridHelper.js.map +0 -0
- package/dist/libs/MathHelper.d.ts +16 -16
- package/dist/libs/MathHelper.d.ts.map +0 -0
- package/dist/libs/MathHelper.js +14 -14
- package/dist/libs/MathHelper.js.map +0 -0
- package/dist/libs/SocketHelper.d.ts +2 -2
- package/dist/libs/SocketHelper.d.ts.map +0 -0
- package/dist/libs/SocketHelper.js +14 -14
- package/dist/libs/SocketHelper.js.map +0 -0
- package/dist/libs/TextHelper.d.ts +7 -7
- package/dist/libs/TextHelper.d.ts.map +0 -0
- package/dist/libs/TextHelper.js +21 -21
- package/dist/libs/TextHelper.js.map +0 -0
- package/dist/libs/TypeHelper.d.ts +3 -3
- package/dist/libs/TypeHelper.d.ts.map +0 -0
- package/dist/libs/TypeHelper.js +16 -16
- package/dist/libs/TypeHelper.js.map +0 -0
- 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.d.ts.map +0 -0
- package/dist/translations/onboarding.lang.js +21 -21
- package/dist/translations/onboarding.lang.js.map +0 -0
- 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 +68 -68
- package/dist/types/animation.types.d.ts.map +0 -0
- package/dist/types/animation.types.js +45 -45
- package/dist/types/animation.types.js.map +0 -0
- package/dist/types/api.types.d.ts +21 -21
- package/dist/types/api.types.d.ts.map +0 -0
- package/dist/types/api.types.js +20 -20
- package/dist/types/api.types.js.map +0 -0
- package/dist/types/asset.types.d.ts +6 -6
- package/dist/types/asset.types.d.ts.map +0 -0
- package/dist/types/asset.types.js +2 -2
- package/dist/types/asset.types.js.map +0 -0
- package/dist/types/auth.types.d.ts +7 -7
- package/dist/types/auth.types.d.ts.map +0 -0
- package/dist/types/auth.types.js +2 -2
- package/dist/types/auth.types.js.map +0 -0
- package/dist/types/battle.types.d.ts +41 -41
- package/dist/types/battle.types.d.ts.map +0 -0
- package/dist/types/battle.types.js +18 -18
- package/dist/types/battle.types.js.map +0 -0
- 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.d.ts.map +0 -0
- package/dist/types/character.types.js +53 -53
- package/dist/types/character.types.js.map +0 -0
- package/dist/types/chat.types.d.ts +30 -30
- package/dist/types/chat.types.d.ts.map +0 -0
- package/dist/types/chat.types.js +14 -14
- package/dist/types/chat.types.js.map +0 -0
- 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.d.ts.map +0 -0
- package/dist/types/device.types.js +7 -7
- package/dist/types/device.types.js.map +0 -0
- package/dist/types/displayText.types.d.ts +10 -10
- package/dist/types/displayText.types.js +7 -7
- package/dist/types/entity.types.d.ts +22 -22
- package/dist/types/entity.types.d.ts.map +0 -0
- package/dist/types/entity.types.js +16 -16
- package/dist/types/entity.types.js.map +0 -0
- package/dist/types/env.types.d.ts +5 -5
- package/dist/types/env.types.d.ts.map +0 -0
- package/dist/types/env.types.js +9 -9
- package/dist/types/env.types.js.map +0 -0
- package/dist/types/equipment.types.d.ts +35 -35
- package/dist/types/equipment.types.d.ts.map +0 -0
- package/dist/types/equipment.types.js +18 -18
- package/dist/types/equipment.types.js.map +0 -0
- package/dist/types/googleOAuth.types.d.ts +47 -47
- package/dist/types/googleOAuth.types.d.ts.map +0 -0
- package/dist/types/googleOAuth.types.js +2 -2
- package/dist/types/googleOAuth.types.js.map +0 -0
- package/dist/types/inventory.types.d.ts +7 -7
- package/dist/types/inventory.types.d.ts.map +0 -0
- package/dist/types/inventory.types.js +2 -2
- package/dist/types/inventory.types.js.map +0 -0
- package/dist/types/item.types.d.ts +367 -367
- package/dist/types/item.types.d.ts.map +0 -0
- package/dist/types/item.types.js +155 -155
- package/dist/types/item.types.js.map +0 -0
- package/dist/types/itemContainer.types.d.ts +83 -83
- package/dist/types/itemContainer.types.d.ts.map +0 -0
- package/dist/types/itemContainer.types.js +11 -11
- package/dist/types/itemContainer.types.js.map +0 -0
- 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.d.ts.map +0 -0
- package/dist/types/maps.types.js +81 -81
- package/dist/types/maps.types.js.map +0 -0
- package/dist/types/notification.types.d.ts +14 -14
- package/dist/types/notification.types.d.ts.map +0 -0
- package/dist/types/notification.types.js +2 -2
- package/dist/types/notification.types.js.map +0 -0
- package/dist/types/npc.types.d.ts +152 -152
- package/dist/types/npc.types.d.ts.map +0 -0
- package/dist/types/npc.types.js +48 -48
- package/dist/types/npc.types.js.map +0 -0
- package/dist/types/pagination.types.d.ts +13 -13
- package/dist/types/pagination.types.d.ts.map +0 -0
- package/dist/types/pagination.types.js +2 -2
- package/dist/types/pagination.types.js.map +0 -0
- package/dist/types/places.types.d.ts +16 -16
- package/dist/types/places.types.d.ts.map +0 -0
- package/dist/types/places.types.js +9 -9
- package/dist/types/places.types.js.map +0 -0
- package/dist/types/preloadScene.types.d.ts +4 -4
- package/dist/types/preloadScene.types.d.ts.map +0 -0
- package/dist/types/preloadScene.types.js +7 -7
- package/dist/types/preloadScene.types.js.map +0 -0
- package/dist/types/quest.types.d.ts +74 -74
- package/dist/types/quest.types.d.ts.map +0 -0
- package/dist/types/quest.types.js +21 -21
- package/dist/types/quest.types.js.map +0 -0
- package/dist/types/resource.types.d.ts +5 -5
- package/dist/types/resource.types.d.ts.map +0 -0
- package/dist/types/resource.types.js +2 -2
- package/dist/types/resource.types.js.map +0 -0
- package/dist/types/scene.types.d.ts +8 -8
- package/dist/types/scene.types.d.ts.map +0 -0
- package/dist/types/scene.types.js +8 -8
- package/dist/types/scene.types.js.map +0 -0
- package/dist/types/shortcut.types.d.ts +11 -11
- package/dist/types/shortcut.types.js +9 -9
- package/dist/types/skills.types.d.ts +142 -142
- package/dist/types/skills.types.d.ts.map +0 -0
- package/dist/types/skills.types.js +105 -105
- package/dist/types/skills.types.js.map +0 -0
- package/dist/types/socket.types.d.ts +17 -17
- package/dist/types/socket.types.d.ts.map +0 -0
- package/dist/types/socket.types.js +8 -8
- package/dist/types/socket.types.js.map +0 -0
- package/dist/types/spell.types.d.ts +101 -100
- package/dist/types/spell.types.d.ts.map +1 -1
- package/dist/types/spell.types.js +66 -65
- package/dist/types/spell.types.js.map +1 -1
- package/dist/types/tiled.types.d.ts +119 -119
- package/dist/types/tiled.types.d.ts.map +0 -0
- package/dist/types/tiled.types.js +7 -7
- package/dist/types/tiled.types.js.map +0 -0
- package/dist/types/trade.types.d.ts +65 -65
- package/dist/types/trade.types.d.ts.map +0 -0
- package/dist/types/trade.types.js +15 -15
- package/dist/types/trade.types.js.map +0 -0
- package/dist/types/translation.types.d.ts +5 -5
- package/dist/types/translation.types.d.ts.map +0 -0
- package/dist/types/translation.types.js +8 -8
- package/dist/types/translation.types.js.map +0 -0
- package/dist/types/ui.types.d.ts +8 -8
- package/dist/types/ui.types.d.ts.map +0 -0
- package/dist/types/ui.types.js +7 -7
- package/dist/types/ui.types.js.map +0 -0
- package/dist/types/useWith.types.d.ts +25 -25
- package/dist/types/useWith.types.d.ts.map +0 -0
- package/dist/types/useWith.types.js +9 -9
- package/dist/types/useWith.types.js.map +0 -0
- package/dist/types/user.types.d.ts +101 -101
- package/dist/types/user.types.d.ts.map +0 -0
- package/dist/types/user.types.js +38 -38
- package/dist/types/user.types.js.map +0 -0
- package/dist/types/validation.types.d.ts +9 -9
- package/dist/types/validation.types.d.ts.map +0 -0
- package/dist/types/validation.types.js +2 -2
- package/dist/types/validation.types.js.map +0 -0
- package/dist/types/view.types.d.ts +15 -15
- package/dist/types/view.types.d.ts.map +0 -0
- package/dist/types/view.types.js +7 -7
- package/dist/types/view.types.js.map +0 -0
- package/package.json +43 -43
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMBAT_SKILLS = exports.BASIC_ATTRIBUTES = exports.CHARACTER_ATTRIBUTES = exports.SKILLS_MAP = exports.CharacterAttributes = exports.BasicAttribute = exports.CraftingSkill = exports.CombatSkill = exports.SkillType = exports.SkillEventType = exports.SkillSocketEvents = void 0;
|
|
4
|
-
const entity_types_1 = require("./entity.types");
|
|
5
|
-
const item_types_1 = require("./item.types");
|
|
6
|
-
var SkillSocketEvents;
|
|
7
|
-
(function (SkillSocketEvents) {
|
|
8
|
-
SkillSocketEvents["SkillGain"] = "SkillGain";
|
|
9
|
-
SkillSocketEvents["ReadInfo"] = "ReadInfo";
|
|
10
|
-
})(SkillSocketEvents = exports.SkillSocketEvents || (exports.SkillSocketEvents = {}));
|
|
11
|
-
var SkillEventType;
|
|
12
|
-
(function (SkillEventType) {
|
|
13
|
-
SkillEventType["LevelUp"] = "LevelUp";
|
|
14
|
-
SkillEventType["SkillLevelUp"] = "SkillLevelUp";
|
|
15
|
-
})(SkillEventType = exports.SkillEventType || (exports.SkillEventType = {}));
|
|
16
|
-
var SkillType;
|
|
17
|
-
(function (SkillType) {
|
|
18
|
-
SkillType["BasicAttributes"] = "BasicAttributes";
|
|
19
|
-
SkillType["Combat"] = "Combat";
|
|
20
|
-
SkillType["Crafting"] = "Crafting";
|
|
21
|
-
SkillType["Gathering"] = "Gathering";
|
|
22
|
-
SkillType["Magic"] = "Magic";
|
|
23
|
-
SkillType["Misc"] = "Misc";
|
|
24
|
-
SkillType["Character"] = "Character";
|
|
25
|
-
})(SkillType = exports.SkillType || (exports.SkillType = {}));
|
|
26
|
-
var CombatSkill;
|
|
27
|
-
(function (CombatSkill) {
|
|
28
|
-
CombatSkill["First"] = "first";
|
|
29
|
-
CombatSkill["Sword"] = "sword";
|
|
30
|
-
CombatSkill["Dagger"] = "dagger";
|
|
31
|
-
CombatSkill["Axe"] = "axe";
|
|
32
|
-
CombatSkill["Distance"] = "distance";
|
|
33
|
-
CombatSkill["Shielding"] = "shielding";
|
|
34
|
-
CombatSkill["Club"] = "club";
|
|
35
|
-
})(CombatSkill = exports.CombatSkill || (exports.CombatSkill = {}));
|
|
36
|
-
var CraftingSkill;
|
|
37
|
-
(function (CraftingSkill) {
|
|
38
|
-
CraftingSkill["Fishing"] = "fishing";
|
|
39
|
-
CraftingSkill["Mining"] = "mining";
|
|
40
|
-
CraftingSkill["Lumberjacking"] = "lumberjacking";
|
|
41
|
-
CraftingSkill["Cooking"] = "cooking";
|
|
42
|
-
CraftingSkill["Alchemy"] = "alchemy";
|
|
43
|
-
CraftingSkill["Blacksmithing"] = "blacksmithing";
|
|
44
|
-
})(CraftingSkill = exports.CraftingSkill || (exports.CraftingSkill = {}));
|
|
45
|
-
var BasicAttribute;
|
|
46
|
-
(function (BasicAttribute) {
|
|
47
|
-
BasicAttribute["Strength"] = "strength";
|
|
48
|
-
BasicAttribute["Resistance"] = "resistance";
|
|
49
|
-
BasicAttribute["Dexterity"] = "dexterity";
|
|
50
|
-
BasicAttribute["Magic"] = "magic";
|
|
51
|
-
BasicAttribute["MagicResistance"] = "magicResistance";
|
|
52
|
-
})(BasicAttribute = exports.BasicAttribute || (exports.BasicAttribute = {}));
|
|
53
|
-
var CharacterAttributes;
|
|
54
|
-
(function (CharacterAttributes) {
|
|
55
|
-
CharacterAttributes["Speed"] = "baseSpeed";
|
|
56
|
-
CharacterAttributes["MaxMana"] = "maxMana";
|
|
57
|
-
CharacterAttributes["MaxHealth"] = "maxHealth";
|
|
58
|
-
CharacterAttributes["AttackIntervalSpeed"] = "attackIntervalSpeed";
|
|
59
|
-
CharacterAttributes["Defense"] = "defense";
|
|
60
|
-
})(CharacterAttributes = exports.CharacterAttributes || (exports.CharacterAttributes = {}));
|
|
61
|
-
exports.SKILLS_MAP = new Map([
|
|
62
|
-
[entity_types_1.EntityAttackType.None, CombatSkill.First],
|
|
63
|
-
[item_types_1.ItemSubType.Sword, CombatSkill.Sword],
|
|
64
|
-
[item_types_1.ItemSubType.Dagger, CombatSkill.Dagger],
|
|
65
|
-
[item_types_1.ItemSubType.Axe, CombatSkill.Axe],
|
|
66
|
-
[item_types_1.ItemSubType.Ranged, CombatSkill.Distance],
|
|
67
|
-
[item_types_1.ItemSubType.Spear, CombatSkill.Distance],
|
|
68
|
-
[item_types_1.ItemSubType.Shield, CombatSkill.Shielding],
|
|
69
|
-
[item_types_1.ItemSubType.Mace, CombatSkill.Club],
|
|
70
|
-
[item_types_1.ItemSubType.Magic, BasicAttribute.Magic],
|
|
71
|
-
[item_types_1.ItemSubType.Staff, BasicAttribute.Magic],
|
|
72
|
-
[BasicAttribute.Strength, BasicAttribute.Strength],
|
|
73
|
-
[BasicAttribute.Resistance, BasicAttribute.Resistance],
|
|
74
|
-
[BasicAttribute.Dexterity, BasicAttribute.Dexterity],
|
|
75
|
-
[BasicAttribute.Magic, BasicAttribute.Magic],
|
|
76
|
-
[BasicAttribute.MagicResistance, BasicAttribute.MagicResistance],
|
|
77
|
-
[CraftingSkill.Fishing, CraftingSkill.Fishing],
|
|
78
|
-
[CraftingSkill.Cooking, CraftingSkill.Cooking],
|
|
79
|
-
[CraftingSkill.Alchemy, CraftingSkill.Alchemy],
|
|
80
|
-
[CraftingSkill.Lumberjacking, CraftingSkill.Lumberjacking],
|
|
81
|
-
[CraftingSkill.Mining, CraftingSkill.Mining],
|
|
82
|
-
[CraftingSkill.Blacksmithing, CraftingSkill.Blacksmithing],
|
|
83
|
-
]);
|
|
84
|
-
exports.CHARACTER_ATTRIBUTES = [
|
|
85
|
-
CharacterAttributes.Speed,
|
|
86
|
-
CharacterAttributes.MaxMana,
|
|
87
|
-
CharacterAttributes.MaxHealth,
|
|
88
|
-
CharacterAttributes.AttackIntervalSpeed,
|
|
89
|
-
];
|
|
90
|
-
exports.BASIC_ATTRIBUTES = [
|
|
91
|
-
BasicAttribute.Strength,
|
|
92
|
-
BasicAttribute.Resistance,
|
|
93
|
-
BasicAttribute.Dexterity,
|
|
94
|
-
BasicAttribute.Magic,
|
|
95
|
-
];
|
|
96
|
-
exports.COMBAT_SKILLS = [
|
|
97
|
-
entity_types_1.EntityAttackType.None,
|
|
98
|
-
item_types_1.ItemSubType.Sword,
|
|
99
|
-
item_types_1.ItemSubType.Dagger,
|
|
100
|
-
item_types_1.ItemSubType.Axe,
|
|
101
|
-
item_types_1.ItemSubType.Ranged,
|
|
102
|
-
item_types_1.ItemSubType.Spear,
|
|
103
|
-
item_types_1.ItemSubType.Shield,
|
|
104
|
-
item_types_1.ItemSubType.Mace,
|
|
105
|
-
];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMBAT_SKILLS = exports.BASIC_ATTRIBUTES = exports.CHARACTER_ATTRIBUTES = exports.SKILLS_MAP = exports.CharacterAttributes = exports.BasicAttribute = exports.CraftingSkill = exports.CombatSkill = exports.SkillType = exports.SkillEventType = exports.SkillSocketEvents = void 0;
|
|
4
|
+
const entity_types_1 = require("./entity.types");
|
|
5
|
+
const item_types_1 = require("./item.types");
|
|
6
|
+
var SkillSocketEvents;
|
|
7
|
+
(function (SkillSocketEvents) {
|
|
8
|
+
SkillSocketEvents["SkillGain"] = "SkillGain";
|
|
9
|
+
SkillSocketEvents["ReadInfo"] = "ReadInfo";
|
|
10
|
+
})(SkillSocketEvents = exports.SkillSocketEvents || (exports.SkillSocketEvents = {}));
|
|
11
|
+
var SkillEventType;
|
|
12
|
+
(function (SkillEventType) {
|
|
13
|
+
SkillEventType["LevelUp"] = "LevelUp";
|
|
14
|
+
SkillEventType["SkillLevelUp"] = "SkillLevelUp";
|
|
15
|
+
})(SkillEventType = exports.SkillEventType || (exports.SkillEventType = {}));
|
|
16
|
+
var SkillType;
|
|
17
|
+
(function (SkillType) {
|
|
18
|
+
SkillType["BasicAttributes"] = "BasicAttributes";
|
|
19
|
+
SkillType["Combat"] = "Combat";
|
|
20
|
+
SkillType["Crafting"] = "Crafting";
|
|
21
|
+
SkillType["Gathering"] = "Gathering";
|
|
22
|
+
SkillType["Magic"] = "Magic";
|
|
23
|
+
SkillType["Misc"] = "Misc";
|
|
24
|
+
SkillType["Character"] = "Character";
|
|
25
|
+
})(SkillType = exports.SkillType || (exports.SkillType = {}));
|
|
26
|
+
var CombatSkill;
|
|
27
|
+
(function (CombatSkill) {
|
|
28
|
+
CombatSkill["First"] = "first";
|
|
29
|
+
CombatSkill["Sword"] = "sword";
|
|
30
|
+
CombatSkill["Dagger"] = "dagger";
|
|
31
|
+
CombatSkill["Axe"] = "axe";
|
|
32
|
+
CombatSkill["Distance"] = "distance";
|
|
33
|
+
CombatSkill["Shielding"] = "shielding";
|
|
34
|
+
CombatSkill["Club"] = "club";
|
|
35
|
+
})(CombatSkill = exports.CombatSkill || (exports.CombatSkill = {}));
|
|
36
|
+
var CraftingSkill;
|
|
37
|
+
(function (CraftingSkill) {
|
|
38
|
+
CraftingSkill["Fishing"] = "fishing";
|
|
39
|
+
CraftingSkill["Mining"] = "mining";
|
|
40
|
+
CraftingSkill["Lumberjacking"] = "lumberjacking";
|
|
41
|
+
CraftingSkill["Cooking"] = "cooking";
|
|
42
|
+
CraftingSkill["Alchemy"] = "alchemy";
|
|
43
|
+
CraftingSkill["Blacksmithing"] = "blacksmithing";
|
|
44
|
+
})(CraftingSkill = exports.CraftingSkill || (exports.CraftingSkill = {}));
|
|
45
|
+
var BasicAttribute;
|
|
46
|
+
(function (BasicAttribute) {
|
|
47
|
+
BasicAttribute["Strength"] = "strength";
|
|
48
|
+
BasicAttribute["Resistance"] = "resistance";
|
|
49
|
+
BasicAttribute["Dexterity"] = "dexterity";
|
|
50
|
+
BasicAttribute["Magic"] = "magic";
|
|
51
|
+
BasicAttribute["MagicResistance"] = "magicResistance";
|
|
52
|
+
})(BasicAttribute = exports.BasicAttribute || (exports.BasicAttribute = {}));
|
|
53
|
+
var CharacterAttributes;
|
|
54
|
+
(function (CharacterAttributes) {
|
|
55
|
+
CharacterAttributes["Speed"] = "baseSpeed";
|
|
56
|
+
CharacterAttributes["MaxMana"] = "maxMana";
|
|
57
|
+
CharacterAttributes["MaxHealth"] = "maxHealth";
|
|
58
|
+
CharacterAttributes["AttackIntervalSpeed"] = "attackIntervalSpeed";
|
|
59
|
+
CharacterAttributes["Defense"] = "defense";
|
|
60
|
+
})(CharacterAttributes = exports.CharacterAttributes || (exports.CharacterAttributes = {}));
|
|
61
|
+
exports.SKILLS_MAP = new Map([
|
|
62
|
+
[entity_types_1.EntityAttackType.None, CombatSkill.First],
|
|
63
|
+
[item_types_1.ItemSubType.Sword, CombatSkill.Sword],
|
|
64
|
+
[item_types_1.ItemSubType.Dagger, CombatSkill.Dagger],
|
|
65
|
+
[item_types_1.ItemSubType.Axe, CombatSkill.Axe],
|
|
66
|
+
[item_types_1.ItemSubType.Ranged, CombatSkill.Distance],
|
|
67
|
+
[item_types_1.ItemSubType.Spear, CombatSkill.Distance],
|
|
68
|
+
[item_types_1.ItemSubType.Shield, CombatSkill.Shielding],
|
|
69
|
+
[item_types_1.ItemSubType.Mace, CombatSkill.Club],
|
|
70
|
+
[item_types_1.ItemSubType.Magic, BasicAttribute.Magic],
|
|
71
|
+
[item_types_1.ItemSubType.Staff, BasicAttribute.Magic],
|
|
72
|
+
[BasicAttribute.Strength, BasicAttribute.Strength],
|
|
73
|
+
[BasicAttribute.Resistance, BasicAttribute.Resistance],
|
|
74
|
+
[BasicAttribute.Dexterity, BasicAttribute.Dexterity],
|
|
75
|
+
[BasicAttribute.Magic, BasicAttribute.Magic],
|
|
76
|
+
[BasicAttribute.MagicResistance, BasicAttribute.MagicResistance],
|
|
77
|
+
[CraftingSkill.Fishing, CraftingSkill.Fishing],
|
|
78
|
+
[CraftingSkill.Cooking, CraftingSkill.Cooking],
|
|
79
|
+
[CraftingSkill.Alchemy, CraftingSkill.Alchemy],
|
|
80
|
+
[CraftingSkill.Lumberjacking, CraftingSkill.Lumberjacking],
|
|
81
|
+
[CraftingSkill.Mining, CraftingSkill.Mining],
|
|
82
|
+
[CraftingSkill.Blacksmithing, CraftingSkill.Blacksmithing],
|
|
83
|
+
]);
|
|
84
|
+
exports.CHARACTER_ATTRIBUTES = [
|
|
85
|
+
CharacterAttributes.Speed,
|
|
86
|
+
CharacterAttributes.MaxMana,
|
|
87
|
+
CharacterAttributes.MaxHealth,
|
|
88
|
+
CharacterAttributes.AttackIntervalSpeed,
|
|
89
|
+
];
|
|
90
|
+
exports.BASIC_ATTRIBUTES = [
|
|
91
|
+
BasicAttribute.Strength,
|
|
92
|
+
BasicAttribute.Resistance,
|
|
93
|
+
BasicAttribute.Dexterity,
|
|
94
|
+
BasicAttribute.Magic,
|
|
95
|
+
];
|
|
96
|
+
exports.COMBAT_SKILLS = [
|
|
97
|
+
entity_types_1.EntityAttackType.None,
|
|
98
|
+
item_types_1.ItemSubType.Sword,
|
|
99
|
+
item_types_1.ItemSubType.Dagger,
|
|
100
|
+
item_types_1.ItemSubType.Axe,
|
|
101
|
+
item_types_1.ItemSubType.Ranged,
|
|
102
|
+
item_types_1.ItemSubType.Spear,
|
|
103
|
+
item_types_1.ItemSubType.Shield,
|
|
104
|
+
item_types_1.ItemSubType.Mace,
|
|
105
|
+
];
|
|
106
106
|
//# sourceMappingURL=skills.types.js.map
|
|
File without changes
|
|
@@ -1,18 +1,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
|
-
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
9
|
-
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
10
|
-
disconnect: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface ISocketTransmissionZone {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}
|
|
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
|
+
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
9
|
+
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
10
|
+
disconnect: () => void;
|
|
11
|
+
}
|
|
12
|
+
export interface ISocketTransmissionZone {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=socket.types.d.ts.map
|
|
File without changes
|
|
@@ -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
|
|
File without changes
|
|
@@ -1,101 +1,102 @@
|
|
|
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 ISpellCast {
|
|
19
|
-
magicWords: string;
|
|
20
|
-
targetId?: string;
|
|
21
|
-
targetType?: EntityType;
|
|
22
|
-
}
|
|
23
|
-
export declare enum SpellSocketEvents {
|
|
24
|
-
LearnedSpellsRead = "LearnedSpellsRead",
|
|
25
|
-
CastSpell = "CastSpell",
|
|
26
|
-
IdentifyTarget = "IdentifyTarget",
|
|
27
|
-
SpellDetails = "SpellDetails",
|
|
28
|
-
LearnedSpells = "LearnedSpells",
|
|
29
|
-
SpellCooldownsRead = "SpellCooldownsRead"
|
|
30
|
-
}
|
|
31
|
-
export declare enum SpellsBlueprint {
|
|
32
|
-
SelfHealingSpell = "self-healing-spell",
|
|
33
|
-
FoodCreationSpell = "food-creation-spell",
|
|
34
|
-
ArrowCreationSpell = "arrow-creation-spell",
|
|
35
|
-
BoltCreationSpell = "bolt-creation-spell",
|
|
36
|
-
BlankRuneCreationSpell = "blank-rune-creation-spell",
|
|
37
|
-
SelfHasteSpell = "self-haste-spell",
|
|
38
|
-
FireRuneCreationSpell = "fire-rune-creation-spell",
|
|
39
|
-
HealRuneCreationSpell = "healing-rune-creation-spell",
|
|
40
|
-
PoisonRuneCreationSpell = "poison-rune-creation-spell",
|
|
41
|
-
DarkRuneCreationSpell = "dark-rune-creation-spell",
|
|
42
|
-
GreaterHealingSpell = "greater-healing-spell",
|
|
43
|
-
EnergyBoltRuneCreationSpell = "energy-bolt-rune-creation-spell",
|
|
44
|
-
FireBoltRuneCreationSpell = "fire-bolt-rune-creation-spell",
|
|
45
|
-
FireBoltCreationSpell = "fire-bolt-creation-spell",
|
|
46
|
-
PoisonArrowCreationSpell = "poison-arrow-creation-spell",
|
|
47
|
-
CorruptionRuneCreationSpell = "corruption-rune-creation-spell",
|
|
48
|
-
SpellDivineProtection = "spell-divine-protection",
|
|
49
|
-
SpellPhysicalShield = "spell-physical-shield",
|
|
50
|
-
SpellEagleEyes = "spell-eagle-eyes",
|
|
51
|
-
ThunderRuneCreationSpell = "thunder-rune-creation-spell",
|
|
52
|
-
WarriorStunTarget = "warrior-stun-target",
|
|
53
|
-
RogueStealth = "rogue-stealth-spell",
|
|
54
|
-
BerserkerBloodthirst = "berserker-bloodthirst",
|
|
55
|
-
RogueExecution = "rogue-execution",
|
|
56
|
-
ManaRegenSpell = "auto-mana-regen",
|
|
57
|
-
HealthRegenSell = "auto-health-regen",
|
|
58
|
-
ManaShield = "mana-shield",
|
|
59
|
-
FortifyDefense = "fortify-defense",
|
|
60
|
-
BerserkerExecution = "berserker-execution",
|
|
61
|
-
HunterQuickFire = "hunter-quick-fire",
|
|
62
|
-
BerserkerFrenzy = "berserker-frenzy",
|
|
63
|
-
DruidShapeshift = "druid-shapeshift",
|
|
64
|
-
BerserkerRage = "berserker-rage",
|
|
65
|
-
Focus = "focus",
|
|
66
|
-
PowerStrike = "power-strike",
|
|
67
|
-
CurseOfWeakness = "curse-of-weakness",
|
|
68
|
-
EntanglingRoots = "entangling-roots",
|
|
69
|
-
SpellPolymorph = "spell-polymorph"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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 ISpellCast {
|
|
19
|
+
magicWords: string;
|
|
20
|
+
targetId?: string;
|
|
21
|
+
targetType?: EntityType;
|
|
22
|
+
}
|
|
23
|
+
export declare enum SpellSocketEvents {
|
|
24
|
+
LearnedSpellsRead = "LearnedSpellsRead",
|
|
25
|
+
CastSpell = "CastSpell",
|
|
26
|
+
IdentifyTarget = "IdentifyTarget",
|
|
27
|
+
SpellDetails = "SpellDetails",
|
|
28
|
+
LearnedSpells = "LearnedSpells",
|
|
29
|
+
SpellCooldownsRead = "SpellCooldownsRead"
|
|
30
|
+
}
|
|
31
|
+
export declare enum SpellsBlueprint {
|
|
32
|
+
SelfHealingSpell = "self-healing-spell",
|
|
33
|
+
FoodCreationSpell = "food-creation-spell",
|
|
34
|
+
ArrowCreationSpell = "arrow-creation-spell",
|
|
35
|
+
BoltCreationSpell = "bolt-creation-spell",
|
|
36
|
+
BlankRuneCreationSpell = "blank-rune-creation-spell",
|
|
37
|
+
SelfHasteSpell = "self-haste-spell",
|
|
38
|
+
FireRuneCreationSpell = "fire-rune-creation-spell",
|
|
39
|
+
HealRuneCreationSpell = "healing-rune-creation-spell",
|
|
40
|
+
PoisonRuneCreationSpell = "poison-rune-creation-spell",
|
|
41
|
+
DarkRuneCreationSpell = "dark-rune-creation-spell",
|
|
42
|
+
GreaterHealingSpell = "greater-healing-spell",
|
|
43
|
+
EnergyBoltRuneCreationSpell = "energy-bolt-rune-creation-spell",
|
|
44
|
+
FireBoltRuneCreationSpell = "fire-bolt-rune-creation-spell",
|
|
45
|
+
FireBoltCreationSpell = "fire-bolt-creation-spell",
|
|
46
|
+
PoisonArrowCreationSpell = "poison-arrow-creation-spell",
|
|
47
|
+
CorruptionRuneCreationSpell = "corruption-rune-creation-spell",
|
|
48
|
+
SpellDivineProtection = "spell-divine-protection",
|
|
49
|
+
SpellPhysicalShield = "spell-physical-shield",
|
|
50
|
+
SpellEagleEyes = "spell-eagle-eyes",
|
|
51
|
+
ThunderRuneCreationSpell = "thunder-rune-creation-spell",
|
|
52
|
+
WarriorStunTarget = "warrior-stun-target",
|
|
53
|
+
RogueStealth = "rogue-stealth-spell",
|
|
54
|
+
BerserkerBloodthirst = "berserker-bloodthirst",
|
|
55
|
+
RogueExecution = "rogue-execution",
|
|
56
|
+
ManaRegenSpell = "auto-mana-regen",
|
|
57
|
+
HealthRegenSell = "auto-health-regen",
|
|
58
|
+
ManaShield = "mana-shield",
|
|
59
|
+
FortifyDefense = "fortify-defense",
|
|
60
|
+
BerserkerExecution = "berserker-execution",
|
|
61
|
+
HunterQuickFire = "hunter-quick-fire",
|
|
62
|
+
BerserkerFrenzy = "berserker-frenzy",
|
|
63
|
+
DruidShapeshift = "druid-shapeshift",
|
|
64
|
+
BerserkerRage = "berserker-rage",
|
|
65
|
+
Focus = "focus",
|
|
66
|
+
PowerStrike = "power-strike",
|
|
67
|
+
CurseOfWeakness = "curse-of-weakness",
|
|
68
|
+
EntanglingRoots = "entangling-roots",
|
|
69
|
+
SpellPolymorph = "spell-polymorph",
|
|
70
|
+
PickPocket = "pick-pocket"
|
|
71
|
+
}
|
|
72
|
+
export declare enum MagicsBlueprint {
|
|
73
|
+
Rune = "rune",
|
|
74
|
+
DarkRune = "dark-rune",
|
|
75
|
+
FireRune = "fire-rune",
|
|
76
|
+
HealRune = "heal-rune",
|
|
77
|
+
PoisonRune = "poison-rune",
|
|
78
|
+
ThunderRune = "thunder-rune",
|
|
79
|
+
EnergyBoltRune = "energy-bolt-rune",
|
|
80
|
+
FireBoltRune = "fire-bolt-rune",
|
|
81
|
+
CorruptionRune = "corruption-rune"
|
|
82
|
+
}
|
|
83
|
+
export interface ISpell {
|
|
84
|
+
key: SpellsBlueprint;
|
|
85
|
+
name: string;
|
|
86
|
+
description: string;
|
|
87
|
+
castingType: SpellCastingType;
|
|
88
|
+
magicWords: string;
|
|
89
|
+
manaCost: number;
|
|
90
|
+
castingAnimationKey: string;
|
|
91
|
+
targetHitAnimationKey: string;
|
|
92
|
+
projectileAnimationKey: string;
|
|
93
|
+
minLevelRequired: number;
|
|
94
|
+
minMagicLevelRequired: number;
|
|
95
|
+
cooldown: number;
|
|
96
|
+
requiredItem?: MagicsBlueprint;
|
|
97
|
+
characterClass?: CharacterClass[];
|
|
98
|
+
attribute?: BasicAttribute | CombatSkill | CraftingSkill | CharacterAttributes;
|
|
99
|
+
maxDistanceGrid?: number;
|
|
100
|
+
usableEffect: (character: any, target?: any) => Promise<boolean> | Promise<void> | void | boolean;
|
|
101
|
+
}
|
|
101
102
|
//# sourceMappingURL=spell.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spell.types.d.ts","sourceRoot":"","sources":["../../src/types/spell.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,E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AAc,oBAAoB;CACnC;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,eAAe,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,cAAc,GAAG,WAAW,GAAG,aAAa,GAAG,mBAAmB,CAAC;IAC/E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,CAAC,SAAS,KAAA,EAAE,MAAM,CAAC,KAAA,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,OAAO,CAAC;CACzF"}
|
|
@@ -1,66 +1,67 @@
|
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
MagicsBlueprint["
|
|
58
|
-
MagicsBlueprint["
|
|
59
|
-
MagicsBlueprint["
|
|
60
|
-
MagicsBlueprint["
|
|
61
|
-
MagicsBlueprint["
|
|
62
|
-
MagicsBlueprint["
|
|
63
|
-
MagicsBlueprint["
|
|
64
|
-
MagicsBlueprint["
|
|
65
|
-
|
|
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 = exports.SpellsBlueprint || (exports.SpellsBlueprint = {}));
|
|
55
|
+
var MagicsBlueprint;
|
|
56
|
+
(function (MagicsBlueprint) {
|
|
57
|
+
MagicsBlueprint["Rune"] = "rune";
|
|
58
|
+
MagicsBlueprint["DarkRune"] = "dark-rune";
|
|
59
|
+
MagicsBlueprint["FireRune"] = "fire-rune";
|
|
60
|
+
MagicsBlueprint["HealRune"] = "heal-rune";
|
|
61
|
+
MagicsBlueprint["PoisonRune"] = "poison-rune";
|
|
62
|
+
MagicsBlueprint["ThunderRune"] = "thunder-rune";
|
|
63
|
+
MagicsBlueprint["EnergyBoltRune"] = "energy-bolt-rune";
|
|
64
|
+
MagicsBlueprint["FireBoltRune"] = "fire-bolt-rune";
|
|
65
|
+
MagicsBlueprint["CorruptionRune"] = "corruption-rune";
|
|
66
|
+
})(MagicsBlueprint = exports.MagicsBlueprint || (exports.MagicsBlueprint = {}));
|
|
66
67
|
//# sourceMappingURL=spell.types.js.map
|