summaryrefslogtreecommitdiff
path: root/npc/soren
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-06 23:54:39 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-06 23:54:39 -0300
commit82e75bac3bab01ff7833913002c2ab9f3fc45898 (patch)
treefe5b208b8abf897291cdaa8ea20f10a18b0ffe67 /npc/soren
parent1e5f543b5f14a8b83337583749b96ca3d08376ed (diff)
downloadserverdata-82e75bac3bab01ff7833913002c2ab9f3fc45898.tar.gz
serverdata-82e75bac3bab01ff7833913002c2ab9f3fc45898.tar.bz2
serverdata-82e75bac3bab01ff7833913002c2ab9f3fc45898.tar.xz
serverdata-82e75bac3bab01ff7833913002c2ab9f3fc45898.zip
Groata Grotto - Reset it along Soren's Village.
It is OK to make the battles last longer. It is NOT OK to let it running and "somedayâ„¢" the level 150 will be finished
Diffstat (limited to 'npc/soren')
-rw-r--r--npc/soren/main.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index 70dc55217..845c662d0 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -57,6 +57,7 @@ OnTouch:
// Some cleanup might be needed to don't raise difficulty infinitely
// So every day, at 03:23 AM, if no one is trying the quest, it'll get rid
// of the non-permanent monsters on Soren Village & Soren House.
+// FIXME: It also clears up Groata Grotto
OnClock0323:
if (getareausers("soren") == 0 &&
getareausers("soren-2") == 0 &&
@@ -65,6 +66,15 @@ OnClock0323:
killmonster("soren", "all");
killmonster("soren-2", "all");
}
+ if ($@GROTTO &&
+ getareausers("006-0") == 0 &&
+ getareausers("006-3") == 0 &&
+ getareausers("006-5") == 0) {
+ killmonster("006-5", "all");
+ $@GROATA = 0;
+ $@GROTTO = 0;
+ enablenpc "#006-5_49_54";
+ }
end;
}