summaryrefslogtreecommitdiff
path: root/npc/034-4/exit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/034-4/exit.txt')
-rw-r--r--npc/034-4/exit.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index 5efee06d1..1487f4898 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -7,23 +7,25 @@
034-4,144,82,0 script #GeminiFExit NPC_HIDDEN,0,0,{
OnWumpus:
- GeminiCheck();
- // TODO FIXME: Instead of 75% chance, a Wumpus Egg only on first victory?
+ GeminiCheck(15);
+ .@q = getq2(HurnscaldQuest_Gemini);
// TODO: Maybe exchange an Wumpus Egg for a Sunny Crystal or Mylarin Dust?
- // Or have a NPC do so, I guess.
- if (any(true, true, true, false))
+ // Have a NPC do so only once, for the Savior set.
+ if (.@q == 0 || .@q == 2 || (.@q > 5 && !(.@q % 3)))
getitem WumpusEgg, 1;
else
getitem LightGreenDiamond, 1;
getexp 0, rand2(7500, 9999);
+ setq2 HurnscaldQuest_Gemini, .@q + 1;
@forced_sick$ = "";
end;
OnTouch:
- GeminiCheck();
+ if (instance_id() < 0 || getcharid(1) < 1) end;
+ GeminiCheck(15);
// Only the party leader go ahead
if (strcharinfo(0) != getpartyleader(getcharid(1))) {
- mes l("%s has the key.", getpartyleader(getcharid(1)));
+ mes l("Only %s has the key.", getpartyleader(getcharid(1)));
close;
}