From 84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 4 May 2022 10:31:23 -0300 Subject: Cosmetic improvements --- npc/014-2-2/gemini.txt | 2 ++ npc/014-2-2/valia.txt | 9 +++++++++ 2 files changed, 11 insertions(+) (limited to 'npc/014-2-2') diff --git a/npc/014-2-2/gemini.txt b/npc/014-2-2/gemini.txt index 6a5e52b72..b70afa707 100644 --- a/npc/014-2-2/gemini.txt +++ b/npc/014-2-2/gemini.txt @@ -126,6 +126,8 @@ OnCore: if (@mystatus) getexp 512000, 12800; break; + case 16: // Cooldown in progress + break; } @mystatus = $@VALIA_STATUS[.@p]; } diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt index 7c9993af9..6fc933d6b 100644 --- a/npc/014-2-2/valia.txt +++ b/npc/014-2-2/valia.txt @@ -65,6 +65,15 @@ function script GeminiKill { // So close dialog here. if (BaseLevel < 30) close; next; + if (getcharid(1) >= 1) { + if (($@VALIA_STATUS[getcharid(1)] >= 16) && + (gettimetick(2) < (.@t + 14400))) { + mesn; + mesq l("You are welcome here, but don't overstay your welcome and leave as soon as possible."); + mesc l("Please wait %s before trying again.", FuzzyTime(.@t + 14400)); + close; + } + } mesn; mesq l("I usually don't let anyone in, but I had to make an exception for the likes of you."); next; -- cgit v1.2.3-60-g2f50