Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for NTItemAlias.dbl #1512

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions d2bs/kolbot/libs/NTItemAlias.dbl
Original file line number Diff line number Diff line change
Expand Up @@ -1108,10 +1108,10 @@ NTIPAliasStat["skillsummonspiritwolf"] = [107,227];
NTIPAliasStat["skillwerebear"] = [107,228];
NTIPAliasStat["skillmoltenboulder"] = [107,229];
NTIPAliasStat["skillarcticblast"] = [107,230];
NTIPAliasStat["skillfissure"] = [107,231];
NTIPAliasStat["skillcarrionvine"] = [107,231];
NTIPAliasStat["skillferalrage"] = [107,232];
NTIPAliasStat["skillmaul"] = [107,233];
NTIPAliasStat["skillcarrionvine"] = [107,234];
NTIPAliasStat["skillfissure"] = [107,234];
NTIPAliasStat["skillcyclonearmor"] = [107,235];
NTIPAliasStat["skillheartofwolverine"] = [107,236];
NTIPAliasStat["skillsummondirewolf"] = [107,237];
Expand Down
6 changes: 6 additions & 0 deletions d2bs/kolbot/libs/bots/BaalHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ WSKLoop:
return true;
}

if (Config.BaalHelper.SoulQuit && getUnit(1, 641)) {
print("Burning Souls found.");

return true;
}

Precast.doPrecast(false);
Attack.clear(15);
this.clearThrone();
Expand Down
25 changes: 25 additions & 0 deletions d2bs/kolbot/libs/bots/CreepingFeature.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* @filename CreepingFeature.js
* @author 3CoRmEuM
* @desc clear Creeping Feature
*/

function CreepingFeature() {
Town.doChores();
Pather.useWaypoint(Config.RandomPrecast ? "random" : 42);
Precast.doPrecast(true);

if (me.area !== 42) {
Pather.useWaypoint(42);
}

if (!(Pather.moveToExit([41, 55, 59], true) && Pather.moveToPreset(me.area, 1, 748))) {

throw new Error("Failed to move to Creeping Feature");
}

Attack.clear(20, Config.ClearType, getLocaleString(2883)); // Creeping Feature
Pickit.pickItems();

return true;
}
1 change: 1 addition & 0 deletions d2bs/kolbot/libs/common/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ var Config = {
KillNihlathak: false,
FastChaos: false,
DollQuit: false,
SoulQuit: false,
KillBaal: false,
SkipTP: false
},
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Amazon.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Assassin.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Barbarian.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Druid.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Necromancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Paladin.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down
2 changes: 2 additions & 0 deletions d2bs/kolbot/libs/config/Sorceress.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function LoadConfig() {

// *** act 2 ***
Scripts.Radament = false;
Scripts.CreepingFeature = false;
Scripts.Coldworm = false;
Config.Coldworm.KillBeetleburst = false;
Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
Expand Down Expand Up @@ -148,6 +149,7 @@ function LoadConfig() {
Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
Config.BaalHelper.SoulQuit = false; // End script if Souls (Burning Souls) are found.
Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
Expand Down