summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-01-24 13:32:35 -0600
committerWushin <pasekei@gmail.com>2015-01-24 13:32:35 -0600
commit98b413d43cd1d20d20a4e54ec594abe3f2cd8c48 (patch)
treededb1eb37b548acc71d80a481f53dda0cadae0d1 /world/map
parenta0446556630291e20352ddcfdcf63d13522d1c59 (diff)
parent5c5d91101ba26698510772f414220b8fc3d734ab (diff)
downloadserverdata-98b413d43cd1d20d20a4e54ec594abe3f2cd8c48.tar.gz
serverdata-98b413d43cd1d20d20a4e54ec594abe3f2cd8c48.tar.bz2
serverdata-98b413d43cd1d20d20a4e54ec594abe3f2cd8c48.tar.xz
serverdata-98b413d43cd1d20d20a4e54ec594abe3f2cd8c48.zip
Merge pull request #244 from RelaxMore/master
Replaced numbers with already defined constants
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/annuals/xmas/core.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/annuals/xmas/core.txt b/world/map/npc/annuals/xmas/core.txt
index 30562e13..d064efca 100644
--- a/world/map/npc/annuals/xmas/core.txt
+++ b/world/map/npc/annuals/xmas/core.txt
@@ -209,9 +209,9 @@ L_FinalGift:
set @xmas_reward_item2$, $@xmas_uncommon_reward$[@xmas_uncommon_slot2];
if(checkweight("Iten", 1) == 0)
goto L_FullInv;
- if(@xmas_reward >= 80)
+ if(@xmas_reward >= $@xmas_reward_tally_rare)
getitem @xmas_reward_item$, 1;
- if(@xmas_reward >= 40)
+ if(@xmas_reward >= $@xmas_reward_tally_common)
getitem @xmas_reward_item1$, 1;
getitem @xmas_reward_item2$, 1;
set @xmas_uncommon_slot1, 0;