From e553fa37195febcca7408d2fc60b0010d64f31f7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 3 May 2022 11:33:58 -0300 Subject: Add Luvia placeholder --- npc/014-2-2/valia.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/014-2-2/valia.txt') 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); -- cgit v1.2.3-70-g09d2