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/gemini.txt | 2 +- npc/014-2-2/valia.txt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/014-2-2') 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); -- cgit v1.2.3-60-g2f50