Skip to content

Commit

Permalink
Add Config.GetEssences.RunDuriel option
Browse files Browse the repository at this point in the history
- Allows running Duriel for extra chance at EoS
  • Loading branch information
theBGuy committed Nov 14, 2024
1 parent 2bd964c commit 925f513
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 14 deletions.
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Amazon.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Assassin.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Barbarian.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Druid.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Necromancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
6 changes: 4 additions & 2 deletions d2bs/kolbot/libs/config/Paladin.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ function LoadConfig () {
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
5 changes: 3 additions & 2 deletions d2bs/kolbot/libs/config/_BaseConfigFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,10 @@
];
Scripts.ClearAnyArea = false; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/txt/areas.txt
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Scripts.GetEssences = false; // Hunt for Essences. Useful for cubing tokens without running all the bosses.
Config.GetEssences.RunDuriel = false; // Run duriel for extra chance at TwistedEssenceofSuffering
Config.GetEssences.MoatMeph = true; // Lure Meph and attempt killing from other side of moat
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Config.GetEssences.FastDiablo = true; // Runs diablo seals without clearing path
Scripts.GemHunter = false; // Hunt for Gem Shrines. add the upgraded gems to your pickit. Upgraded version of gems will be auto-picked
// List of are ids to hunt in. See sdk/txt/areas.txt or use sdk.areas.AreaName see -> \kolbot\libs\modules\sdk.js
Config.GemHunter.AreaList = [
Expand Down
1 change: 1 addition & 0 deletions d2bs/kolbot/libs/core/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ let Config = {
GetEssences: {
MoatMeph: false,
FastDiablo: false,
RunDuriel: false,
},
GemHunter: {
AreaList: [],
Expand Down
8 changes: 8 additions & 0 deletions d2bs/kolbot/libs/scripts/GetEssences.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ const GetEssences = new Runnable(
}
}

if (Config.GetEssences.RunDuriel && count(sdk.quest.item.TwistedEssenceofSuffering) < 1) {
try {
Loader.runScript("Duriel");
} catch (e) {
console.error("ÿc1Duriel failed :: ", e);
}
}

if (count(sdk.quest.item.ChargedEssenceofHatred) < 1) {
try {
Config.Mephisto.MoatTrick = Config.GetEssences.MoatMeph;
Expand Down
1 change: 1 addition & 0 deletions d2bs/kolbot/sdk/types/Config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ declare global {
GetEssences: {
MoatMeph: boolean;
FastDiablo: boolean;
RunDuriel: boolean;
};
AutoSkill: {
Enabled: boolean;
Expand Down

0 comments on commit 925f513

Please sign in to comment.