@rpg-engine/shared 0.5.92 → 0.5.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 +0 -0
- package/dist/constants/date.constants.d.ts +0 -0
- package/dist/constants/date.constants.d.ts.map +0 -0
- package/dist/constants/date.constants.js +0 -0
- package/dist/constants/date.constants.js.map +0 -0
- package/dist/constants/npc.constants.d.ts +0 -0
- package/dist/constants/npc.constants.d.ts.map +0 -0
- package/dist/constants/npc.constants.js +0 -0
- package/dist/constants/npc.constants.js.map +0 -0
- package/dist/constants/socket.constants.d.ts +0 -0
- package/dist/constants/socket.constants.d.ts.map +0 -0
- package/dist/constants/socket.constants.js +0 -0
- package/dist/constants/socket.constants.js.map +0 -0
- package/dist/constants/world.constants.d.ts +0 -0
- package/dist/constants/world.constants.d.ts.map +0 -0
- package/dist/constants/world.constants.js +0 -0
- package/dist/constants/world.constants.js.map +0 -0
- package/dist/helpers/itemSlotHelper.d.ts +0 -0
- package/dist/helpers/itemSlotHelper.d.ts.map +0 -0
- package/dist/helpers/itemSlotHelper.js +0 -0
- package/dist/helpers/itemSlotHelper.js.map +0 -0
- package/dist/helpers/skillHelpers.d.ts +0 -0
- package/dist/helpers/skillHelpers.d.ts.map +0 -0
- package/dist/helpers/skillHelpers.js +0 -0
- package/dist/helpers/skillHelpers.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/libs/GridHelper.d.ts +0 -0
- package/dist/libs/GridHelper.d.ts.map +0 -0
- package/dist/libs/GridHelper.js +0 -0
- package/dist/libs/GridHelper.js.map +0 -0
- package/dist/libs/MathHelper.d.ts +0 -0
- package/dist/libs/MathHelper.d.ts.map +0 -0
- package/dist/libs/MathHelper.js +0 -0
- package/dist/libs/MathHelper.js.map +0 -0
- package/dist/libs/SocketHelper.d.ts +0 -0
- package/dist/libs/SocketHelper.d.ts.map +0 -0
- package/dist/libs/SocketHelper.js +0 -0
- package/dist/libs/SocketHelper.js.map +0 -0
- package/dist/libs/TextHelper.d.ts +0 -0
- package/dist/libs/TextHelper.d.ts.map +0 -0
- package/dist/libs/TextHelper.js +0 -0
- package/dist/libs/TextHelper.js.map +0 -0
- package/dist/libs/TypeHelper.d.ts +0 -0
- package/dist/libs/TypeHelper.d.ts.map +0 -0
- package/dist/libs/TypeHelper.js +0 -0
- package/dist/libs/TypeHelper.js.map +0 -0
- package/dist/translations/app-rate.lang.json +0 -0
- package/dist/translations/assets.lang.json +0 -0
- package/dist/translations/auth.lang.json +0 -0
- package/dist/translations/email.lang.json +0 -0
- package/dist/translations/error.lang.json +0 -0
- package/dist/translations/form.lang.json +0 -0
- package/dist/translations/global.lang.json +0 -0
- package/dist/translations/logs.lang.json +0 -0
- package/dist/translations/onboarding.lang.d.ts +0 -0
- package/dist/translations/onboarding.lang.d.ts.map +0 -0
- package/dist/translations/onboarding.lang.js +0 -0
- package/dist/translations/onboarding.lang.js.map +0 -0
- package/dist/translations/onboarding.lang.json +0 -0
- package/dist/translations/order.lang.json +0 -0
- package/dist/translations/search.lang.json +0 -0
- package/dist/translations/settings.lang.json +0 -0
- package/dist/translations/tabs.lang.json +0 -0
- package/dist/translations/users.lang.json +0 -0
- package/dist/translations/validation.lang.json +0 -0
- package/dist/types/animation.types.d.ts +0 -0
- package/dist/types/animation.types.d.ts.map +0 -0
- package/dist/types/animation.types.js +0 -0
- package/dist/types/animation.types.js.map +0 -0
- package/dist/types/api.types.d.ts +0 -0
- package/dist/types/api.types.d.ts.map +0 -0
- package/dist/types/api.types.js +0 -0
- package/dist/types/api.types.js.map +0 -0
- package/dist/types/asset.types.d.ts +0 -0
- package/dist/types/asset.types.d.ts.map +0 -0
- package/dist/types/asset.types.js +0 -0
- package/dist/types/asset.types.js.map +0 -0
- package/dist/types/auth.types.d.ts +0 -0
- package/dist/types/auth.types.d.ts.map +0 -0
- package/dist/types/auth.types.js +0 -0
- package/dist/types/auth.types.js.map +0 -0
- package/dist/types/battle.types.d.ts +0 -0
- package/dist/types/battle.types.d.ts.map +0 -0
- package/dist/types/battle.types.js +0 -0
- package/dist/types/battle.types.js.map +0 -0
- package/dist/types/character.types.d.ts +0 -0
- package/dist/types/character.types.d.ts.map +0 -0
- package/dist/types/character.types.js +0 -0
- package/dist/types/character.types.js.map +0 -0
- package/dist/types/chat.types.d.ts +0 -0
- package/dist/types/chat.types.d.ts.map +0 -0
- package/dist/types/chat.types.js +0 -0
- package/dist/types/chat.types.js.map +0 -0
- package/dist/types/device.types.d.ts +0 -0
- package/dist/types/device.types.d.ts.map +0 -0
- package/dist/types/device.types.js +0 -0
- package/dist/types/device.types.js.map +0 -0
- package/dist/types/entity.types.d.ts +0 -0
- package/dist/types/entity.types.d.ts.map +0 -0
- package/dist/types/entity.types.js +0 -0
- package/dist/types/entity.types.js.map +0 -0
- package/dist/types/env.types.d.ts +0 -0
- package/dist/types/env.types.d.ts.map +0 -0
- package/dist/types/env.types.js +0 -0
- package/dist/types/env.types.js.map +0 -0
- package/dist/types/equipment.types.d.ts +0 -0
- package/dist/types/equipment.types.d.ts.map +0 -0
- package/dist/types/equipment.types.js +0 -0
- package/dist/types/equipment.types.js.map +0 -0
- package/dist/types/googleOAuth.types.d.ts +0 -0
- package/dist/types/googleOAuth.types.d.ts.map +0 -0
- package/dist/types/googleOAuth.types.js +0 -0
- package/dist/types/googleOAuth.types.js.map +0 -0
- package/dist/types/inventory.types.d.ts +0 -0
- package/dist/types/inventory.types.d.ts.map +0 -0
- package/dist/types/inventory.types.js +0 -0
- package/dist/types/inventory.types.js.map +0 -0
- package/dist/types/item.types.d.ts +0 -0
- package/dist/types/item.types.d.ts.map +0 -0
- package/dist/types/item.types.js +0 -0
- package/dist/types/item.types.js.map +0 -0
- package/dist/types/itemContainer.types.d.ts +0 -0
- package/dist/types/itemContainer.types.d.ts.map +0 -0
- package/dist/types/itemContainer.types.js +0 -0
- package/dist/types/itemContainer.types.js.map +0 -0
- package/dist/types/maps.types.d.ts +0 -0
- package/dist/types/maps.types.d.ts.map +0 -0
- package/dist/types/maps.types.js +0 -0
- package/dist/types/maps.types.js.map +0 -0
- package/dist/types/notification.types.d.ts +0 -0
- package/dist/types/notification.types.d.ts.map +0 -0
- package/dist/types/notification.types.js +0 -0
- package/dist/types/notification.types.js.map +0 -0
- package/dist/types/npc.types.d.ts +0 -0
- package/dist/types/npc.types.d.ts.map +0 -0
- package/dist/types/npc.types.js +0 -0
- package/dist/types/npc.types.js.map +0 -0
- package/dist/types/pagination.types.d.ts +0 -0
- package/dist/types/pagination.types.d.ts.map +0 -0
- package/dist/types/pagination.types.js +0 -0
- package/dist/types/pagination.types.js.map +0 -0
- package/dist/types/places.types.d.ts +0 -0
- package/dist/types/places.types.d.ts.map +0 -0
- package/dist/types/places.types.js +0 -0
- package/dist/types/places.types.js.map +0 -0
- package/dist/types/preloadScene.types.d.ts +0 -0
- package/dist/types/preloadScene.types.d.ts.map +0 -0
- package/dist/types/preloadScene.types.js +0 -0
- package/dist/types/preloadScene.types.js.map +0 -0
- package/dist/types/quest.types.d.ts +0 -0
- package/dist/types/quest.types.d.ts.map +0 -0
- package/dist/types/quest.types.js +0 -0
- package/dist/types/quest.types.js.map +0 -0
- package/dist/types/resource.types.d.ts +0 -0
- package/dist/types/resource.types.d.ts.map +0 -0
- package/dist/types/resource.types.js +0 -0
- package/dist/types/resource.types.js.map +0 -0
- package/dist/types/scene.types.d.ts +0 -0
- package/dist/types/scene.types.d.ts.map +0 -0
- package/dist/types/scene.types.js +0 -0
- package/dist/types/scene.types.js.map +0 -0
- package/dist/types/skills.types.d.ts +37 -0
- package/dist/types/skills.types.d.ts.map +1 -1
- package/dist/types/skills.types.js +50 -1
- package/dist/types/skills.types.js.map +1 -1
- package/dist/types/socket.types.d.ts +0 -0
- package/dist/types/socket.types.d.ts.map +0 -0
- package/dist/types/socket.types.js +0 -0
- package/dist/types/socket.types.js.map +0 -0
- package/dist/types/tiled.types.d.ts +0 -0
- package/dist/types/tiled.types.d.ts.map +0 -0
- package/dist/types/tiled.types.js +0 -0
- package/dist/types/tiled.types.js.map +0 -0
- package/dist/types/trade.types.d.ts +0 -0
- package/dist/types/trade.types.d.ts.map +0 -0
- package/dist/types/trade.types.js +0 -0
- package/dist/types/trade.types.js.map +0 -0
- package/dist/types/translation.types.d.ts +0 -0
- package/dist/types/translation.types.d.ts.map +0 -0
- package/dist/types/translation.types.js +0 -0
- package/dist/types/translation.types.js.map +0 -0
- package/dist/types/ui.types.d.ts +0 -0
- package/dist/types/ui.types.d.ts.map +0 -0
- package/dist/types/ui.types.js +0 -0
- package/dist/types/ui.types.js.map +0 -0
- package/dist/types/useWith.types.d.ts +0 -0
- package/dist/types/useWith.types.d.ts.map +0 -0
- package/dist/types/useWith.types.js +0 -0
- package/dist/types/useWith.types.js.map +0 -0
- package/dist/types/user.types.d.ts +0 -0
- package/dist/types/user.types.d.ts.map +0 -0
- package/dist/types/user.types.js +0 -0
- package/dist/types/user.types.js.map +0 -0
- package/dist/types/validation.types.d.ts +0 -0
- package/dist/types/validation.types.d.ts.map +0 -0
- package/dist/types/validation.types.js +0 -0
- package/dist/types/validation.types.js.map +0 -0
- package/dist/types/view.types.d.ts +0 -0
- package/dist/types/view.types.d.ts.map +0 -0
- package/dist/types/view.types.js +0 -0
- package/dist/types/view.types.js.map +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.d.ts.map
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/index.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/GridHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/MathHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/TextHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/TypeHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/api.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/auth.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/chat.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/env.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/item.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/maps.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/npc.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EntityAttackType } from "./entity.types";
|
|
2
|
+
import { ItemSubType } from "./item.types";
|
|
1
3
|
import { IResource } from "./resource.types";
|
|
2
4
|
export declare enum SkillSocketEvents {
|
|
3
5
|
ExperienceGain = "ExperienceGain",
|
|
@@ -56,4 +58,39 @@ export declare enum SkillType {
|
|
|
56
58
|
Magic = "Magic",
|
|
57
59
|
Misc = "Misc"
|
|
58
60
|
}
|
|
61
|
+
export declare enum CombatSkill {
|
|
62
|
+
First = "first",
|
|
63
|
+
Sword = "sword",
|
|
64
|
+
Dagger = "dagger",
|
|
65
|
+
Axe = "axe",
|
|
66
|
+
Distance = "distance",
|
|
67
|
+
Shielding = "shielding",
|
|
68
|
+
Club = "club"
|
|
69
|
+
}
|
|
70
|
+
export declare enum BasicAttribute {
|
|
71
|
+
Strength = "strength",
|
|
72
|
+
Resistance = "resistance",
|
|
73
|
+
Dexterity = "dexterity",
|
|
74
|
+
Magic = "magic"
|
|
75
|
+
}
|
|
76
|
+
export declare const BASIC_ATTRIBUTES: BasicAttribute[];
|
|
77
|
+
export declare const COMBAT_SKILLS: (EntityAttackType | ItemSubType)[];
|
|
78
|
+
export declare const SKILLS_MAP: Map<string, string>;
|
|
79
|
+
export interface IDecreaseSPResult {
|
|
80
|
+
skillType: string;
|
|
81
|
+
skillName: string;
|
|
82
|
+
skillLevel: number;
|
|
83
|
+
skillPoints: number;
|
|
84
|
+
spToNextLevel: number;
|
|
85
|
+
}
|
|
86
|
+
export interface IIncreaseSPResult {
|
|
87
|
+
skillLevelUp: boolean;
|
|
88
|
+
skillLevel: number;
|
|
89
|
+
skillName: string;
|
|
90
|
+
}
|
|
91
|
+
export interface IIncreaseXPResult {
|
|
92
|
+
level: number;
|
|
93
|
+
previousLevel: number;
|
|
94
|
+
exp: number;
|
|
95
|
+
}
|
|
59
96
|
//# sourceMappingURL=skills.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.types.d.ts","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;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;CAChC;A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AoB;IACnC,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAK5C,CAAA;AAED,eAAO,MAAM,aAAa,oCASzB,CAAC;AAEF,eAAO,MAAM,UAAU,qBAarB,CAAC;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkillType = exports.SkillEventType = exports.SkillSocketEvents = void 0;
|
|
3
|
+
exports.SKILLS_MAP = exports.COMBAT_SKILLS = exports.BASIC_ATTRIBUTES = exports.BasicAttribute = 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");
|
|
4
6
|
var SkillSocketEvents;
|
|
5
7
|
(function (SkillSocketEvents) {
|
|
6
8
|
SkillSocketEvents["ExperienceGain"] = "ExperienceGain";
|
|
@@ -21,4 +23,51 @@ var SkillType;
|
|
|
21
23
|
SkillType["Magic"] = "Magic";
|
|
22
24
|
SkillType["Misc"] = "Misc";
|
|
23
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 BasicAttribute;
|
|
37
|
+
(function (BasicAttribute) {
|
|
38
|
+
BasicAttribute["Strength"] = "strength";
|
|
39
|
+
BasicAttribute["Resistance"] = "resistance";
|
|
40
|
+
BasicAttribute["Dexterity"] = "dexterity";
|
|
41
|
+
BasicAttribute["Magic"] = "magic";
|
|
42
|
+
})(BasicAttribute = exports.BasicAttribute || (exports.BasicAttribute = {}));
|
|
43
|
+
exports.BASIC_ATTRIBUTES = [
|
|
44
|
+
BasicAttribute.Strength,
|
|
45
|
+
BasicAttribute.Resistance,
|
|
46
|
+
BasicAttribute.Dexterity,
|
|
47
|
+
BasicAttribute.Magic,
|
|
48
|
+
];
|
|
49
|
+
exports.COMBAT_SKILLS = [
|
|
50
|
+
entity_types_1.EntityAttackType.None,
|
|
51
|
+
item_types_1.ItemSubType.Sword,
|
|
52
|
+
item_types_1.ItemSubType.Dagger,
|
|
53
|
+
item_types_1.ItemSubType.Axe,
|
|
54
|
+
item_types_1.ItemSubType.Ranged,
|
|
55
|
+
item_types_1.ItemSubType.Spear,
|
|
56
|
+
item_types_1.ItemSubType.Shield,
|
|
57
|
+
item_types_1.ItemSubType.Mace,
|
|
58
|
+
];
|
|
59
|
+
exports.SKILLS_MAP = new Map([
|
|
60
|
+
[entity_types_1.EntityAttackType.None, CombatSkill.First],
|
|
61
|
+
[item_types_1.ItemSubType.Sword, CombatSkill.Sword],
|
|
62
|
+
[item_types_1.ItemSubType.Dagger, CombatSkill.Dagger],
|
|
63
|
+
[item_types_1.ItemSubType.Axe, CombatSkill.Axe],
|
|
64
|
+
[item_types_1.ItemSubType.Ranged, CombatSkill.Distance],
|
|
65
|
+
[item_types_1.ItemSubType.Spear, CombatSkill.Distance],
|
|
66
|
+
[item_types_1.ItemSubType.Shield, CombatSkill.Shielding],
|
|
67
|
+
[item_types_1.ItemSubType.Mace, CombatSkill.Club],
|
|
68
|
+
[BasicAttribute.Strength, BasicAttribute.Strength],
|
|
69
|
+
[BasicAttribute.Resistance, BasicAttribute.Resistance],
|
|
70
|
+
[BasicAttribute.Dexterity, BasicAttribute.Dexterity],
|
|
71
|
+
[BasicAttribute.Magic, BasicAttribute.Magic],
|
|
72
|
+
]);
|
|
24
73
|
//# sourceMappingURL=skills.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":";;;AAAA,iDAAkD;AAClD,6CAA2C;AAG3C,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;IACjC,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;AACvB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cA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W,CAAC,MAAM,CAAC;IACxC,CAAC,wBAAW,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC;IAClC,CAAC,wBAAW,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC;IAC1C,CAAC,wBAAW,CAAC,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC;IACzC,CAAC,wBAAW,CAAC,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC;IAC3C,CAAC,wBAAW,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC,cAAc,CAAC,QAAQ,EAAE,cAAc,CAAC,QAAQ,CAAC;IAClD,CAAC,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,UAAU,CAAC;IACtD,CAAC,cAAc,CAAC,SAAS,EAAE,cAAc,CAAC,SAAS,CAAC;IACpD,CAAC,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC;CAC7C,CAAC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/ui.types.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/types/ui.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/user.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/view.types.js
CHANGED
|
File without changes
|
|
File without changes
|