summaryrefslogtreecommitdiff
path: root/npc/019-4-1/chief.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 20:43:26 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 20:43:26 -0200
commit25b8a9c6643349b075e5636887334b384a771f67 (patch)
tree6f4b56e05e170a0b1a926a334e0d477225cef444 /npc/019-4-1/chief.txt
parent7ca14fdf14fa9641498040e3d421a8f1dadcf3aa (diff)
downloadserverdata-25b8a9c6643349b075e5636887334b384a771f67.tar.gz
serverdata-25b8a9c6643349b075e5636887334b384a771f67.tar.bz2
serverdata-25b8a9c6643349b075e5636887334b384a771f67.tar.xz
serverdata-25b8a9c6643349b075e5636887334b384a771f67.zip
[skip ci] Polishing.
Diffstat (limited to 'npc/019-4-1/chief.txt')
-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: