From b6e1c232ae3eb476ea1e32f9177a9c2800587191 Mon Sep 17 00:00:00 2001 From: tc85 Date: Sun, 14 Jul 2019 09:36:35 +0200 Subject: [PATCH] Add script to run River of Flames --- d2bs/kolbot/libs/bots/RiverOfFlame.js | 17 +++++++++++++++++ d2bs/kolbot/libs/config/Amazon.js | 1 + d2bs/kolbot/libs/config/Assassin.js | 1 + d2bs/kolbot/libs/config/Barbarian.js | 1 + d2bs/kolbot/libs/config/Druid.js | 1 + d2bs/kolbot/libs/config/Necromancer.js | 1 + d2bs/kolbot/libs/config/Paladin.js | 1 + d2bs/kolbot/libs/config/Sorceress.js | 1 + 8 files changed, 24 insertions(+) create mode 100644 d2bs/kolbot/libs/bots/RiverOfFlame.js diff --git a/d2bs/kolbot/libs/bots/RiverOfFlame.js b/d2bs/kolbot/libs/bots/RiverOfFlame.js new file mode 100644 index 000000000..417f83332 --- /dev/null +++ b/d2bs/kolbot/libs/bots/RiverOfFlame.js @@ -0,0 +1,17 @@ +/** +* @filename RiverOfFlame.js +* @author tc85 +* @desc Clear the River of Flame +*/ + +function RiverOfFlame() { + Town.doChores(); + Pather.useWaypoint(106); + Precast.doPrecast(true); + + if (Pather.moveToExit(107, true)) { + Attack.clearLevel(Config.ClearType); + } + + return true; +} \ No newline at end of file diff --git a/d2bs/kolbot/libs/config/Amazon.js b/d2bs/kolbot/libs/config/Amazon.js index 9f68b5c6d..4f81a6e0b 100644 --- a/d2bs/kolbot/libs/config/Amazon.js +++ b/d2bs/kolbot/libs/config/Amazon.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Assassin.js b/d2bs/kolbot/libs/config/Assassin.js index 0d83d23d2..c75154cbc 100644 --- a/d2bs/kolbot/libs/config/Assassin.js +++ b/d2bs/kolbot/libs/config/Assassin.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Barbarian.js b/d2bs/kolbot/libs/config/Barbarian.js index b685132cc..cf0df3fba 100644 --- a/d2bs/kolbot/libs/config/Barbarian.js +++ b/d2bs/kolbot/libs/config/Barbarian.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Druid.js b/d2bs/kolbot/libs/config/Druid.js index 2f8e58e5c..530cabfa5 100644 --- a/d2bs/kolbot/libs/config/Druid.js +++ b/d2bs/kolbot/libs/config/Druid.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Necromancer.js b/d2bs/kolbot/libs/config/Necromancer.js index 81095c4e6..9cfa24899 100644 --- a/d2bs/kolbot/libs/config/Necromancer.js +++ b/d2bs/kolbot/libs/config/Necromancer.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Paladin.js b/d2bs/kolbot/libs/config/Paladin.js index b13f3ca3e..121164d79 100644 --- a/d2bs/kolbot/libs/config/Paladin.js +++ b/d2bs/kolbot/libs/config/Paladin.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false; diff --git a/d2bs/kolbot/libs/config/Sorceress.js b/d2bs/kolbot/libs/config/Sorceress.js index 296430fd3..159058aad 100644 --- a/d2bs/kolbot/libs/config/Sorceress.js +++ b/d2bs/kolbot/libs/config/Sorceress.js @@ -78,6 +78,7 @@ function LoadConfig() { // *** act 4 *** Scripts.OuterSteppes = false; Scripts.Izual = false; + Scripts.RiverOfFlame = false; Scripts.Hephasto = false; Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only. Scripts.FastDiablo = false;