summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-03 13:13:29 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-03 13:13:29 -0300
commit5cc903fae5fe912ce65f3ff48e7f5ee9391c1de1 (patch)
tree3c375fb012e4dd5ba24970dec3481716d66b3d4a
parente27585c322f8191065973666cf43b56288b40297 (diff)
downloadserverdata-5cc903fae5fe912ce65f3ff48e7f5ee9391c1de1.tar.gz
serverdata-5cc903fae5fe912ce65f3ff48e7f5ee9391c1de1.tar.bz2
serverdata-5cc903fae5fe912ce65f3ff48e7f5ee9391c1de1.tar.xz
serverdata-5cc903fae5fe912ce65f3ff48e7f5ee9391c1de1.zip
Minimum level 30 even if reborn
-rw-r--r--npc/014-2-2/gemini.txt5
-rw-r--r--npc/014-2-2/valia.txt3
2 files changed, 8 insertions, 0 deletions
diff --git a/npc/014-2-2/gemini.txt b/npc/014-2-2/gemini.txt
index bd6d12554..445d72df1 100644
--- a/npc/014-2-2/gemini.txt
+++ b/npc/014-2-2/gemini.txt
@@ -27,6 +27,11 @@ OnCore:
@mystatus = $@VALIA_STATUS[.@p];
switch ($@VALIA_STATUS[.@p]) {
case 1: // Quest initiated
+ // Oops! You do not have enough level!
+ if (BaseLevel < 30) {
+ warp "014-2-2", 36, 24;
+ end;
+ }
// Spawn monsters
areamonster("val1@"+.@p, 20, 20, 60, 60, strmobinfo(1, GreenSlime), GreenSlime, (BaseLevel/15), "Valia::OnGSlime");
areamonster("val1@"+.@p, 20, 20, 70, 60, strmobinfo(1, LogHead), LogHead, (BaseLevel/15), "Valia::OnLHead");
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 09d02c6a3..abd8b7584 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -67,6 +67,9 @@ function script GeminiFail {
.@q = getq(HurnscaldQuest_Gemini);
mesn;
mesq l("Greetings, adventurer. I am Valia Gemini, owner of this abode.");
+ // If your level is too low (just reborn), it could break scripts
+ // So close dialog here.
+ if (BaseLevel < 30) close;
next;
mesn;
mesq l("I usually don't let anyone in, but I had to make an exception for the likes of you.");