summaryrefslogtreecommitdiff
path: root/npc/014-2-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-2-2')
-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.");