@rpg-engine/shared 0.11.9 → 0.11.10

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 (344) hide show
  1. package/dist/constants/date.constants.d.ts +3 -0
  2. package/dist/constants/date.constants.d.ts.map +1 -0
  3. package/dist/constants/date.constants.js +6 -0
  4. package/dist/constants/date.constants.js.map +1 -0
  5. package/dist/constants/dc.constants.d.ts +4 -0
  6. package/dist/constants/dc.constants.d.ts.map +1 -0
  7. package/dist/constants/dc.constants.js +9 -0
  8. package/dist/constants/dc.constants.js.map +1 -0
  9. package/dist/constants/npc.constants.d.ts +2 -0
  10. package/dist/constants/npc.constants.d.ts.map +1 -0
  11. package/dist/constants/npc.constants.js +5 -0
  12. package/dist/constants/npc.constants.js.map +1 -0
  13. package/dist/constants/skillProgression.constants.d.ts +23 -0
  14. package/dist/constants/skillProgression.constants.d.ts.map +1 -0
  15. package/dist/constants/skillProgression.constants.js +194 -0
  16. package/dist/constants/skillProgression.constants.js.map +1 -0
  17. package/dist/constants/skillProgression.constants.test.d.ts +2 -0
  18. package/dist/constants/skillProgression.constants.test.d.ts.map +1 -0
  19. package/dist/constants/skillProgression.constants.test.js +74 -0
  20. package/dist/constants/skillProgression.constants.test.js.map +1 -0
  21. package/dist/constants/socket.constants.d.ts +3 -0
  22. package/dist/constants/socket.constants.d.ts.map +1 -0
  23. package/dist/constants/socket.constants.js +7 -0
  24. package/dist/constants/socket.constants.js.map +1 -0
  25. package/dist/constants/world.constants.d.ts +11 -0
  26. package/dist/constants/world.constants.d.ts.map +1 -0
  27. package/dist/constants/world.constants.js +14 -0
  28. package/dist/constants/world.constants.js.map +1 -0
  29. package/dist/helpers/deviceHelpers.d.ts +3 -0
  30. package/dist/helpers/deviceHelpers.d.ts.map +1 -0
  31. package/dist/helpers/deviceHelpers.js +22 -0
  32. package/dist/helpers/deviceHelpers.js.map +1 -0
  33. package/dist/helpers/itemSlotHelper.d.ts +8 -0
  34. package/dist/helpers/itemSlotHelper.d.ts.map +1 -0
  35. package/dist/helpers/itemSlotHelper.js +28 -0
  36. package/dist/helpers/itemSlotHelper.js.map +1 -0
  37. package/dist/helpers/skillHelpers.d.ts +14 -0
  38. package/dist/helpers/skillHelpers.d.ts.map +1 -0
  39. package/dist/helpers/skillHelpers.js +127 -0
  40. package/dist/helpers/skillHelpers.js.map +1 -0
  41. package/dist/helpers/skillHelpers.test.d.ts +2 -0
  42. package/dist/helpers/skillHelpers.test.d.ts.map +1 -0
  43. package/dist/helpers/skillHelpers.test.js +169 -0
  44. package/dist/helpers/skillHelpers.test.js.map +1 -0
  45. package/dist/helpers/weightHelper.d.ts +2 -0
  46. package/dist/helpers/weightHelper.d.ts.map +1 -0
  47. package/dist/helpers/weightHelper.js +14 -0
  48. package/dist/helpers/weightHelper.js.map +1 -0
  49. package/dist/index.d.ts +78 -0
  50. package/dist/index.d.ts.map +1 -0
  51. package/dist/index.js +108 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/libs/GridHelper.d.ts +12 -0
  54. package/dist/libs/GridHelper.d.ts.map +1 -0
  55. package/dist/libs/GridHelper.js +38 -0
  56. package/dist/libs/GridHelper.js.map +1 -0
  57. package/dist/libs/MathHelper.d.ts +17 -0
  58. package/dist/libs/MathHelper.d.ts.map +1 -0
  59. package/dist/libs/MathHelper.js +15 -0
  60. package/dist/libs/MathHelper.js.map +1 -0
  61. package/dist/libs/SocketHelper.d.ts +3 -0
  62. package/dist/libs/SocketHelper.d.ts.map +1 -0
  63. package/dist/libs/SocketHelper.js +15 -0
  64. package/dist/libs/SocketHelper.js.map +1 -0
  65. package/dist/libs/TextHelper.d.ts +8 -0
  66. package/dist/libs/TextHelper.d.ts.map +1 -0
  67. package/dist/libs/TextHelper.js +22 -0
  68. package/dist/libs/TextHelper.js.map +1 -0
  69. package/dist/libs/TypeHelper.d.ts +4 -0
  70. package/dist/libs/TypeHelper.d.ts.map +1 -0
  71. package/dist/libs/TypeHelper.js +17 -0
  72. package/dist/libs/TypeHelper.js.map +1 -0
  73. package/dist/translations/app-rate.lang.json +38 -0
  74. package/dist/translations/assets.lang.json +82 -0
  75. package/dist/translations/auth.lang.json +182 -0
  76. package/dist/translations/email.lang.json +70 -0
  77. package/dist/translations/error.lang.json +18 -0
  78. package/dist/translations/form.lang.json +94 -0
  79. package/dist/translations/global.lang.json +90 -0
  80. package/dist/translations/logs.lang.json +6 -0
  81. package/dist/translations/onboarding.lang.d.ts +11 -0
  82. package/dist/translations/onboarding.lang.d.ts.map +1 -0
  83. package/dist/translations/onboarding.lang.js +22 -0
  84. package/dist/translations/onboarding.lang.js.map +1 -0
  85. package/dist/translations/onboarding.lang.json +50 -0
  86. package/dist/translations/order.lang.json +90 -0
  87. package/dist/translations/search.lang.json +50 -0
  88. package/dist/translations/settings.lang.json +14 -0
  89. package/dist/translations/tabs.lang.json +22 -0
  90. package/dist/translations/users.lang.json +22 -0
  91. package/dist/translations/validation.lang.json +86 -0
  92. package/dist/types/animation.types.d.ts +71 -0
  93. package/dist/types/animation.types.d.ts.map +1 -0
  94. package/dist/types/animation.types.js +47 -0
  95. package/dist/types/animation.types.js.map +1 -0
  96. package/dist/types/api.types.d.ts +23 -0
  97. package/dist/types/api.types.d.ts.map +1 -0
  98. package/dist/types/api.types.js +22 -0
  99. package/dist/types/api.types.js.map +1 -0
  100. package/dist/types/archiveIndex.types.d.ts +59 -0
  101. package/dist/types/archiveIndex.types.d.ts.map +1 -0
  102. package/dist/types/archiveIndex.types.js +33 -0
  103. package/dist/types/archiveIndex.types.js.map +1 -0
  104. package/dist/types/asset.types.d.ts +7 -0
  105. package/dist/types/asset.types.d.ts.map +1 -0
  106. package/dist/types/asset.types.js +3 -0
  107. package/dist/types/asset.types.js.map +1 -0
  108. package/dist/types/attribution.types.d.ts +16 -0
  109. package/dist/types/attribution.types.d.ts.map +1 -0
  110. package/dist/types/attribution.types.js +3 -0
  111. package/dist/types/attribution.types.js.map +1 -0
  112. package/dist/types/auth.types.d.ts +32 -0
  113. package/dist/types/auth.types.d.ts.map +1 -0
  114. package/dist/types/auth.types.js +3 -0
  115. package/dist/types/auth.types.js.map +1 -0
  116. package/dist/types/battle.types.d.ts +65 -0
  117. package/dist/types/battle.types.d.ts.map +1 -0
  118. package/dist/types/battle.types.js +22 -0
  119. package/dist/types/battle.types.js.map +1 -0
  120. package/dist/types/buff.types.d.ts +52 -0
  121. package/dist/types/buff.types.d.ts.map +1 -0
  122. package/dist/types/buff.types.js +14 -0
  123. package/dist/types/buff.types.js.map +1 -0
  124. package/dist/types/character.types.d.ts +288 -0
  125. package/dist/types/character.types.d.ts.map +1 -0
  126. package/dist/types/character.types.js +73 -0
  127. package/dist/types/character.types.js.map +1 -0
  128. package/dist/types/characterCustomizationTypes.d.ts +13 -0
  129. package/dist/types/characterCustomizationTypes.d.ts.map +1 -0
  130. package/dist/types/characterCustomizationTypes.js +9 -0
  131. package/dist/types/characterCustomizationTypes.js.map +1 -0
  132. package/dist/types/characterSkin.types.d.ts +23 -0
  133. package/dist/types/characterSkin.types.d.ts.map +1 -0
  134. package/dist/types/characterSkin.types.js +9 -0
  135. package/dist/types/characterSkin.types.js.map +1 -0
  136. package/dist/types/chat.types.d.ts +117 -0
  137. package/dist/types/chat.types.d.ts.map +1 -0
  138. package/dist/types/chat.types.js +32 -0
  139. package/dist/types/chat.types.js.map +1 -0
  140. package/dist/types/dailyTasks.types.d.ts +281 -0
  141. package/dist/types/dailyTasks.types.d.ts.map +1 -0
  142. package/dist/types/dailyTasks.types.js +83 -0
  143. package/dist/types/dailyTasks.types.js.map +1 -0
  144. package/dist/types/dc.types.d.ts +190 -0
  145. package/dist/types/dc.types.d.ts.map +1 -0
  146. package/dist/types/dc.types.js +54 -0
  147. package/dist/types/dc.types.js.map +1 -0
  148. package/dist/types/depot.types.d.ts +19 -0
  149. package/dist/types/depot.types.d.ts.map +1 -0
  150. package/dist/types/depot.types.js +10 -0
  151. package/dist/types/depot.types.js.map +1 -0
  152. package/dist/types/device.types.d.ts +25 -0
  153. package/dist/types/device.types.d.ts.map +1 -0
  154. package/dist/types/device.types.js +8 -0
  155. package/dist/types/device.types.js.map +1 -0
  156. package/dist/types/displayText.types.d.ts +11 -0
  157. package/dist/types/displayText.types.d.ts.map +1 -0
  158. package/dist/types/displayText.types.js +8 -0
  159. package/dist/types/displayText.types.js.map +1 -0
  160. package/dist/types/entity.types.d.ts +31 -0
  161. package/dist/types/entity.types.d.ts.map +1 -0
  162. package/dist/types/entity.types.js +21 -0
  163. package/dist/types/entity.types.js.map +1 -0
  164. package/dist/types/env.types.d.ts +6 -0
  165. package/dist/types/env.types.d.ts.map +1 -0
  166. package/dist/types/env.types.js +10 -0
  167. package/dist/types/env.types.js.map +1 -0
  168. package/dist/types/equipment.types.d.ts +36 -0
  169. package/dist/types/equipment.types.d.ts.map +1 -0
  170. package/dist/types/equipment.types.js +19 -0
  171. package/dist/types/equipment.types.js.map +1 -0
  172. package/dist/types/friends.types.d.ts +23 -0
  173. package/dist/types/friends.types.d.ts.map +1 -0
  174. package/dist/types/friends.types.js +12 -0
  175. package/dist/types/friends.types.js.map +1 -0
  176. package/dist/types/gem.types.d.ts +25 -0
  177. package/dist/types/gem.types.d.ts.map +1 -0
  178. package/dist/types/gem.types.js +3 -0
  179. package/dist/types/gem.types.js.map +1 -0
  180. package/dist/types/googleOAuth.types.d.ts +48 -0
  181. package/dist/types/googleOAuth.types.d.ts.map +1 -0
  182. package/dist/types/googleOAuth.types.js +3 -0
  183. package/dist/types/googleOAuth.types.js.map +1 -0
  184. package/dist/types/guild.types.d.ts +166 -0
  185. package/dist/types/guild.types.d.ts.map +1 -0
  186. package/dist/types/guild.types.js +57 -0
  187. package/dist/types/guild.types.js.map +1 -0
  188. package/dist/types/inGameStore.types.d.ts +10 -0
  189. package/dist/types/inGameStore.types.d.ts.map +1 -0
  190. package/dist/types/inGameStore.types.js +9 -0
  191. package/dist/types/inGameStore.types.js.map +1 -0
  192. package/dist/types/informationCenter.types.d.ts +135 -0
  193. package/dist/types/informationCenter.types.d.ts.map +1 -0
  194. package/dist/types/informationCenter.types.js +64 -0
  195. package/dist/types/informationCenter.types.js.map +1 -0
  196. package/dist/types/inventory.types.d.ts +8 -0
  197. package/dist/types/inventory.types.d.ts.map +1 -0
  198. package/dist/types/inventory.types.js +3 -0
  199. package/dist/types/inventory.types.js.map +1 -0
  200. package/dist/types/item.types.d.ts +468 -0
  201. package/dist/types/item.types.d.ts.map +1 -0
  202. package/dist/types/item.types.js +171 -0
  203. package/dist/types/item.types.js.map +1 -0
  204. package/dist/types/itemContainer.types.d.ts +84 -0
  205. package/dist/types/itemContainer.types.d.ts.map +1 -0
  206. package/dist/types/itemContainer.types.js +12 -0
  207. package/dist/types/itemContainer.types.js.map +1 -0
  208. package/dist/types/leaderboard.types.d.ts +33 -0
  209. package/dist/types/leaderboard.types.d.ts.map +1 -0
  210. package/dist/types/leaderboard.types.js +10 -0
  211. package/dist/types/leaderboard.types.js.map +1 -0
  212. package/dist/types/loginStreak.types.d.ts +29 -0
  213. package/dist/types/loginStreak.types.d.ts.map +1 -0
  214. package/dist/types/loginStreak.types.js +9 -0
  215. package/dist/types/loginStreak.types.js.map +1 -0
  216. package/dist/types/macro.types.d.ts +9 -0
  217. package/dist/types/macro.types.d.ts.map +1 -0
  218. package/dist/types/macro.types.js +13 -0
  219. package/dist/types/macro.types.js.map +1 -0
  220. package/dist/types/maps.types.d.ts +112 -0
  221. package/dist/types/maps.types.d.ts.map +1 -0
  222. package/dist/types/maps.types.js +90 -0
  223. package/dist/types/maps.types.js.map +1 -0
  224. package/dist/types/marketplace.types.d.ts +317 -0
  225. package/dist/types/marketplace.types.d.ts.map +1 -0
  226. package/dist/types/marketplace.types.js +69 -0
  227. package/dist/types/marketplace.types.js.map +1 -0
  228. package/dist/types/notification.types.d.ts +20 -0
  229. package/dist/types/notification.types.d.ts.map +1 -0
  230. package/dist/types/notification.types.js +3 -0
  231. package/dist/types/notification.types.js.map +1 -0
  232. package/dist/types/npc.types.d.ts +182 -0
  233. package/dist/types/npc.types.d.ts.map +1 -0
  234. package/dist/types/npc.types.js +56 -0
  235. package/dist/types/npc.types.js.map +1 -0
  236. package/dist/types/pagination.types.d.ts +14 -0
  237. package/dist/types/pagination.types.d.ts.map +1 -0
  238. package/dist/types/pagination.types.js +3 -0
  239. package/dist/types/pagination.types.js.map +1 -0
  240. package/dist/types/party.types.d.ts +84 -0
  241. package/dist/types/party.types.d.ts.map +1 -0
  242. package/dist/types/party.types.js +55 -0
  243. package/dist/types/party.types.js.map +1 -0
  244. package/dist/types/payment.types.d.ts +201 -0
  245. package/dist/types/payment.types.d.ts.map +1 -0
  246. package/dist/types/payment.types.js +23 -0
  247. package/dist/types/payment.types.js.map +1 -0
  248. package/dist/types/places.types.d.ts +17 -0
  249. package/dist/types/places.types.d.ts.map +1 -0
  250. package/dist/types/places.types.js +10 -0
  251. package/dist/types/places.types.js.map +1 -0
  252. package/dist/types/preloadScene.types.d.ts +5 -0
  253. package/dist/types/preloadScene.types.d.ts.map +1 -0
  254. package/dist/types/preloadScene.types.js +8 -0
  255. package/dist/types/preloadScene.types.js.map +1 -0
  256. package/dist/types/premiumAccount.types.d.ts +8 -0
  257. package/dist/types/premiumAccount.types.d.ts.map +1 -0
  258. package/dist/types/premiumAccount.types.js +12 -0
  259. package/dist/types/premiumAccount.types.js.map +1 -0
  260. package/dist/types/proficiency.types.d.ts +17 -0
  261. package/dist/types/proficiency.types.d.ts.map +1 -0
  262. package/dist/types/proficiency.types.js +22 -0
  263. package/dist/types/proficiency.types.js.map +1 -0
  264. package/dist/types/purchase.types.d.ts +155 -0
  265. package/dist/types/purchase.types.d.ts.map +1 -0
  266. package/dist/types/purchase.types.js +82 -0
  267. package/dist/types/purchase.types.js.map +1 -0
  268. package/dist/types/quest.types.d.ts +98 -0
  269. package/dist/types/quest.types.d.ts.map +1 -0
  270. package/dist/types/quest.types.js +22 -0
  271. package/dist/types/quest.types.js.map +1 -0
  272. package/dist/types/raid.types.d.ts +7 -0
  273. package/dist/types/raid.types.d.ts.map +1 -0
  274. package/dist/types/raid.types.js +3 -0
  275. package/dist/types/raid.types.js.map +1 -0
  276. package/dist/types/resource.types.d.ts +6 -0
  277. package/dist/types/resource.types.d.ts.map +1 -0
  278. package/dist/types/resource.types.js +3 -0
  279. package/dist/types/resource.types.js.map +1 -0
  280. package/dist/types/scene.types.d.ts +9 -0
  281. package/dist/types/scene.types.d.ts.map +1 -0
  282. package/dist/types/scene.types.js +9 -0
  283. package/dist/types/scene.types.js.map +1 -0
  284. package/dist/types/shortcut.types.d.ts +12 -0
  285. package/dist/types/shortcut.types.d.ts.map +1 -0
  286. package/dist/types/shortcut.types.js +10 -0
  287. package/dist/types/shortcut.types.js.map +1 -0
  288. package/dist/types/simpleTutorial.types.d.ts +7 -0
  289. package/dist/types/simpleTutorial.types.d.ts.map +1 -0
  290. package/dist/types/simpleTutorial.types.js +8 -0
  291. package/dist/types/simpleTutorial.types.js.map +1 -0
  292. package/dist/types/skills.types.d.ts +161 -0
  293. package/dist/types/skills.types.d.ts.map +1 -0
  294. package/dist/types/skills.types.js +120 -0
  295. package/dist/types/skills.types.js.map +1 -0
  296. package/dist/types/socket.types.d.ts +19 -0
  297. package/dist/types/socket.types.d.ts.map +1 -0
  298. package/dist/types/socket.types.js +9 -0
  299. package/dist/types/socket.types.js.map +1 -0
  300. package/dist/types/spell.types.d.ts +180 -0
  301. package/dist/types/spell.types.d.ts.map +1 -0
  302. package/dist/types/spell.types.js +123 -0
  303. package/dist/types/spell.types.js.map +1 -0
  304. package/dist/types/store.types.d.ts +35 -0
  305. package/dist/types/store.types.d.ts.map +1 -0
  306. package/dist/types/store.types.js +9 -0
  307. package/dist/types/store.types.js.map +1 -0
  308. package/dist/types/tiled.types.d.ts +120 -0
  309. package/dist/types/tiled.types.d.ts.map +1 -0
  310. package/dist/types/tiled.types.js +8 -0
  311. package/dist/types/tiled.types.js.map +1 -0
  312. package/dist/types/trade.types.d.ts +66 -0
  313. package/dist/types/trade.types.d.ts.map +1 -0
  314. package/dist/types/trade.types.js +16 -0
  315. package/dist/types/trade.types.js.map +1 -0
  316. package/dist/types/translation.types.d.ts +6 -0
  317. package/dist/types/translation.types.d.ts.map +1 -0
  318. package/dist/types/translation.types.js +9 -0
  319. package/dist/types/translation.types.js.map +1 -0
  320. package/dist/types/ui.types.d.ts +9 -0
  321. package/dist/types/ui.types.d.ts.map +1 -0
  322. package/dist/types/ui.types.js +8 -0
  323. package/dist/types/ui.types.js.map +1 -0
  324. package/dist/types/uiHighlight.types.d.ts +36 -0
  325. package/dist/types/uiHighlight.types.d.ts.map +1 -0
  326. package/dist/types/uiHighlight.types.js +29 -0
  327. package/dist/types/uiHighlight.types.js.map +1 -0
  328. package/dist/types/useWith.types.d.ts +44 -0
  329. package/dist/types/useWith.types.d.ts.map +1 -0
  330. package/dist/types/useWith.types.js +13 -0
  331. package/dist/types/useWith.types.js.map +1 -0
  332. package/dist/types/user.types.d.ts +109 -0
  333. package/dist/types/user.types.d.ts.map +1 -0
  334. package/dist/types/user.types.js +39 -0
  335. package/dist/types/user.types.js.map +1 -0
  336. package/dist/types/validation.types.d.ts +10 -0
  337. package/dist/types/validation.types.d.ts.map +1 -0
  338. package/dist/types/validation.types.js +3 -0
  339. package/dist/types/validation.types.js.map +1 -0
  340. package/dist/types/view.types.d.ts +17 -0
  341. package/dist/types/view.types.d.ts.map +1 -0
  342. package/dist/types/view.types.js +8 -0
  343. package/dist/types/view.types.js.map +1 -0
  344. package/package.json +1 -1
