@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.
Files changed (223) hide show
  1. package/README.md +29 -29
  2. package/dist/constants/date.constants.d.ts +2 -2
  3. package/dist/constants/date.constants.d.ts.map +0 -0
  4. package/dist/constants/date.constants.js +5 -5
  5. package/dist/constants/date.constants.js.map +0 -0
  6. package/dist/constants/npc.constants.d.ts +1 -1
  7. package/dist/constants/npc.constants.d.ts.map +0 -0
  8. package/dist/constants/npc.constants.js +4 -4
  9. package/dist/constants/npc.constants.js.map +0 -0
  10. package/dist/constants/socket.constants.d.ts +2 -2
  11. package/dist/constants/socket.constants.d.ts.map +0 -0
  12. package/dist/constants/socket.constants.js +6 -6
  13. package/dist/constants/socket.constants.js.map +0 -0
  14. package/dist/constants/world.constants.d.ts +10 -10
  15. package/dist/constants/world.constants.d.ts.map +0 -0
  16. package/dist/constants/world.constants.js +13 -13
  17. package/dist/constants/world.constants.js.map +0 -0
  18. package/dist/helpers/deviceHelpers.d.ts +2 -2
  19. package/dist/helpers/deviceHelpers.js +16 -16
  20. package/dist/helpers/itemSlotHelper.d.ts +7 -7
  21. package/dist/helpers/itemSlotHelper.d.ts.map +0 -0
  22. package/dist/helpers/itemSlotHelper.js +27 -27
  23. package/dist/helpers/itemSlotHelper.js.map +0 -0
  24. package/dist/helpers/skillHelpers.d.ts +4 -4
  25. package/dist/helpers/skillHelpers.d.ts.map +0 -0
  26. package/dist/helpers/skillHelpers.js +25 -25
  27. package/dist/helpers/skillHelpers.js.map +0 -0
  28. package/dist/helpers/weightHelper.d.ts +1 -1
  29. package/dist/helpers/weightHelper.js +14 -14
  30. package/dist/index.d.ts +53 -53
  31. package/dist/index.d.ts.map +0 -0
  32. package/dist/index.js +69 -69
  33. package/dist/index.js.map +0 -0
  34. package/dist/libs/GridHelper.d.ts +11 -11
  35. package/dist/libs/GridHelper.d.ts.map +0 -0
  36. package/dist/libs/GridHelper.js +37 -37
  37. package/dist/libs/GridHelper.js.map +0 -0
  38. package/dist/libs/MathHelper.d.ts +16 -16
  39. package/dist/libs/MathHelper.d.ts.map +0 -0
  40. package/dist/libs/MathHelper.js +14 -14
  41. package/dist/libs/MathHelper.js.map +0 -0
  42. package/dist/libs/SocketHelper.d.ts +2 -2
  43. package/dist/libs/SocketHelper.d.ts.map +0 -0
  44. package/dist/libs/SocketHelper.js +14 -14
  45. package/dist/libs/SocketHelper.js.map +0 -0
  46. package/dist/libs/TextHelper.d.ts +7 -7
  47. package/dist/libs/TextHelper.d.ts.map +0 -0
  48. package/dist/libs/TextHelper.js +21 -21
  49. package/dist/libs/TextHelper.js.map +0 -0
  50. package/dist/libs/TypeHelper.d.ts +3 -3
  51. package/dist/libs/TypeHelper.d.ts.map +0 -0
  52. package/dist/libs/TypeHelper.js +16 -16
  53. package/dist/libs/TypeHelper.js.map +0 -0
  54. package/dist/translations/app-rate.lang.json +38 -38
  55. package/dist/translations/assets.lang.json +82 -82
  56. package/dist/translations/auth.lang.json +182 -182
  57. package/dist/translations/email.lang.json +70 -70
  58. package/dist/translations/error.lang.json +18 -18
  59. package/dist/translations/form.lang.json +94 -94
  60. package/dist/translations/global.lang.json +90 -90
  61. package/dist/translations/logs.lang.json +6 -6
  62. package/dist/translations/onboarding.lang.d.ts +10 -10
  63. package/dist/translations/onboarding.lang.d.ts.map +0 -0
  64. package/dist/translations/onboarding.lang.js +21 -21
  65. package/dist/translations/onboarding.lang.js.map +0 -0
  66. package/dist/translations/onboarding.lang.json +50 -50
  67. package/dist/translations/order.lang.json +90 -90
  68. package/dist/translations/search.lang.json +50 -50
  69. package/dist/translations/settings.lang.json +14 -14
  70. package/dist/translations/tabs.lang.json +22 -22
  71. package/dist/translations/users.lang.json +22 -22
  72. package/dist/translations/validation.lang.json +86 -86
  73. package/dist/types/animation.types.d.ts +68 -68
  74. package/dist/types/animation.types.d.ts.map +0 -0
  75. package/dist/types/animation.types.js +45 -45
  76. package/dist/types/animation.types.js.map +0 -0
  77. package/dist/types/api.types.d.ts +21 -21
  78. package/dist/types/api.types.d.ts.map +0 -0
  79. package/dist/types/api.types.js +20 -20
  80. package/dist/types/api.types.js.map +0 -0
  81. package/dist/types/asset.types.d.ts +6 -6
  82. package/dist/types/asset.types.d.ts.map +0 -0
  83. package/dist/types/asset.types.js +2 -2
  84. package/dist/types/asset.types.js.map +0 -0
  85. package/dist/types/auth.types.d.ts +7 -7
  86. package/dist/types/auth.types.d.ts.map +0 -0
  87. package/dist/types/auth.types.js +2 -2
  88. package/dist/types/auth.types.js.map +0 -0
  89. package/dist/types/battle.types.d.ts +41 -41
  90. package/dist/types/battle.types.d.ts.map +0 -0
  91. package/dist/types/battle.types.js +18 -18
  92. package/dist/types/battle.types.js.map +0 -0
  93. package/dist/types/buff.types.d.ts +37 -37
  94. package/dist/types/buff.types.js +13 -13
  95. package/dist/types/character.types.d.ts +206 -206
  96. package/dist/types/character.types.d.ts.map +0 -0
  97. package/dist/types/character.types.js +53 -53
  98. package/dist/types/character.types.js.map +0 -0
  99. package/dist/types/chat.types.d.ts +30 -30
  100. package/dist/types/chat.types.d.ts.map +0 -0
  101. package/dist/types/chat.types.js +14 -14
  102. package/dist/types/chat.types.js.map +0 -0
  103. package/dist/types/depot.types.d.ts +18 -18
  104. package/dist/types/depot.types.js +9 -9
  105. package/dist/types/device.types.d.ts +24 -24
  106. package/dist/types/device.types.d.ts.map +0 -0
  107. package/dist/types/device.types.js +7 -7
  108. package/dist/types/device.types.js.map +0 -0
  109. package/dist/types/displayText.types.d.ts +10 -10
  110. package/dist/types/displayText.types.js +7 -7
  111. package/dist/types/entity.types.d.ts +22 -22
  112. package/dist/types/entity.types.d.ts.map +0 -0
  113. package/dist/types/entity.types.js +16 -16
  114. package/dist/types/entity.types.js.map +0 -0
  115. package/dist/types/env.types.d.ts +5 -5
  116. package/dist/types/env.types.d.ts.map +0 -0
  117. package/dist/types/env.types.js +9 -9
  118. package/dist/types/env.types.js.map +0 -0
  119. package/dist/types/equipment.types.d.ts +35 -35
  120. package/dist/types/equipment.types.d.ts.map +0 -0
  121. package/dist/types/equipment.types.js +18 -18
  122. package/dist/types/equipment.types.js.map +0 -0
  123. package/dist/types/googleOAuth.types.d.ts +47 -47
  124. package/dist/types/googleOAuth.types.d.ts.map +0 -0
  125. package/dist/types/googleOAuth.types.js +2 -2
  126. package/dist/types/googleOAuth.types.js.map +0 -0
  127. package/dist/types/inventory.types.d.ts +7 -7
  128. package/dist/types/inventory.types.d.ts.map +0 -0
  129. package/dist/types/inventory.types.js +2 -2
  130. package/dist/types/inventory.types.js.map +0 -0
  131. package/dist/types/item.types.d.ts +367 -367
  132. package/dist/types/item.types.d.ts.map +0 -0
  133. package/dist/types/item.types.js +155 -155
  134. package/dist/types/item.types.js.map +0 -0
  135. package/dist/types/itemContainer.types.d.ts +83 -83
  136. package/dist/types/itemContainer.types.d.ts.map +0 -0
  137. package/dist/types/itemContainer.types.js +11 -11
  138. package/dist/types/itemContainer.types.js.map +0 -0
  139. package/dist/types/macro.types.d.ts +8 -8
  140. package/dist/types/macro.types.js +12 -12
  141. package/dist/types/maps.types.d.ts +82 -82
  142. package/dist/types/maps.types.d.ts.map +0 -0
  143. package/dist/types/maps.types.js +81 -81
  144. package/dist/types/maps.types.js.map +0 -0
  145. package/dist/types/notification.types.d.ts +14 -14
  146. package/dist/types/notification.types.d.ts.map +0 -0
  147. package/dist/types/notification.types.js +2 -2
  148. package/dist/types/notification.types.js.map +0 -0
  149. package/dist/types/npc.types.d.ts +152 -152
  150. package/dist/types/npc.types.d.ts.map +0 -0
  151. package/dist/types/npc.types.js +48 -48
  152. package/dist/types/npc.types.js.map +0 -0
  153. package/dist/types/pagination.types.d.ts +13 -13
  154. package/dist/types/pagination.types.d.ts.map +0 -0
  155. package/dist/types/pagination.types.js +2 -2
  156. package/dist/types/pagination.types.js.map +0 -0
  157. package/dist/types/places.types.d.ts +16 -16
  158. package/dist/types/places.types.d.ts.map +0 -0
  159. package/dist/types/places.types.js +9 -9
  160. package/dist/types/places.types.js.map +0 -0
  161. package/dist/types/preloadScene.types.d.ts +4 -4
  162. package/dist/types/preloadScene.types.d.ts.map +0 -0
  163. package/dist/types/preloadScene.types.js +7 -7
  164. package/dist/types/preloadScene.types.js.map +0 -0
  165. package/dist/types/quest.types.d.ts +74 -74
  166. package/dist/types/quest.types.d.ts.map +0 -0
  167. package/dist/types/quest.types.js +21 -21
  168. package/dist/types/quest.types.js.map +0 -0
  169. package/dist/types/resource.types.d.ts +5 -5
  170. package/dist/types/resource.types.d.ts.map +0 -0
  171. package/dist/types/resource.types.js +2 -2
  172. package/dist/types/resource.types.js.map +0 -0
  173. package/dist/types/scene.types.d.ts +8 -8
  174. package/dist/types/scene.types.d.ts.map +0 -0
  175. package/dist/types/scene.types.js +8 -8
  176. package/dist/types/scene.types.js.map +0 -0
  177. package/dist/types/shortcut.types.d.ts +11 -11
  178. package/dist/types/shortcut.types.js +9 -9
  179. package/dist/types/skills.types.d.ts +142 -142
  180. package/dist/types/skills.types.d.ts.map +0 -0
  181. package/dist/types/skills.types.js +105 -105
  182. package/dist/types/skills.types.js.map +0 -0
  183. package/dist/types/socket.types.d.ts +17 -17
  184. package/dist/types/socket.types.d.ts.map +0 -0
  185. package/dist/types/socket.types.js +8 -8
  186. package/dist/types/socket.types.js.map +0 -0
  187. package/dist/types/spell.types.d.ts +101 -100
  188. package/dist/types/spell.types.d.ts.map +1 -1
  189. package/dist/types/spell.types.js +66 -65
  190. package/dist/types/spell.types.js.map +1 -1
  191. package/dist/types/tiled.types.d.ts +119 -119
  192. package/dist/types/tiled.types.d.ts.map +0 -0
  193. package/dist/types/tiled.types.js +7 -7
  194. package/dist/types/tiled.types.js.map +0 -0
  195. package/dist/types/trade.types.d.ts +65 -65
  196. package/dist/types/trade.types.d.ts.map +0 -0
  197. package/dist/types/trade.types.js +15 -15
  198. package/dist/types/trade.types.js.map +0 -0
  199. package/dist/types/translation.types.d.ts +5 -5
  200. package/dist/types/translation.types.d.ts.map +0 -0
  201. package/dist/types/translation.types.js +8 -8
  202. package/dist/types/translation.types.js.map +0 -0
  203. package/dist/types/ui.types.d.ts +8 -8
  204. package/dist/types/ui.types.d.ts.map +0 -0
  205. package/dist/types/ui.types.js +7 -7
  206. package/dist/types/ui.types.js.map +0 -0
  207. package/dist/types/useWith.types.d.ts +25 -25
  208. package/dist/types/useWith.types.d.ts.map +0 -0
  209. package/dist/types/useWith.types.js +9 -9
  210. package/dist/types/useWith.types.js.map +0 -0
  211. package/dist/types/user.types.d.ts +101 -101
  212. package/dist/types/user.types.d.ts.map +0 -0
  213. package/dist/types/user.types.js +38 -38
  214. package/dist/types/user.types.js.map +0 -0
  215. package/dist/types/validation.types.d.ts +9 -9
  216. package/dist/types/validation.types.d.ts.map +0 -0
  217. package/dist/types/validation.types.js +2 -2
  218. package/dist/types/validation.types.js.map +0 -0
  219. package/dist/types/view.types.d.ts +15 -15
  220. package/dist/types/view.types.d.ts.map +0 -0
  221. package/dist/types/view.types.js +7 -7
  222. package/dist/types/view.types.js.map +0 -0
  223. 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
