summaryrefslogtreecommitdiff
path: root/npc/014-2-2/valia.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-2-2/valia.txt')
-rw-r--r--npc/014-2-2/valia.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 8a161558f..346a9c7b6 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -26,19 +26,15 @@ function script GeminiKill {
if (!compare(getmap(), "val")) end;
.@p=getcharid(1);
switch ($@VALIA_STATUS[.@p]) {
- case 1: // Quest initiated
- break;
case 2: // Looking for a runestone
if (killedrid == GreenSlime) {
- if (!rand2(40)) {
+ if (!rand2(40) || $@GM_OVERRIDE) {
getexp 8132, 657;
dispbottom l("You found the Runestone! You gave it to the party leader.");
$@VALIA_STATUS[.@p] = 3;
}
}
break;
- case 3: // Has runestone
- break;
case 4: // Desert unlocked, but no clue on what to do
case 5: // Desert unlocked, cutscene over
debugmes "Killedrid = %d = Cave Snake = %d", killedrid, CaveSnake;
@@ -239,6 +235,8 @@ OnMGoblin:
///////////////////////////////////
OnKey1:
.@p = getcharid(1);
+ @tmp+=1;
+ sleep2(rand2(1000, 3000) + (@tmp*300)); // Prevent outright farming
.@mob=monster("val2@"+.@p, 57, 104, strmobinfo(1, CopperSlime), CopperSlime, 1, "Valia::OnKey1");
// This should wipe the monster experience value
setunitdata(.@mob, UDT_LEVEL, 1);
@@ -249,6 +247,8 @@ OnKey1:
OnKey2:
.@p = getcharid(1);
+ @tmp+=1;
+ sleep2(rand2(1000, 3000) + (@tmp*300)); // Prevent outright farming
.@mob=monster("val2@"+.@p, 61, 104, strmobinfo(1, CopperSlime), CopperSlime, 1, "Valia::OnKey2");
// This should wipe the monster experience value
setunitdata(.@mob, UDT_LEVEL, 1);