osrs-tools 2.5.3 → 2.5.4
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/dist/runescape/model/slayer/Masters.js +6 -101
- package/dist/runescape/model/slayer/index.d.ts +10 -10
- package/dist/runescape/model/slayer/index.d.ts.map +1 -1
- package/dist/runescape/model/slayer/index.js +8 -8
- package/dist/runescape/model/slayer/masters/index.d.ts +19 -19
- package/dist/runescape/model/slayer/masters/index.d.ts.map +1 -1
- package/dist/runescape/model/slayer/masters/index.js +20 -20
- package/dist/runescape/model/slayer/masters/registry.d.ts +1 -1
- package/dist/runescape/model/slayer/masters/registry.d.ts.map +1 -1
- package/dist/runescape/model/slayer/masters/registry.js +1 -1
- package/dist/runescape/model/slayer/masters.d.ts +8 -0
- package/dist/runescape/model/slayer/masters.d.ts.map +1 -0
- package/dist/runescape/model/slayer/tasks/index.d.ts +11 -11
- package/dist/runescape/model/slayer/tasks/index.js +11 -11
- package/package.json +1 -1
|
@@ -1,101 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { nieveTasks } from './task/NieveTasks';
|
|
8
|
-
import { spriaTasks } from './task/SpriaTasks';
|
|
9
|
-
import { turealTasks } from './task/TurealTasks';
|
|
10
|
-
import { vannakaTasks } from './task/VannakaTasks';
|
|
11
|
-
// TODO: Add the rest of the tasks for each master
|
|
12
|
-
// TODO: Add the rest of the masters
|
|
13
|
-
// TODO: Ensure points are correct
|
|
14
|
-
// Mazchna: https://oldschool.runescape.wiki/w/Mazchna
|
|
15
|
-
export const Mazchna = new SlayerMaster('Mazchna', mazchnaTasks, 'Canifis', 0, 'https://oldschool.runescape.wiki/w/Mazchna', {
|
|
16
|
-
1: 2,
|
|
17
|
-
10: 5,
|
|
18
|
-
100: 50,
|
|
19
|
-
1000: 100,
|
|
20
|
-
250: 70,
|
|
21
|
-
50: 15,
|
|
22
|
-
}, undefined);
|
|
23
|
-
// Spria: https://oldschool.runescape.wiki/w/Spria
|
|
24
|
-
export const Spria = new SlayerMaster('Spria', spriaTasks, 'Draynor Village', 0, 'https://oldschool.runescape.wiki/w/Spria', {
|
|
25
|
-
1: 2,
|
|
26
|
-
10: 5,
|
|
27
|
-
100: 50,
|
|
28
|
-
1000: 100,
|
|
29
|
-
250: 70,
|
|
30
|
-
50: 15,
|
|
31
|
-
}, undefined);
|
|
32
|
-
// Tureal: https://oldschool.runescape.wiki/w/Turael
|
|
33
|
-
export const Turael = new SlayerMaster('Turael', turealTasks, 'Burthope', 0, 'https://oldschool.runescape.wiki/w/Turael', {
|
|
34
|
-
1: 2,
|
|
35
|
-
10: 5,
|
|
36
|
-
100: 50,
|
|
37
|
-
1000: 100,
|
|
38
|
-
250: 70,
|
|
39
|
-
50: 15,
|
|
40
|
-
}, undefined);
|
|
41
|
-
// Vannaka: https://oldschool.runescape.wiki/w/Vannaka
|
|
42
|
-
export const Vannaka = new SlayerMaster('Vannaka', vannakaTasks, 'Edgeville Dungeon', 0, 'https://oldschool.runescape.wiki/w/Vannaka', {
|
|
43
|
-
1: 2,
|
|
44
|
-
10: 5,
|
|
45
|
-
100: 50,
|
|
46
|
-
1000: 100,
|
|
47
|
-
250: 70,
|
|
48
|
-
50: 15,
|
|
49
|
-
}, undefined);
|
|
50
|
-
// Konar Quo Maten: https://oldschool.runescape.wiki/w/Konar_Quo_Maten
|
|
51
|
-
export const KonarQuoMaten = new SlayerMaster('Konar Quo Maten', konarTasks, 'Mount Karuulm', 0, 'https://oldschool.runescape.wiki/w/Konar_Quo_Maten', {
|
|
52
|
-
1: 2,
|
|
53
|
-
10: 5,
|
|
54
|
-
100: 50,
|
|
55
|
-
1000: 100,
|
|
56
|
-
250: 70,
|
|
57
|
-
50: 15,
|
|
58
|
-
}, undefined);
|
|
59
|
-
// Krystilia: https://oldschool.runescape.wiki/w/Krystilia
|
|
60
|
-
export const Krystilia = new SlayerMaster('Krystilia', krystiliaTasks, 'Edgeville', 0, 'https://oldschool.runescape.wiki/w/Krystilia', {
|
|
61
|
-
1: 2,
|
|
62
|
-
10: 5,
|
|
63
|
-
100: 50,
|
|
64
|
-
1000: 100,
|
|
65
|
-
250: 70,
|
|
66
|
-
50: 15,
|
|
67
|
-
}, undefined);
|
|
68
|
-
// Nieve: https://oldschool.runescape.wiki/w/Nieve
|
|
69
|
-
export const Nieve = new SlayerMaster('Nieve', nieveTasks, "Nieve's Cave", 0, 'https://oldschool.runescape.wiki/w/Nieve', {
|
|
70
|
-
1: 12,
|
|
71
|
-
10: 60,
|
|
72
|
-
100: 300,
|
|
73
|
-
1000: 600,
|
|
74
|
-
250: 420,
|
|
75
|
-
50: 180,
|
|
76
|
-
}, {
|
|
77
|
-
1: 15,
|
|
78
|
-
10: 75,
|
|
79
|
-
100: 375,
|
|
80
|
-
1000: 750,
|
|
81
|
-
250: 525,
|
|
82
|
-
50: 225,
|
|
83
|
-
});
|
|
84
|
-
// Duradel: https://oldschool.runescape.wiki/w/Duradel
|
|
85
|
-
export const Duradel = new SlayerMaster('Duradel', duradelTasks, 'Shilo Village', 85, 'https://oldschool.runescape.wiki/w/Duradel', {
|
|
86
|
-
1: 15,
|
|
87
|
-
10: 75,
|
|
88
|
-
100: 375,
|
|
89
|
-
1000: 750,
|
|
90
|
-
250: 525,
|
|
91
|
-
50: 225,
|
|
92
|
-
}, undefined);
|
|
93
|
-
// Chaeldar: https://oldschool.runescape.wiki/w/Chaeldar
|
|
94
|
-
export const Chaeldar = new SlayerMaster('Chaeldar', chaeldarTasks, 'Zanaris', 0, 'https://oldschool.runescape.wiki/w/Chaeldar', {
|
|
95
|
-
1: 10,
|
|
96
|
-
10: 50,
|
|
97
|
-
100: 250,
|
|
98
|
-
1000: 500,
|
|
99
|
-
250: 350,
|
|
100
|
-
50: 150,
|
|
101
|
-
}, undefined);
|
|
1
|
+
/**
|
|
2
|
+
* Slayer Masters Module - Barrel Export
|
|
3
|
+
* Re-exports all masters and utilities from the masters directory
|
|
4
|
+
*/
|
|
5
|
+
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, } from "./masters/index";
|
|
6
|
+
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression, registerMaster, initializeMastersRegistry, } from "./masters/registry";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Complete slayer system including masters, tasks, rewards, and utilities
|
|
4
4
|
* Reference: https://oldschool.runescape.wiki/w/Slayer
|
|
5
5
|
*/
|
|
6
|
-
export { SlayerMaster, Task, Assignment } from
|
|
7
|
-
export type { TaskDefinition, TaskQuantity, SlayerMasterConfig, TaskOptions } from
|
|
8
|
-
export { SlayerLocation, SlayerBoss, POINTS_TABLE, TASK_DEFAULTS } from
|
|
9
|
-
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from
|
|
10
|
-
export type { SlayerMasterProgression } from
|
|
11
|
-
export { SlayerUnlock, SlayerExtend, SlayerBuy } from
|
|
12
|
-
export { SLAYER_UNLOCKS, SLAYER_EXTENDS, SLAYER_BUYS } from
|
|
13
|
-
export { getUnlockByName, getUnlocksByCostRange, calculateUnlocksCost, getExtendByName, getExtendsForTask, getBuyByItem, getBuysByCostRange, getBuysByRequirement, calculateBuysCost } from
|
|
14
|
-
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType } from
|
|
15
|
-
export { TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from
|
|
6
|
+
export { SlayerMaster, Task, Assignment } from "./core";
|
|
7
|
+
export type { TaskDefinition, TaskQuantity, SlayerMasterConfig, TaskOptions } from "./core";
|
|
8
|
+
export { SlayerLocation, SlayerBoss, POINTS_TABLE, TASK_DEFAULTS } from "./core";
|
|
9
|
+
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, } from "./masters";
|
|
10
|
+
export type { SlayerMasterProgression } from "./masters";
|
|
11
|
+
export { SlayerUnlock, SlayerExtend, SlayerBuy } from "./rewards";
|
|
12
|
+
export { SLAYER_UNLOCKS, SLAYER_EXTENDS, SLAYER_BUYS } from "./rewards";
|
|
13
|
+
export { getUnlockByName, getUnlocksByCostRange, calculateUnlocksCost, getExtendByName, getExtendsForTask, getBuyByItem, getBuysByCostRange, getBuysByRequirement, calculateBuysCost } from "./rewards";
|
|
14
|
+
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType } from "./tasks";
|
|
15
|
+
export { TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from "./tasks";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/runescape/model/slayer/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAGjF,OAAO,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,aAAa,EACb,KAAK,EACL,OAAO,EACP,SAAS,EACT,eAAe,EACf,aAAa,EACb,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/runescape/model/slayer/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAGjF,OAAO,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,aAAa,EACb,KAAK,EACL,OAAO,EACP,SAAS,EACT,eAAe,EACf,aAAa,EACb,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAGzD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGxM,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Reference: https://oldschool.runescape.wiki/w/Slayer
|
|
5
5
|
*/
|
|
6
6
|
// ===== Core Classes (Refactored) =====
|
|
7
|
-
export { SlayerMaster, Task, Assignment } from
|
|
8
|
-
export { SlayerLocation, SlayerBoss, POINTS_TABLE, TASK_DEFAULTS } from
|
|
7
|
+
export { SlayerMaster, Task, Assignment } from "./core";
|
|
8
|
+
export { SlayerLocation, SlayerBoss, POINTS_TABLE, TASK_DEFAULTS } from "./core";
|
|
9
9
|
// ===== Slayer Masters =====
|
|
10
|
-
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from
|
|
10
|
+
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, } from "./masters";
|
|
11
11
|
// ===== Rewards =====
|
|
12
|
-
export { SlayerUnlock, SlayerExtend, SlayerBuy } from
|
|
13
|
-
export { SLAYER_UNLOCKS, SLAYER_EXTENDS, SLAYER_BUYS } from
|
|
14
|
-
export { getUnlockByName, getUnlocksByCostRange, calculateUnlocksCost, getExtendByName, getExtendsForTask, getBuyByItem, getBuysByCostRange, getBuysByRequirement, calculateBuysCost } from
|
|
12
|
+
export { SlayerUnlock, SlayerExtend, SlayerBuy } from "./rewards";
|
|
13
|
+
export { SLAYER_UNLOCKS, SLAYER_EXTENDS, SLAYER_BUYS } from "./rewards";
|
|
14
|
+
export { getUnlockByName, getUnlocksByCostRange, calculateUnlocksCost, getExtendByName, getExtendsForTask, getBuyByItem, getBuysByCostRange, getBuysByRequirement, calculateBuysCost } from "./rewards";
|
|
15
15
|
// ===== Tasks & Utilities =====
|
|
16
|
-
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType } from
|
|
17
|
-
export { TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from
|
|
16
|
+
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType } from "./tasks";
|
|
17
|
+
export { TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from "./tasks";
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
* Slayer Masters Module
|
|
3
3
|
* Exports all Slayer master instances and utilities
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
export { Turael } from
|
|
15
|
-
export { Spria } from
|
|
16
|
-
export { Mazchna } from
|
|
17
|
-
export { Vannaka } from
|
|
18
|
-
export { Chaeldar } from
|
|
19
|
-
export { KonarQuoMaten } from
|
|
20
|
-
export { Nieve } from
|
|
21
|
-
export { Duradel } from
|
|
22
|
-
export { Krystilia } from
|
|
23
|
-
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression } from
|
|
5
|
+
import "./Turael";
|
|
6
|
+
import "./Spria";
|
|
7
|
+
import "./Mazchna";
|
|
8
|
+
import "./Vannaka";
|
|
9
|
+
import "./Chaeldar";
|
|
10
|
+
import "./KonarQuoMaten";
|
|
11
|
+
import "./Nieve";
|
|
12
|
+
import "./Duradel";
|
|
13
|
+
import "./Krystilia";
|
|
14
|
+
export { Turael } from "./Turael";
|
|
15
|
+
export { Spria } from "./Spria";
|
|
16
|
+
export { Mazchna } from "./Mazchna";
|
|
17
|
+
export { Vannaka } from "./Vannaka";
|
|
18
|
+
export { Chaeldar } from "./Chaeldar";
|
|
19
|
+
export { KonarQuoMaten } from "./KonarQuoMaten";
|
|
20
|
+
export { Nieve } from "./Nieve";
|
|
21
|
+
export { Duradel } from "./Duradel";
|
|
22
|
+
export { Krystilia } from "./Krystilia";
|
|
23
|
+
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression } from "./registry";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/runescape/model/slayer/masters/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH,OAAO,UAAU,CAAC;AAClB,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,WAAW,CAAC;AACnB,OAAO,YAAY,CAAC;AACpB,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/runescape/model/slayer/masters/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH,OAAO,UAAU,CAAC;AAClB,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,WAAW,CAAC;AACnB,OAAO,YAAY,CAAC;AACpB,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
* Exports all Slayer master instances and utilities
|
|
4
4
|
*/
|
|
5
5
|
// Ensure registry is initialized first
|
|
6
|
-
import { initializeMastersRegistry } from
|
|
6
|
+
import { initializeMastersRegistry, } from "./registry";
|
|
7
7
|
// Import all masters (in order of progression - beginner to elite)
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
8
|
+
import "./Turael"; // Combat 1
|
|
9
|
+
import "./Spria"; // Combat 1
|
|
10
|
+
import "./Mazchna"; // Combat 20
|
|
11
|
+
import "./Vannaka"; // Combat 40
|
|
12
|
+
import "./Chaeldar"; // Combat 70
|
|
13
|
+
import "./KonarQuoMaten"; // Combat 75
|
|
14
|
+
import "./Nieve"; // Combat 85
|
|
15
|
+
import "./Duradel"; // Combat 50 (but elite rewards)
|
|
16
|
+
import "./Krystilia"; // Combat 1 (Wilderness)
|
|
17
17
|
// Export individual masters
|
|
18
|
-
export { Turael } from
|
|
19
|
-
export { Spria } from
|
|
20
|
-
export { Mazchna } from
|
|
21
|
-
export { Vannaka } from
|
|
22
|
-
export { Chaeldar } from
|
|
23
|
-
export { KonarQuoMaten } from
|
|
24
|
-
export { Nieve } from
|
|
25
|
-
export { Duradel } from
|
|
26
|
-
export { Krystilia } from
|
|
18
|
+
export { Turael } from "./Turael";
|
|
19
|
+
export { Spria } from "./Spria";
|
|
20
|
+
export { Mazchna } from "./Mazchna";
|
|
21
|
+
export { Vannaka } from "./Vannaka";
|
|
22
|
+
export { Chaeldar } from "./Chaeldar";
|
|
23
|
+
export { KonarQuoMaten } from "./KonarQuoMaten";
|
|
24
|
+
export { Nieve } from "./Nieve";
|
|
25
|
+
export { Duradel } from "./Duradel";
|
|
26
|
+
export { Krystilia } from "./Krystilia";
|
|
27
27
|
// Export registry utilities and types
|
|
28
|
-
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression } from
|
|
28
|
+
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression } from "./registry";
|
|
29
29
|
// Initialize the registry on module load
|
|
30
30
|
initializeMastersRegistry();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Slayer Masters Registry and Utilities
|
|
3
3
|
* Provides centralized access to all Slayer masters and core functions
|
|
4
4
|
*/
|
|
5
|
-
import { SlayerMaster } from
|
|
5
|
+
import { SlayerMaster } from "../core/SlayerMaster";
|
|
6
6
|
/**
|
|
7
7
|
* Initialize and get the masters registry
|
|
8
8
|
* This is called lazily to avoid circular dependencies
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../source/runescape/model/slayer/masters/registry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CASrE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAGtE;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,YAAY,EAAE,CAG9C;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAGzD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,EAAE,CAEtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,EAAE,CAExD;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAIhF;AAED;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../source/runescape/model/slayer/masters/registry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CASrE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAGtE;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,YAAY,EAAE,CAG9C;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAGzD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,EAAE,CAEtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,EAAE,CAExD;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAIhF;AAED;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,MAAM,WAAW,CAAE,WAAW;IAC9B,OAAO,YAAY,CAAE,YAAY;IACjC,OAAO,YAAY,CAAE,YAAY;IACjC,QAAQ,aAAa,CAAE,YAAY;IACnC,KAAK,oBAAoB,CAAE,YAAY;IACvC,KAAK,UAAU,CAAE,YAAY;IAC7B,OAAO,YAAY,CAAE,YAAY;IACjC,SAAS,cAAc;CACxB"}
|
|
@@ -42,7 +42,7 @@ export function registerMaster(master) {
|
|
|
42
42
|
* Get all masters by minimum combat level
|
|
43
43
|
*/
|
|
44
44
|
export function getMastersByMinimumLevel(level) {
|
|
45
|
-
return getAllMasters().filter(master => master.getMinimumCombatLevel() <= level);
|
|
45
|
+
return getAllMasters().filter((master) => master.getMinimumCombatLevel() <= level);
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* Get all masters sorted by progression (combat level)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slayer Masters Module - Barrel Export
|
|
3
|
+
* Re-exports all masters and utilities from the masters directory
|
|
4
|
+
*/
|
|
5
|
+
export { Turael, Spria, Mazchna, Vannaka, Chaeldar, KonarQuoMaten, Nieve, Duradel, Krystilia, } from "./masters/index";
|
|
6
|
+
export { getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel, SlayerMasterProgression, registerMaster, initializeMastersRegistry, } from "./masters/registry";
|
|
7
|
+
export type { SlayerMasterProgression as SlayerMasterProgressionType } from "./masters/registry";
|
|
8
|
+
//# sourceMappingURL=masters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"masters.d.ts","sourceRoot":"","sources":["../../../../source/runescape/model/slayer/masters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,aAAa,EACb,KAAK,EACL,OAAO,EACP,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EACf,aAAa,EACb,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,uBAAuB,IAAI,2BAA2B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* Slayer Tasks Module
|
|
3
3
|
* Exports all task files and utilities
|
|
4
4
|
*/
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType, TASK_LOCATIONS, TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from
|
|
15
|
-
export { initializeMastersRegistry, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from
|
|
5
|
+
export * from "../task/DuradelTasks";
|
|
6
|
+
export * from "../task/KonarTasks";
|
|
7
|
+
export * from "../task/NieveTasks";
|
|
8
|
+
export * from "../task/ChaelderTasks";
|
|
9
|
+
export * from "../task/KrystiliaTasks";
|
|
10
|
+
export * from "../task/MazchnaTasks";
|
|
11
|
+
export * from "../task/SpriaTasks";
|
|
12
|
+
export * from "../task/TurealTasks";
|
|
13
|
+
export * from "../task/VannakaTasks";
|
|
14
|
+
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType, TASK_LOCATIONS, TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from "./constants";
|
|
15
|
+
export { initializeMastersRegistry, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from "../masters/registry";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Exports all task files and utilities
|
|
4
4
|
*/
|
|
5
5
|
// Task data exports
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
6
|
+
export * from "../task/DuradelTasks";
|
|
7
|
+
export * from "../task/KonarTasks";
|
|
8
|
+
export * from "../task/NieveTasks";
|
|
9
|
+
export * from "../task/ChaelderTasks";
|
|
10
|
+
export * from "../task/KrystiliaTasks";
|
|
11
|
+
export * from "../task/MazchnaTasks";
|
|
12
|
+
export * from "../task/SpriaTasks";
|
|
13
|
+
export * from "../task/TurealTasks";
|
|
14
|
+
export * from "../task/VannakaTasks";
|
|
15
15
|
// Constants and utilities
|
|
16
|
-
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType, TASK_LOCATIONS, TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from
|
|
16
|
+
export { SLAYER_EXP_RATES, STANDARD_TASK_WEIGHTS, MonsterType, TASK_LOCATIONS, TASK_QUANTITY_PRESETS, EXTENDED_QUANTITY_PRESETS } from "./constants";
|
|
17
17
|
// Registry utilities
|
|
18
|
-
export { initializeMastersRegistry, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from
|
|
18
|
+
export { initializeMastersRegistry, getMasterByName, getAllMasters, getMastersByMinimumLevel, getMastersByProgression, getRandomMasterForLevel } from "../masters/registry";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "osrs-tools",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|