summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-03 22:20:10 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-03 22:20:10 -0300
commit805abcc8c7c6c27b5a27d03459521960609e2de8 (patch)
tree16ff7170dfecc33c92e413e90426407a672443f5
parent613c92bfb42a9a9b5145d3eadf386aeea1d5b824 (diff)
downloadserverdata-805abcc8c7c6c27b5a27d03459521960609e2de8.tar.gz
serverdata-805abcc8c7c6c27b5a27d03459521960609e2de8.tar.bz2
serverdata-805abcc8c7c6c27b5a27d03459521960609e2de8.tar.xz
serverdata-805abcc8c7c6c27b5a27d03459521960609e2de8.zip
NORESET: You can only do this quest once every 4 hours
-rw-r--r--npc/014-2-2/valia.txt6
-rw-r--r--npc/034-4/exit.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index abd8b7584..65701ae02 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -65,6 +65,7 @@ function script GeminiFail {
014-2-2,36,22,0 script Valia NPC_RED_WIZARD_F,{
GeminiCheck();
.@q = getq(HurnscaldQuest_Gemini);
+ .@t = getq3(HurnscaldQuest_Gemini);
mesn;
mesq l("Greetings, adventurer. I am Valia Gemini, owner of this abode.");
// If your level is too low (just reborn), it could break scripts
@@ -81,7 +82,9 @@ function script GeminiFail {
mesq l("I am sure you already fought him. And survived, too, apparently. Help her, and I will reward your efforts appropriately.");
next;
mesn;
- mesq l("You can bring up to 3 other friends with you, but they must be on the same party as you and you must be the party leader.");
+ mesq l("You can bring up to %d other friends with you, but they must be on the same party and map as you and you must be the party leader.", ($EVENT$ == "Gemini" ? 5 : 3));
+ if (gettimetick(2) < (.@t + 14400))
+ mesc l("The previous attempt will be resumed."), 1;
next;
select
l("I'm not interested, sorry."),
@@ -167,6 +170,7 @@ function script GeminiFail {
closeclientdialog;
compareandsetq HurnscaldQuest_Gemini, 0, 1;
+ setq3 HurnscaldQuest_Gemini, gettimetick(2);
// Create instance
.@p=getcharid(1);
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index 1f9730908..c695940a5 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -11,6 +11,8 @@ OnWumpus:
.@q = getq2(HurnscaldQuest_Gemini);
// TODO: Maybe exchange an Wumpus Egg for a Sunny Crystal or Mylarin Dust?
// Have a NPC do so only once, for the Savior set.
+ // FIXME: A way to exit, maybe a switch, or...?
+ // TODO: Once you exit, put the quest in cooldown for 4 hours as well.
if (.@q == 0 || .@q == 2 || (.@q > 5 && !(.@q % 3)))
getitem WumpusEgg, 1;
else