From f47e06da02a1857357597d1be84f0eb9b3303d9a Mon Sep 17 00:00:00 2001 From: Badhad <46411657+BadHad@users.noreply.github.com> Date: Sun, 21 Mar 2021 21:39:13 -0400 Subject: [PATCH 1/2] Adventurer.kt - Adjustments to some rates to make them use POI's more and Immerse more frequently. --- .../rs09/game/ai/general/scriptrepository/Adventurer.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt index 344386c7d..e5d2964ca 100644 --- a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt +++ b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt @@ -935,7 +935,7 @@ class Adventurer(val style: CombatStyle): Script() { return } - if (RandomFunction.random(1000) <= 55) { + if (RandomFunction.random(1000) <= 65) { if (city != ge && city != ge2) { immerse() return @@ -944,7 +944,7 @@ class Adventurer(val style: CombatStyle): Script() { } } - if (RandomFunction.random(20000) <= 10 && !poi) { + if (RandomFunction.random(20000) <= 50 && !poi) { poiloc = getRandomPoi() city = teak1 poi = true From 6e64770f550b5b0beadc09365576f1e859052e43 Mon Sep 17 00:00:00 2001 From: Badhad <46411657+BadHad@users.noreply.github.com> Date: Sun, 21 Mar 2021 21:48:34 -0400 Subject: [PATCH 2/2] Adventurer.kt - Adjustments to some rates to fix bot behaviour in POI. --- .../rs09/game/ai/general/scriptrepository/Adventurer.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt index e5d2964ca..d9c00a3e7 100644 --- a/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt +++ b/Server/src/main/kotlin/rs09/game/ai/general/scriptrepository/Adventurer.kt @@ -924,10 +924,10 @@ class Adventurer(val style: CombatStyle): Script() { treegnome -> 50 isafdar -> 40 eaglespeek -> 40 - keldagrimout -> 40 + keldagrimout -> 30 teak1 -> 30 - miningguild -> 6 - magics,coal -> 8 + miningguild -> 5 + magics,coal -> 7 gemrocks,chaosnpc -> 1 else -> 60 }