From a4c34b9db2338de34363c4736358175c5b44ca7d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 21 Dec 2022 18:51:05 -0300 Subject: Stupid typo --- npc/019-4-1/chief.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 133c000ad..33019302d 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -261,14 +261,15 @@ L_Reward: // #1 : Xmas Gift x2 // #2 - #3: Xmas Gift x1 // #4 - #5: Bronze Gift - if (strcharinfo(0) == $@xmas_gp_name$[0]) + if (strcharinfo(0) == $@xmas_gp_name$[0]) { getitem XmasGift, max(.@bp_rank, 1)+1; getitem .@bp_gift, 1; - else if (strcharinfo(0) == $@xmas_gp_name$[1] || strcharinfo(0) == $@xmas_gp_name$[2]) + } else if (strcharinfo(0) == $@xmas_gp_name$[1] || strcharinfo(0) == $@xmas_gp_name$[2]) { getitem XmasGift, max(.@bp_rank, 1); getitem .@bp_gift, 1; - else if (strcharinfo(0) == $@xmas_gp_name$[3] || strcharinfo(0) == $@xmas_gp_name$[4]) + } else if (strcharinfo(0) == $@xmas_gp_name$[3] || strcharinfo(0) == $@xmas_gp_name$[4]) { getitem .@bp_gift, 1; + } mesn; mesq l("Thanks for helping us the last year. I hope to have your help by the next year."); -- cgit v1.2.3-60-g2f50