summaryrefslogtreecommitdiff
path: root/npc/019-4-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/019-4-1')
-rw-r--r--npc/019-4-1/chief.txt7
1 files 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.");