diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-04 10:31:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-04 10:31:23 -0300 |
commit | 84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc (patch) | |
tree | d76789abfd25c4f665b91e95fb65264a5830d762 /npc/014-2-2 | |
parent | 57063de0cedd533ae5ac29b5d54e9a7fefe15b7a (diff) | |
download | serverdata-84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc.tar.gz serverdata-84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc.tar.bz2 serverdata-84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc.tar.xz serverdata-84b3d3ee3cf95aff0d9fa273c0d6c2927ce8b9fc.zip |
Cosmetic improvements
Diffstat (limited to 'npc/014-2-2')
-rw-r--r-- | npc/014-2-2/gemini.txt | 2 | ||||
-rw-r--r-- | npc/014-2-2/valia.txt | 9 |
2 files changed, 11 insertions, 0 deletions
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; |