summaryrefslogtreecommitdiff
path: root/npc/019-4-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/019-4-1')
-rw-r--r--npc/019-4-1/chief.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt
index 299ef1f78..4b41d64d3 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -67,11 +67,11 @@ L_Reward:
/* Handle Christmas Quest Rewards */
/* The top 5 gets special rewards! */
- /* #1: White Cat Pet */
- /* #2 - #3: Red Stocking */
- /* #4 - #5: Extra xmas gift */
+ // #1 : White Cat Pet
+ // #2 - #3: Red Stocking
+ // #4 - #5: Extra xmas gift
/* You get Christmas Gift Box, which contain rares */
- // CattyCat
+
.@gifts=max(15, log2(gifts/100));
if (.@q1 > .@gifts)
getitem XmasGift, .@gifts;
@@ -83,6 +83,9 @@ L_Reward:
else if (strcharinfo(0) == .@name$[3] || strcharinfo(0) == .@name$[4])
getitem XmasGift, 1;
+ if (strcharinfo(0) == .@name$[0])
+ mesc l("You gained a @@ for the #1 place on the event. Remember to feed it @@, or it may run away from you.", getitemlink(Milk));
+
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
@@ -133,6 +136,8 @@ L_Reward:
mesn;
mesq l("Thanks for helping us the last year. I hope to have your help by the next year.");
+ next;
+ ScoreXMAS();
close;
L_Main: