From 5ab0e776c10970c9a0cd18e33852c92baf740b61 Mon Sep 17 00:00:00 2001 From: shadowlady Date: Mon, 15 Nov 2004 03:45:26 +0000 Subject: 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 --- npc/events/xmas.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'npc') 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"; -- cgit v1.2.3-60-g2f50