diff --git a/d2bs/kolbot/libs/common/Config.js b/d2bs/kolbot/libs/common/Config.js index b96799d68..a85708197 100644 --- a/d2bs/kolbot/libs/common/Config.js +++ b/d2bs/kolbot/libs/common/Config.js @@ -263,6 +263,7 @@ var Config = { LowManaSkill: [], CustomAttack: {}, TeleStomp: false, + NoTele: false, ClearType: false, ClearPath: false, BossPriority: false, diff --git a/d2bs/kolbot/libs/common/Pather.js b/d2bs/kolbot/libs/common/Pather.js index f9514dea0..3af3c92db 100644 --- a/d2bs/kolbot/libs/common/Pather.js +++ b/d2bs/kolbot/libs/common/Pather.js @@ -118,7 +118,7 @@ var Pather = { recursion: true, useTeleport: function () { - return this.teleport && !me.getState(139) && !me.getState(140) && !me.inTown && ((me.classid === 1 && me.getSkill(54, 1)) || me.getStat(97, 54)); + return this.teleport && !Config.NoTele && !me.getState(139) && !me.getState(140) && !me.inTown && ((me.classid === 1 && me.getSkill(54, 1)) || me.getStat(97, 54)); }, /* diff --git a/d2bs/kolbot/libs/config/Amazon.js b/d2bs/kolbot/libs/config/Amazon.js index 89f07f635..9a4c58c7d 100644 --- a/d2bs/kolbot/libs/config/Amazon.js +++ b/d2bs/kolbot/libs/config/Amazon.js @@ -504,6 +504,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.Dodge = false; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger. Config.DodgeRange = 15; // Distance to keep from monsters. Config.DodgeHP = 100; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge. diff --git a/d2bs/kolbot/libs/config/Assassin.js b/d2bs/kolbot/libs/config/Assassin.js index 425491951..8c5c32c0b 100644 --- a/d2bs/kolbot/libs/config/Assassin.js +++ b/d2bs/kolbot/libs/config/Assassin.js @@ -505,6 +505,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.Dodge = false; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger. Config.DodgeRange = 15; // Distance to keep from monsters. Config.DodgeHP = 100; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge. diff --git a/d2bs/kolbot/libs/config/Barbarian.js b/d2bs/kolbot/libs/config/Barbarian.js index ba8581b30..8807dcd2c 100644 --- a/d2bs/kolbot/libs/config/Barbarian.js +++ b/d2bs/kolbot/libs/config/Barbarian.js @@ -501,6 +501,7 @@ function LoadConfig() { //"Monster Name": [-1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all diff --git a/d2bs/kolbot/libs/config/Druid.js b/d2bs/kolbot/libs/config/Druid.js index cdbe5881c..7d3efff91 100644 --- a/d2bs/kolbot/libs/config/Druid.js +++ b/d2bs/kolbot/libs/config/Druid.js @@ -504,6 +504,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all Config.TeleStomp = false; // Use merc to attack bosses if they're immune to attacks, but not to physical damage diff --git a/d2bs/kolbot/libs/config/Necromancer.js b/d2bs/kolbot/libs/config/Necromancer.js index 1e2e84c82..ed9237266 100644 --- a/d2bs/kolbot/libs/config/Necromancer.js +++ b/d2bs/kolbot/libs/config/Necromancer.js @@ -504,6 +504,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.Dodge = false; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger. Config.DodgeRange = 15; // Distance to keep from monsters. Config.DodgeHP = 100; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge. diff --git a/d2bs/kolbot/libs/config/Paladin.js b/d2bs/kolbot/libs/config/Paladin.js index 22f64187e..ccd01880f 100644 --- a/d2bs/kolbot/libs/config/Paladin.js +++ b/d2bs/kolbot/libs/config/Paladin.js @@ -504,6 +504,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all diff --git a/d2bs/kolbot/libs/config/Sorceress.js b/d2bs/kolbot/libs/config/Sorceress.js index 6852b39a5..22ebed761 100644 --- a/d2bs/kolbot/libs/config/Sorceress.js +++ b/d2bs/kolbot/libs/config/Sorceress.js @@ -505,6 +505,7 @@ function LoadConfig() { //"Monster Name": [-1, -1] }; + Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars Config.Dodge = false; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger. Config.DodgeRange = 15; // Distance to keep from monsters. Config.DodgeHP = 100; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge.