summaryrefslogtreecommitdiff
path: root/npc/014-2-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-03 11:33:58 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-03 11:33:58 -0300
commite553fa37195febcca7408d2fc60b0010d64f31f7 (patch)
treeb635adf1af557addd0c6c5907ef22a538beffc70 /npc/014-2-2
parent3a51d5756508a069776bce12b0a7db8cd558097b (diff)
downloadserverdata-e553fa37195febcca7408d2fc60b0010d64f31f7.tar.gz
serverdata-e553fa37195febcca7408d2fc60b0010d64f31f7.tar.bz2
serverdata-e553fa37195febcca7408d2fc60b0010d64f31f7.tar.xz
serverdata-e553fa37195febcca7408d2fc60b0010d64f31f7.zip
Add Luvia placeholder
Diffstat (limited to 'npc/014-2-2')
-rw-r--r--npc/014-2-2/gemini.txt2
-rw-r--r--npc/014-2-2/valia.txt10
2 files changed, 6 insertions, 6 deletions
diff --git a/npc/014-2-2/gemini.txt b/npc/014-2-2/gemini.txt
index 6153fed5b..c05f96699 100644
--- a/npc/014-2-2/gemini.txt
+++ b/npc/014-2-2/gemini.txt
@@ -42,7 +42,7 @@ OnCore:
case 4: // Desert unlocked, but no clue on what to do
dispbottom l("You hear a noise from distance.");
// Spawn monsters
- areamonster("val1@"+.@p, 100, 20, 170, 60, strmobinfo(1, CaveSnake), CaveSnake, 2, "Valia::OnCSnake");
+ areamonster("val1@"+.@p, 100, 20, 170, 60, strmobinfo(1, CaveSnake), CaveSnake, 3, "Valia::OnCSnake");
areamonster(getmap(), 100, 20, 170, 60, strmobinfo(1, MagicGoblin), MagicGoblin, 1, "Valia::OnMGoblin");
// These refuse to respawn but are numerous
// Thus far, the quest is still easy. But soon it won't be.
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);