@@ -0,0 +1,161 @@
1
+ import { EntityAttackType } from "./entity.types";
2
+ import { ItemSubType } from "./item.types";
3
+ import { IResource } from "./resource.types";
4
+ export declare enum SkillSocketEvents {
5
+ SkillGain = "SkillGain",
6
+ ReadInfo = "ReadInfo",
7
+ ExperienceGain = "ExperienceGain",
8
+ LevelUp = "LevelUp"
9
+ }
10
+ export declare enum SkillEventType {
11
+ LevelUp = "LevelUp",
12
+ SkillLevelUp = "SkillLevelUp"
13
+ }
14
+ export interface ISkillEventFromServer {
15
+ characterId: string;
16
+ targetId: string;
17
+ targetType: "Character" | "NPC";
18
+ eventType: SkillEventType;
19
+ exp?: number;
20
+ level?: number;
21
+ skill?: string;
22
+ }
23
+ export interface ISkillDetails {
24
+ type: SkillType;
25
+ level: number;
26
+ skillPoints: number;
27
+ skillPointsToNextLevel: number;
28
+ buffAndDebuff?: number;
29
+ }
30
+ export interface ILevelUpFromServer {
31
+ previousLevel: number;
32
+ currentLevel: number;
33
+ }
34
+ export interface ISkill extends IResource {
35
+ owner: string;
36
+ level: number;
37
+ xpGainRate: number;
38
+ experience: number;
39
+ xpToNextLevel: number;
40
+ stamina: ISkillDetails;
41
+ magic: ISkillDetails;
42
+ magicResistance: ISkillDetails;
43
+ strength: ISkillDetails;
44
+ resistance: ISkillDetails;
45
+ dexterity: ISkillDetails;
46
+ first: ISkillDetails;
47
+ club: ISkillDetails;
48
+ sword: ISkillDetails;
49
+ axe: ISkillDetails;
50
+ distance: ISkillDetails;
51
+ shielding: ISkillDetails;
52
+ dagger: ISkillDetails;
53
+ fishing: ISkillDetails;
54
+ mining: ISkillDetails;
55
+ lumberjacking: ISkillDetails;
56
+ cooking: ISkillDetails;
57
+ alchemy: ISkillDetails;
58
+ blacksmithing: ISkillDetails;
59
+ farming: ISkillDetails;
60
+ }
61
+ export declare enum ElementalType {
62
+ Fire = "fire",
63
+ Water = "water",
64
+ Earth = "earth",
65
+ Air = "air",
66
+ Corruption = "corruption",
67
+ Nature = "nature"
68
+ }
69
+ export declare enum SkillType {
70
+ BasicAttributes = "BasicAttributes",
71
+ Combat = "Combat",
72
+ Crafting = "Crafting",
73
+ Gathering = "Gathering",
74
+ Magic = "Magic",
75
+ Misc = "Misc",
76
+ Character = "Character",
77
+ Guild = "Guild"
78
+ }
79
+ export declare enum CombatSkill {
80
+ First = "first",
81
+ Sword = "sword",
82
+ Dagger = "dagger",
83
+ Axe = "axe",
84
+ Distance = "distance",
85
+ Shielding = "shielding",
86
+ Club = "club"
87
+ }
88
+ export declare enum CraftingSkill {
89
+ Fishing = "fishing",
90
+ Farming = "farming",
91
+ Mining = "mining",
92
+ Lumberjacking = "lumberjacking",
93
+ Cooking = "cooking",
94
+ Alchemy = "alchemy",
95
+ Blacksmithing = "blacksmithing"
96
+ }
97
+ export declare enum BasicAttribute {
98
+ Strength = "strength",
99
+ Resistance = "resistance",
100
+ Dexterity = "dexterity",
101
+ Magic = "magic",
102
+ MagicResistance = "magicResistance"
103
+ }
104
+ export declare enum CharacterAttributes {
105
+ Speed = "baseSpeed",
106
+ MaxMana = "maxMana",
107
+ MaxHealth = "maxHealth",
108
+ AttackIntervalSpeed = "attackIntervalSpeed"
109
+ }
110
+ export type CharacterTrait = CraftingSkill | CombatSkill | BasicAttribute | CharacterAttributes;
111
+ export declare const SKILLS_MAP: Map<string, string>;
112
+ export declare const CHARACTER_ATTRIBUTES: CharacterAttributes[];
113
+ export declare const BASIC_ATTRIBUTES: BasicAttribute[];
114
+ export declare const COMBAT_SKILLS: (ItemSubType | EntityAttackType)[];
115
+ export interface IDecreaseSPResult {
116
+ skillType: string;
117
+ skillName: string;
118
+ skillLevel: number;
119
+ skillPoints: number;
120
+ spToNextLevel: number;
121
+ }
122
+ export interface IIncreaseSPResult {
123
+ skillLevelUp: boolean;
124
+ skillLevelBefore: number;
125
+ skillLevelAfter: number;
126
+ skillName: string;
127
+ skillPoints?: number;
128
+ skillPointsToNextLevel?: number;
129
+ }
130
+ export interface IIncreaseXPResult {
131
+ level: number;
132
+ previousLevel: number;
133
+ exp: number;
134
+ }
135
+ export interface IBasicAttributesBonusAndPenalties {
136
+ stamina: number;
137
+ strength: number;
138
+ resistance: number;
139
+ dexterity: number;
140
+ magic: number;
141
+ magicResistance: number;
142
+ }
143
+ export interface ICombatSkillsBonusAndPenalties {
144
+ first: number;
145
+ sword: number;
146
+ dagger: number;
147
+ axe: number;
148
+ distance: number;
149
+ shielding: number;
150
+ club: number;
151
+ }
152
+ export interface ICraftingSkillsBonusAndPenalties {
153
+ fishing: number;
154
+ farming: number;
155
+ mining: number;
156
+ lumberjacking: number;
157
+ cooking: number;
158
+ alchemy: number;
159
+ blacksmithing: number;
160
+ }
161
+ //# sourceMappingURL=skills.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills.types.d.ts","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,WAAW,GAAG,KAAK,CAAC;IAChC,SAAS,EAAE,cAAc,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,MAAO,SAAQ,SAAS;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UA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AC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,120 @@
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.ElementalType = 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["ExperienceGain"] = "ExperienceGain";
11
+ SkillSocketEvents["LevelUp"] = "LevelUp";
12
+ })(SkillSocketEvents || (exports.SkillSocketEvents = SkillSocketEvents = {}));
13
+ var SkillEventType;
14
+ (function (SkillEventType) {
15
+ SkillEventType["LevelUp"] = "LevelUp";
16
+ SkillEventType["SkillLevelUp"] = "SkillLevelUp";
17
+ })(SkillEventType || (exports.SkillEventType = SkillEventType = {}));
18
+ var ElementalType;
19
+ (function (ElementalType) {
20
+ ElementalType["Fire"] = "fire";
21
+ ElementalType["Water"] = "water";
22
+ ElementalType["Earth"] = "earth";
23
+ ElementalType["Air"] = "air";
24
+ ElementalType["Corruption"] = "corruption";
25
+ ElementalType["Nature"] = "nature";
26
+ })(ElementalType || (exports.ElementalType = ElementalType = {}));
27
+ var SkillType;
28
+ (function (SkillType) {
29
+ SkillType["BasicAttributes"] = "BasicAttributes";
30
+ SkillType["Combat"] = "Combat";
31
+ SkillType["Crafting"] = "Crafting";
32
+ SkillType["Gathering"] = "Gathering";
33
+ SkillType["Magic"] = "Magic";
34
+ SkillType["Misc"] = "Misc";
35
+ SkillType["Character"] = "Character";
36
+ SkillType["Guild"] = "Guild";
37
+ })(SkillType || (exports.SkillType = SkillType = {}));
38
+ var CombatSkill;
39
+ (function (CombatSkill) {
40
+ CombatSkill["First"] = "first";
41
+ CombatSkill["Sword"] = "sword";
42
+ CombatSkill["Dagger"] = "dagger";
43
+ CombatSkill["Axe"] = "axe";
44
+ CombatSkill["Distance"] = "distance";
45
+ CombatSkill["Shielding"] = "shielding";
46
+ CombatSkill["Club"] = "club";
47
+ })(CombatSkill || (exports.CombatSkill = CombatSkill = {}));
48
+ var CraftingSkill;
49
+ (function (CraftingSkill) {
50
+ CraftingSkill["Fishing"] = "fishing";
51
+ CraftingSkill["Farming"] = "farming";
52
+ CraftingSkill["Mining"] = "mining";
53
+ CraftingSkill["Lumberjacking"] = "lumberjacking";
54
+ CraftingSkill["Cooking"] = "cooking";
55
+ CraftingSkill["Alchemy"] = "alchemy";
56
+ CraftingSkill["Blacksmithing"] = "blacksmithing";
57
+ })(CraftingSkill || (exports.CraftingSkill = CraftingSkill = {}));
58
+ var BasicAttribute;
59
+ (function (BasicAttribute) {
60
+ BasicAttribute["Strength"] = "strength";
61
+ BasicAttribute["Resistance"] = "resistance";
62
+ BasicAttribute["Dexterity"] = "dexterity";
63
+ BasicAttribute["Magic"] = "magic";
64
+ BasicAttribute["MagicResistance"] = "magicResistance";
65
+ })(BasicAttribute || (exports.BasicAttribute = BasicAttribute = {}));
66
+ var CharacterAttributes;
67
+ (function (CharacterAttributes) {
68
+ CharacterAttributes["Speed"] = "baseSpeed";
69
+ CharacterAttributes["MaxMana"] = "maxMana";
70
+ CharacterAttributes["MaxHealth"] = "maxHealth";
71
+ CharacterAttributes["AttackIntervalSpeed"] = "attackIntervalSpeed";
72
+ })(CharacterAttributes || (exports.CharacterAttributes = CharacterAttributes = {}));
73
+ exports.SKILLS_MAP = new Map([
74
+ [entity_types_1.EntityAttackType.None, CombatSkill.First],
75
+ [item_types_1.ItemSubType.Sword, CombatSkill.Sword],
76
+ [item_types_1.ItemSubType.Dagger, CombatSkill.Dagger],
77
+ [item_types_1.ItemSubType.Axe, CombatSkill.Axe],
78
+ [item_types_1.ItemSubType.Ranged, CombatSkill.Distance],
79
+ [item_types_1.ItemSubType.Spear, CombatSkill.Distance],
80
+ [item_types_1.ItemSubType.Shield, CombatSkill.Shielding],
81
+ [item_types_1.ItemSubType.Mace, CombatSkill.Club],
82
+ [item_types_1.ItemSubType.Magic, BasicAttribute.Magic],
83
+ [item_types_1.ItemSubType.Staff, BasicAttribute.Magic],
84
+ [BasicAttribute.Strength, BasicAttribute.Strength],
85
+ [BasicAttribute.Resistance, BasicAttribute.Resistance],
86
+ [BasicAttribute.Dexterity, BasicAttribute.Dexterity],
87
+ [BasicAttribute.Magic, BasicAttribute.Magic],
88
+ [BasicAttribute.MagicResistance, BasicAttribute.MagicResistance],
89
+ [CraftingSkill.Fishing, CraftingSkill.Fishing],
90
+ [CraftingSkill.Cooking, CraftingSkill.Cooking],
91
+ [CraftingSkill.Alchemy, CraftingSkill.Alchemy],
92
+ [CraftingSkill.Lumberjacking, CraftingSkill.Lumberjacking],
93
+ [CraftingSkill.Mining, CraftingSkill.Mining],
94
+ [CraftingSkill.Blacksmithing, CraftingSkill.Blacksmithing],
95
+ [CraftingSkill.Farming, CraftingSkill.Farming],
96
+ ]);
97
+ exports.CHARACTER_ATTRIBUTES = [
98
+ CharacterAttributes.Speed,
99
+ CharacterAttributes.MaxMana,
100
+ CharacterAttributes.MaxHealth,
101
+ CharacterAttributes.AttackIntervalSpeed,
102
+ ];
103
+ exports.BASIC_ATTRIBUTES = [
104
+ BasicAttribute.Strength,
105
+ BasicAttribute.Resistance,
106
+ BasicAttribute.Dexterity,
107
+ BasicAttribute.Magic,
108
+ BasicAttribute.MagicResistance,
109
+ ];
110
+ exports.COMBAT_SKILLS = [
111
+ entity_types_1.EntityAttackType.None,
112
+ item_types_1.ItemSubType.Sword,
113
+ item_types_1.ItemSubType.Dagger,
114
+ item_types_1.ItemSubType.Axe,
115
+ item_types_1.ItemSubType.Ranged,
116
+ item_types_1.ItemSubType.Spear,
117
+ item_types_1.ItemSubType.Shield,
118
+ item_types_1.ItemSubType.Mace,
119
+ ];
120
+ //# sourceMappingURL=skills.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":";;;AAAA,iDAAkD;AAClD,6CAA2C;AAG3C,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,sDAAiC,CAAA;IACjC,wCAAmB,CAAA;AACrB,CAAC,EALW,iBAAiB,iCAAjB,iBAAiB,QAK5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAkED,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,4BAAW,CAAA;IACX,0CAAyB,CAAA;IACzB,kCAAiB,CAAA;AACnB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAED,IAAY,SASX;AATD,WAAY,SAAS;IACnB,gDAAmC,CAAA;IACnC,8BA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AAC,SAAS;IAC7B,mBAAmB,CAAC,mBAAmB;CACxC,CAAC;AAEW,QAAA,gBAAgB,GAAqB;IAChD,cAAc,CAAC,QAAQ;IACvB,cAAc,CAAC,UAAU;IACzB,cAAc,CAAC,SAAS;IACxB,cAAc,CAAC,KAAK;IACpB,cAAc,CAAC,eAAe;CAC/B,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,+BAAgB,CAAC,IAAI;IACrB,wBAAW,CAAC,KAAK;IACjB,wBAAW,CAAC,MAAM;IAClB,wBAAW,CAAC,GAAG;IACf,wBAAW,CAAC,MAAM;IAClB,wBAAW,CAAC,KAAK;IACjB,wBAAW,CAAC,MAAM;IAClB,wBAAW,CAAC,IAAI;CACjB,CAAC"}
@@ -0,0 +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
+ }
19
+ //# sourceMappingURL=socket.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.types.d.ts","sourceRoot":"","sources":["../../src/types/socket.types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AACD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACzD,SAAS,CAAC,EAAE,CAAC,QAAQ,KAAA,KAAK,IAAI,CAAC;IAC/B,YAAY,CAAC,EAAE,CAAC,QAAQ,KAAA,KAAK,IAAI,CAAC;IAClC,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,OAAE;IAC5D,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACrD,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +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 = SocketTypes = {}));
9
+ //# sourceMappingURL=socket.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.types.js","sourceRoot":"","sources":["../../src/types/socket.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,0BAAW,CAAA;AACb,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
@@ -0,0 +1,180 @@
1
+ import { CharacterClass, CharacterRaces } from "./character.types";
2
+ import { EntityType } from "./entity.types";
3
+ import { SpellCastingType } from "./item.types";
4
+ import { UserAccountTypes } from "./premiumAccount.types";
5
+ import { BasicAttribute, CharacterAttributes, CombatSkill, CraftingSkill, ElementalType } from "./skills.types";
6
+ export interface IRawSpell {
7
+ key: string;
8
+ name: string;
9
+ description: string;
10
+ magicWords: string;
11
+ manaCost: number;
12
+ minMagicLevelRequired: number;
13
+ minSkillLevelRequired?: number;
14
+ attribute?: BasicAttribute;
15
+ requiredItem?: string;
16
+ texturePath?: string;
17
+ atlasIMG?: any;
18
+ atlasJSON?: any;
19
+ }
20
+ export interface ISpellRead {
21
+ magicLevel: number;
22
+ spells: IRawSpell[];
23
+ }
24
+ export interface ILearnedSpellsRead {
25
+ magicLevel: number;
26
+ learnedSpells: ISpell[];
27
+ skillLevels?: Record<string, number>;
28
+ }
29
+ export interface ILearnedSpellsNotification {
30
+ learnedSpells: ISpell[];
31
+ }
32
+ export interface ISpellCast {
33
+ magicWords: string;
34
+ targetId?: string;
35
+ targetType?: EntityType;
36
+ }
37
+ export declare enum SpellSocketEvents {
38
+ LearnedSpellsRead = "LearnedSpellsRead",
39
+ CastSpell = "CastSpell",
40
+ IdentifyTarget = "IdentifyTarget",
41
+ SpellDetails = "SpellDetails",
42
+ LearnedSpells = "LearnedSpells",
43
+ SpellCooldownsRead = "SpellCooldownsRead",
44
+ LearnedSpellsNotification = "LearnedSpellsNotification"
45
+ }
46
+ export declare enum SpellsBlueprint {
47
+ SelfHealingSpell = "self-healing-spell",
48
+ FoodCreationSpell = "food-creation-spell",
49
+ ArrowCreationSpell = "arrow-creation-spell",
50
+ BoltCreationSpell = "bolt-creation-spell",
51
+ BlankRuneCreationSpell = "blank-rune-creation-spell",
52
+ SelfHasteSpell = "self-haste-spell",
53
+ FireRuneCreationSpell = "fire-rune-creation-spell",
54
+ HealRuneCreationSpell = "healing-rune-creation-spell",
55
+ PoisonRuneCreationSpell = "poison-rune-creation-spell",
56
+ DarkRuneCreationSpell = "dark-rune-creation-spell",
57
+ GreaterHealingSpell = "greater-healing-spell",
58
+ EnergyBoltRuneCreationSpell = "energy-bolt-rune-creation-spell",
59
+ FireBoltRuneCreationSpell = "fire-bolt-rune-creation-spell",
60
+ FireBoltCreationSpell = "fire-bolt-creation-spell",
61
+ PoisonArrowCreationSpell = "poison-arrow-creation-spell",
62
+ CorruptionRuneCreationSpell = "corruption-rune-creation-spell",
63
+ SpellDivineProtection = "spell-divine-protection",
64
+ SpellPhysicalShield = "spell-physical-shield",
65
+ SpellEagleEyes = "spell-eagle-eyes",
66
+ ThunderRuneCreationSpell = "thunder-rune-creation-spell",
67
+ ThunderAreaRuneCreationSpell = "thunder-area-rune-creation-spell",
68
+ WarriorStunTarget = "warrior-stun-target",
69
+ RogueStealth = "rogue-stealth-spell",
70
+ BerserkerBloodthirst = "berserker-bloodthirst",
71
+ RogueExecution = "rogue-execution",
72
+ WarriorExecution = "warrior-execution",
73
+ HunterExecution = "hunter-execution",
74
+ ManaRegenSpell = "auto-mana-regen",
75
+ HealthRegenSell = "auto-health-regen",
76
+ ManaShield = "mana-shield",
77
+ FortifyDefense = "fortify-defense",
78
+ BerserkerExecution = "berserker-execution",
79
+ HunterQuickFire = "hunter-quick-fire",
80
+ BerserkerFrenzy = "berserker-frenzy",
81
+ DruidShapeshift = "druid-shapeshift",
82
+ BerserkerRage = "berserker-rage",
83
+ Focus = "focus",
84
+ PowerStrike = "power-strike",
85
+ CurseOfWeakness = "curse-of-weakness",
86
+ EntanglingRoots = "entangling-roots",
87
+ SpellPolymorph = "spell-polymorph",
88
+ PickPocket = "pick-pocket",
89
+ DruidSilence = "druid-silence",
90
+ ManaDrain = "mana-drain",
91
+ FrostArrowCreation = "frost-arrow-creation",
92
+ CrimsonArrowCreation = "crimson-arrow-creation",
93
+ EmeraldArrowCreation = "emerald-arrow-creation",
94
+ FireBolt = "fire-bolt",
95
+ FrostBolt = "frost-bolt",
96
+ CorruptionBolt = "corruption-bolt",
97
+ VineGrasp = "vine-grasp",
98
+ MagicShuriken = "magic-shuriken",
99
+ SorcererVeilofUndeath = "veil-of-undeath",
100
+ Teleport = "teleport",
101
+ DwarfStoneform = "dwarf-stone-form",
102
+ ElvenArrow = "elven-arrow",
103
+ ChefsDelight = "chefs-delight",
104
+ OrcDispelMagic = "dispel-magic",
105
+ MinotaurBullStrength = "minotaur-bull-strength",
106
+ FireStorm = "fire-storm",
107
+ MassHealing = "mass-healing",
108
+ FocusSwift = "focus-swift",
109
+ Blizzard = "blizzard",
110
+ Arrowstorm = "arrowstorm",
111
+ OrcArrowStorm = "orc-arrowstorm",
112
+ WildfireVolley = "wildfire-volley",
113
+ NaturesRevenge = "natures-revenge",
114
+ BleedingEdge = "bleeding-edge",
115
+ ArcaneExplosion = "arcane-explosion",
116
+ VampiricStorm = "vampiric-storm",
117
+ CorruptionWave = "corruption-wave",
118
+ CleavingStomp = "cleaving-stomp",
119
+ ShieldBash = "shield-bash",
120
+ EnergyWave = "energy-wave",
121
+ BombCreation = "bomb-creation",
122
+ IronWill = "iron-will"
123
+ }
124
+ export declare enum MagicsBlueprint {
125
+ Rune = "rune",
126
+ DarkRune = "dark-rune",
127
+ FireRune = "fire-rune",
128
+ HealRune = "heal-rune",
129
+ PoisonRune = "poison-rune",
130
+ ThunderRune = "thunder-rune",
131
+ ThunderAreaRune = "thunder-area-rune",
132
+ EnergyBoltRune = "energy-bolt-rune",
133
+ FireBoltRune = "fire-bolt-rune",
134
+ CorruptionRune = "corruption-rune",
135
+ WildwoodTeleport = "wildwood-teleport",
136
+ DungeonIlyaTeleport = "dungeon-ilya-teleport",
137
+ DwarfMinesTeleport = "dwarf-mines-teleport",
138
+ FrostIslandCavesTeleport = "frost-island-caves-teleport",
139
+ FrozenCastleDungeonTeleport = "frozen-castle-dungeon-teleport",
140
+ FrozenIslandTeleport = "frozen-island-teleport",
141
+ MinotaursIslandTeleport = "minotaurs-island-teleport",
142
+ RavenfallSanctuaryTeleport = "ravenfall-sanctuary-teleport",
143
+ ShadowlandsSewerTeleport = "shadowlands-sewer-teleport",
144
+ ShadowlandsTeleport = "shadowlands-teleport",
145
+ TrollsCavesTeleport = "trolls-caves-teleport",
146
+ WildwoodDungeonTeleport = "wildwood-dungeon-teleport",
147
+ LostTempleTeleport = "lost-temple-teleport",
148
+ Bomb = "bomb",
149
+ EmptyCaptureRune = "empty-capture-rune",
150
+ PetRune = "pet-rune",
151
+ PetTreat = "pet-treat"
152
+ }
153
+ export interface ISpell {
154
+ key: SpellsBlueprint;
155
+ name: string;
156
+ description: string;
157
+ textureAtlas?: string;
158
+ texturePath?: string;
159
+ castingType: SpellCastingType;
160
+ magicWords: string;
161
+ manaCost: number;
162
+ castingAnimationKey: string;
163
+ targetHitAnimationKey: string;
164
+ projectileAnimationKey: string;
165
+ onlyPremiumAccountType: UserAccountTypes[];
166
+ minLevelRequired: number;
167
+ minMagicLevelRequired: number;
168
+ minSkillLevelRequired?: number;
169
+ isPVPOnly?: boolean;
170
+ cooldown: number;
171
+ requiredItem?: string;
172
+ characterClass?: CharacterClass[];
173
+ characterRace?: CharacterRaces[];
174
+ attribute?: BasicAttribute | CombatSkill | CraftingSkill | CharacterAttributes;
175
+ maxDistanceGrid?: number;
176
+ usableEffect: (character: any, target?: any, damageBonus?: number) => Promise<boolean> | Promise<void> | void | boolean;
177
+ canSelfTarget?: boolean;
178
+ elementalType?: ElementalType;
179
+ }
180
+ //# sourceMappingURL=spell.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spell.types.d.ts","sourceRoot":"","sources":["../../src/types/spell.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhH,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,C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YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,aAAa,CAAC,EAAE,cAAc,EAAE,CAAC;IACjC,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,EAAE,WAAW,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,OAAO,CAAC;IAC9G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B"}
@@ -0,0 +1,123 @@
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["LearnedSpellsNotification"] = "LearnedSpellsNotification";
13
+ })(SpellSocketEvents || (exports.SpellSocketEvents = SpellSocketEvents = {}));
14
+ var SpellsBlueprint;
15
+ (function (SpellsBlueprint) {
16
+ SpellsBlueprint["SelfHealingSpell"] = "self-healing-spell";
17
+ SpellsBlueprint["FoodCreationSpell"] = "food-creation-spell";
18
+ SpellsBlueprint["ArrowCreationSpell"] = "arrow-creation-spell";
19
+ SpellsBlueprint["BoltCreationSpell"] = "bolt-creation-spell";
20
+ SpellsBlueprint["BlankRuneCreationSpell"] = "blank-rune-creation-spell";
21
+ SpellsBlueprint["SelfHasteSpell"] = "self-haste-spell";
22
+ SpellsBlueprint["FireRuneCreationSpell"] = "fire-rune-creation-spell";
23
+ SpellsBlueprint["HealRuneCreationSpell"] = "healing-rune-creation-spell";
24
+ SpellsBlueprint["PoisonRuneCreationSpell"] = "poison-rune-creation-spell";
25
+ SpellsBlueprint["DarkRuneCreationSpell"] = "dark-rune-creation-spell";
26
+ SpellsBlueprint["GreaterHealingSpell"] = "greater-healing-spell";
27
+ SpellsBlueprint["EnergyBoltRuneCreationSpell"] = "energy-bolt-rune-creation-spell";
28
+ SpellsBlueprint["FireBoltRuneCreationSpell"] = "fire-bolt-rune-creation-spell";
29
+ SpellsBlueprint["FireBoltCreationSpell"] = "fire-bolt-creation-spell";
30
+ SpellsBlueprint["PoisonArrowCreationSpell"] = "poison-arrow-creation-spell";
31
+ SpellsBlueprint["CorruptionRuneCreationSpell"] = "corruption-rune-creation-spell";
32
+ SpellsBlueprint["SpellDivineProtection"] = "spell-divine-protection";
33
+ SpellsBlueprint["SpellPhysicalShield"] = "spell-physical-shield";
34
+ SpellsBlueprint["SpellEagleEyes"] = "spell-eagle-eyes";
35
+ SpellsBlueprint["ThunderRuneCreationSpell"] = "thunder-rune-creation-spell";
36
+ SpellsBlueprint["ThunderAreaRuneCreationSpell"] = "thunder-area-rune-creation-spell";
37
+ SpellsBlueprint["WarriorStunTarget"] = "warrior-stun-target";
38
+ SpellsBlueprint["RogueStealth"] = "rogue-stealth-spell";
39
+ SpellsBlueprint["BerserkerBloodthirst"] = "berserker-bloodthirst";
40
+ SpellsBlueprint["RogueExecution"] = "rogue-execution";
41
+ SpellsBlueprint["WarriorExecution"] = "warrior-execution";
42
+ SpellsBlueprint["HunterExecution"] = "hunter-execution";
43
+ SpellsBlueprint["ManaRegenSpell"] = "auto-mana-regen";
44
+ SpellsBlueprint["HealthRegenSell"] = "auto-health-regen";
45
+ SpellsBlueprint["ManaShield"] = "mana-shield";
46
+ SpellsBlueprint["FortifyDefense"] = "fortify-defense";
47
+ SpellsBlueprint["BerserkerExecution"] = "berserker-execution";
48
+ SpellsBlueprint["HunterQuickFire"] = "hunter-quick-fire";
49
+ SpellsBlueprint["BerserkerFrenzy"] = "berserker-frenzy";
50
+ SpellsBlueprint["DruidShapeshift"] = "druid-shapeshift";
51
+ SpellsBlueprint["BerserkerRage"] = "berserker-rage";
52
+ SpellsBlueprint["Focus"] = "focus";
53
+ SpellsBlueprint["PowerStrike"] = "power-strike";
54
+ SpellsBlueprint["CurseOfWeakness"] = "curse-of-weakness";
55
+ SpellsBlueprint["EntanglingRoots"] = "entangling-roots";
56
+ SpellsBlueprint["SpellPolymorph"] = "spell-polymorph";
57
+ SpellsBlueprint["PickPocket"] = "pick-pocket";
58
+ SpellsBlueprint["DruidSilence"] = "druid-silence";
59
+ SpellsBlueprint["ManaDrain"] = "mana-drain";
60
+ SpellsBlueprint["FrostArrowCreation"] = "frost-arrow-creation";
61
+ SpellsBlueprint["CrimsonArrowCreation"] = "crimson-arrow-creation";
62
+ SpellsBlueprint["EmeraldArrowCreation"] = "emerald-arrow-creation";
63
+ SpellsBlueprint["FireBolt"] = "fire-bolt";
64
+ SpellsBlueprint["FrostBolt"] = "frost-bolt";
65
+ SpellsBlueprint["CorruptionBolt"] = "corruption-bolt";
66
+ SpellsBlueprint["VineGrasp"] = "vine-grasp";
67
+ SpellsBlueprint["MagicShuriken"] = "magic-shuriken";
68
+ SpellsBlueprint["SorcererVeilofUndeath"] = "veil-of-undeath";
69
+ SpellsBlueprint["Teleport"] = "teleport";
70
+ SpellsBlueprint["DwarfStoneform"] = "dwarf-stone-form";
71
+ SpellsBlueprint["ElvenArrow"] = "elven-arrow";
72
+ SpellsBlueprint["ChefsDelight"] = "chefs-delight";
73
+ SpellsBlueprint["OrcDispelMagic"] = "dispel-magic";
74
+ SpellsBlueprint["MinotaurBullStrength"] = "minotaur-bull-strength";
75
+ SpellsBlueprint["FireStorm"] = "fire-storm";
76
+ SpellsBlueprint["MassHealing"] = "mass-healing";
77
+ SpellsBlueprint["FocusSwift"] = "focus-swift";
78
+ SpellsBlueprint["Blizzard"] = "blizzard";
79
+ SpellsBlueprint["Arrowstorm"] = "arrowstorm";
80
+ SpellsBlueprint["OrcArrowStorm"] = "orc-arrowstorm";
81
+ SpellsBlueprint["WildfireVolley"] = "wildfire-volley";
82
+ SpellsBlueprint["NaturesRevenge"] = "natures-revenge";
83
+ SpellsBlueprint["BleedingEdge"] = "bleeding-edge";
84
+ SpellsBlueprint["ArcaneExplosion"] = "arcane-explosion";
85
+ SpellsBlueprint["VampiricStorm"] = "vampiric-storm";
86
+ SpellsBlueprint["CorruptionWave"] = "corruption-wave";
87
+ SpellsBlueprint["CleavingStomp"] = "cleaving-stomp";
88
+ SpellsBlueprint["ShieldBash"] = "shield-bash";
89
+ SpellsBlueprint["EnergyWave"] = "energy-wave";
90
+ SpellsBlueprint["BombCreation"] = "bomb-creation";
91
+ SpellsBlueprint["IronWill"] = "iron-will";
92
+ })(SpellsBlueprint || (exports.SpellsBlueprint = SpellsBlueprint = {}));
93
+ var MagicsBlueprint;
94
+ (function (MagicsBlueprint) {
95
+ MagicsBlueprint["Rune"] = "rune";
96
+ MagicsBlueprint["DarkRune"] = "dark-rune";
97
+ MagicsBlueprint["FireRune"] = "fire-rune";
98
+ MagicsBlueprint["HealRune"] = "heal-rune";
99
+ MagicsBlueprint["PoisonRune"] = "poison-rune";
100
+ MagicsBlueprint["ThunderRune"] = "thunder-rune";
101
+ MagicsBlueprint["ThunderAreaRune"] = "thunder-area-rune";
102
+ MagicsBlueprint["EnergyBoltRune"] = "energy-bolt-rune";
103
+ MagicsBlueprint["FireBoltRune"] = "fire-bolt-rune";
104
+ MagicsBlueprint["CorruptionRune"] = "corruption-rune";
105
+ MagicsBlueprint["WildwoodTeleport"] = "wildwood-teleport";
106
+ MagicsBlueprint["DungeonIlyaTeleport"] = "dungeon-ilya-teleport";
107
+ MagicsBlueprint["DwarfMinesTeleport"] = "dwarf-mines-teleport";
108
+ MagicsBlueprint["FrostIslandCavesTeleport"] = "frost-island-caves-teleport";
109
+ MagicsBlueprint["FrozenCastleDungeonTeleport"] = "frozen-castle-dungeon-teleport";
110
+ MagicsBlueprint["FrozenIslandTeleport"] = "frozen-island-teleport";
111
+ MagicsBlueprint["MinotaursIslandTeleport"] = "minotaurs-island-teleport";
112
+ MagicsBlueprint["RavenfallSanctuaryTeleport"] = "ravenfall-sanctuary-teleport";
113
+ MagicsBlueprint["ShadowlandsSewerTeleport"] = "shadowlands-sewer-teleport";
114
+ MagicsBlueprint["ShadowlandsTeleport"] = "shadowlands-teleport";
115
+ MagicsBlueprint["TrollsCavesTeleport"] = "trolls-caves-teleport";
116
+ MagicsBlueprint["WildwoodDungeonTeleport"] = "wildwood-dungeon-teleport";
117
+ MagicsBlueprint["LostTempleTeleport"] = "lost-temple-teleport";
118
+ MagicsBlueprint["Bomb"] = "bomb";
119
+ MagicsBlueprint["EmptyCaptureRune"] = "empty-capture-rune";
120
+ MagicsBlueprint["PetRune"] = "pet-rune";
121
+ MagicsBlueprint["PetTreat"] = "pet-treat";
122
+ })(MagicsBlueprint || (exports.MagicsBlueprint = MagicsBlueprint = {}));
123
+ //# sourceMappingURL=spell.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spell.types.js","sourceRoot":"","sources":["../../src/types/spell.types.ts"],"names":[],"mappings":";;;AA0CA,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,4DAAuC,CAAA;IACvC,4CAAuB,CAAA;IACvB,sDAAiC,CAAA;IACjC,kDAA6B,CAAA;IAC7B,oDAA+B,CAAA;IAC/B,8DAAyC,CAAA;IACzC,4EAAuD,CAAA;AACzD,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAED,IAAY,eA6EX;AA7ED,WAAY,eAAe;IACzB,0DAAuC,CAAA;IACvC,4DAAyC,CAAA;IACzC,8DAA2C,C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