diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-28 12:10:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-28 12:10:37 -0300 |
commit | e52173da1464a9821a3df4746c7521f4c17ae7c3 (patch) | |
tree | ba54cd0543edc22f3f28a9567782d3a047e563b9 /npc | |
parent | c16623a125028647b36d9eb5c5de2cd6fbef64d7 (diff) | |
download | serverdata-e52173da1464a9821a3df4746c7521f4c17ae7c3.tar.gz serverdata-e52173da1464a9821a3df4746c7521f4c17ae7c3.tar.bz2 serverdata-e52173da1464a9821a3df4746c7521f4c17ae7c3.tar.xz serverdata-e52173da1464a9821a3df4746c7521f4c17ae7c3.zip |
Remove duplication where it hurts, keep it elsewhere
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/clientversion.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index c71021c65..d30c07c61 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -983,8 +983,7 @@ function script clientupdater { if (UPDATE < 1640703437) { .@u$ = strtolower(strcharinfo(0)); setarray .@xmas21$, "jesusalva", "poppet", "jak1", "horak"; - setarray .@xmas20$, "jesusalva", "poppet", "jak1", "horak", - "andulkat", "kolchak"; + setarray .@xmas20$, "andulkat", "kolchak"; if (array_exists(.@xmas21$, .@u$)) { .@dg=1; showavatar NPC_LOF_RICH; @@ -1012,8 +1011,9 @@ function script clientupdater { getitem GoldenBossGift, 1; getitem SupremeGift, 1; getitem MagicApple, 1; - } - if (array_exists(.@xmas20$, .@u$)) { + getitem Arcanum, 1; + getitem StrangeCoin, 30; + } else if (array_exists(.@xmas20$, .@u$)) { getitem Arcanum, 1; getitem StrangeCoin, 30; } |