From e52173da1464a9821a3df4746c7521f4c17ae7c3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Dec 2021 12:10:37 -0300 Subject: Remove duplication where it hurts, keep it elsewhere --- npc/functions/clientversion.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/functions/clientversion.txt') 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; } -- cgit v1.2.3-70-g09d2