diff options
author | wushin <pasekei@gmail.com> | 2014-01-30 15:04:29 -0800 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-01-30 15:04:29 -0800 |
commit | 9387e32fffe53279316c2596fd0f17f786506d81 (patch) | |
tree | bc832fea3cf1aae93f86a8a3256e912f3a7ed5cf /world/map/npc/annuals/xmas/core.txt | |
parent | 447f80120e31b97abb935e38bc2fee9e0ec9809e (diff) | |
parent | 049b7e2e0023bd8b36fbb66d3fbb8c8da2a2baaa (diff) | |
download | serverdata-9387e32fffe53279316c2596fd0f17f786506d81.tar.gz serverdata-9387e32fffe53279316c2596fd0f17f786506d81.tar.bz2 serverdata-9387e32fffe53279316c2596fd0f17f786506d81.tar.xz serverdata-9387e32fffe53279316c2596fd0f17f786506d81.zip |
Merge pull request #70 from CandyCurt/XmasFix
Xmas fix
Diffstat (limited to 'world/map/npc/annuals/xmas/core.txt')
-rw-r--r-- | world/map/npc/annuals/xmas/core.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/world/map/npc/annuals/xmas/core.txt b/world/map/npc/annuals/xmas/core.txt index 41ec2ce5..0f0c53b4 100644 --- a/world/map/npc/annuals/xmas/core.txt +++ b/world/map/npc/annuals/xmas/core.txt @@ -173,8 +173,20 @@ function|script|XmasMainItemReward|, { callfunc "XmasSetReward"; - if(($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_start_state) || (@xmas_reward1_done_state))) + if (($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_start_state) || (@xmas_reward1_done_state))) goto L_FinalGift; + if (($@xmas_time == $@xmas_reward_time) && ((@xmas_reward_done_state) || (@xmas_reward2_done_state))) + goto L_GotGift; + if ($@xmas_time == $@xmas_reward_time) + goto L_NoGift; + goto L_Return; + +L_GotGift: + mes "Hey, this is not for you!"; + goto L_Return; + +L_NoGift: + mes "Oh someone got a present. Maybe you can get one too if help the right person?"; goto L_Return; L_FinalGift: |