summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 03:45:26 +0000
committershadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 03:45:26 +0000
commit5ab0e776c10970c9a0cd18e33852c92baf740b61 (patch)
treeae4b40ebee3af5f2ae474a1699d7cc2f5a2c9f38
parent29b49b132bbb2cddba78d0a0ab12c890cc8e647a (diff)
downloadhercules-5ab0e776c10970c9a0cd18e33852c92baf740b61.tar.gz
hercules-5ab0e776c10970c9a0cd18e33852c92baf740b61.tar.bz2
hercules-5ab0e776c10970c9a0cd18e33852c92baf740b61.tar.xz
hercules-5ab0e776c10970c9a0cd18e33852c92baf740b61.zip
Fixed so you get a gift on the first time you talk to him.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@185 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/events/xmas.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/npc/events/xmas.txt b/npc/events/xmas.txt
index 71bda8e84..b3661ba59 100644
--- a/npc/events/xmas.txt
+++ b/npc/events/xmas.txt
@@ -1,11 +1,11 @@
//===== eAthena Script =======================================
//= X-mas Event
//===== By: ==================================================
-//=
+//= eAthena Dev Team
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
-//=
+//= Any version of eAthena
//===== Description: =========================================
//= Beat up Antonios and grab his socks. Get at least 3 and
//= give them to Santa Claus Claus in exchange for a present.
@@ -17,6 +17,7 @@
xmas_in.gat,100,96,4 script Father Christmas::Santa2 718,{
+ if(event_xmas != 1) goto M_2;
mes "[Santa Claus]";
mes "I'm having a bit of a problem...";
mes "Do you care to listen?";
@@ -83,6 +84,12 @@ xmas_in.gat,100,96,4 script Father Christmas::Santa2 718,{
mes "and get more for me and I'll";
mes "reward you.";
close;
+
+ M_2:
+ mes "Merry Christmas! I got a gift for you!;
+ mes "Ho Ho Ho!;"
+ getitem 644,1;
+ set event_xmas,1;
M_End:
mes "[Santa Claus]";
mes "I see. Well, at the very least";