- export declare enum MagicsBlueprint {
72
- Rune = "rune",
73
- DarkRune = "dark-rune",
74
- FireRune = "fire-rune",
75
- HealRune = "heal-rune",
76
- PoisonRune = "poison-rune",
77
- ThunderRune = "thunder-rune",
78
- EnergyBoltRune = "energy-bolt-rune",
79
- FireBoltRune = "fire-bolt-rune",
80
- CorruptionRune = "corruption-rune"
81
- }
82
- export interface ISpell {
83
- key: SpellsBlueprint;
84
- name: string;
85
- description: string;
86
- castingType: SpellCastingType;
87
- magicWords: string;
88
- manaCost: number;
89
- castingAnimationKey: string;
90
- targetHitAnimationKey: string;
91
- projectileAnimationKey: string;
92
- minLevelRequired: number;
93
- minMagicLevelRequired: number;
94
- cooldown: number;
95
- requiredItem?: MagicsBlueprint;
96
- characterClass?: CharacterClass[];
97
- attribute?: BasicAttribute | CombatSkill | CraftingSkill | CharacterAttributes;
98
- maxDistanceGrid?: number;
99
- usableEffect: (character: any, target?: any) => Promise<boolean> | Promise<void> | void | boolean;
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,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,WAAW,EAAE,aAAa,EAAE,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AAY,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
- })(SpellsBlueprint = exports.SpellsBlueprint || (exports.SpellsBlueprint = {}));
54
- var MagicsBlueprint;
55
- (function (MagicsBlueprint) {
56
- MagicsBlueprint["Rune"] = "rune";
57
- MagicsBlueprint["DarkRune"] = "dark-rune";
58
- MagicsBlueprint["FireRune"] = "fire-rune";
59
- MagicsBlueprint["HealRune"] = "heal-rune";
60
- MagicsBlueprint["PoisonRune"] = "poison-rune";
61
- MagicsBlueprint["ThunderRune"] = "thunder-rune";
62
- MagicsBlueprint["EnergyBoltRune"] = "energy-bolt-rune";
63
- MagicsBlueprint["FireBoltRune"] = "fire-bolt-rune";
64
- MagicsBlueprint["CorruptionRune"] = "corruption-rune";
65
- })(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 = 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