From 1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 21 Dec 2022 11:52:35 -0300 Subject: Golbarez: Tweak #1-#5 prizes and make the amount from #5 prize non-variable --- npc/019-4-1/chief.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 90f30d7c0..0a357beda 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -119,6 +119,7 @@ L_Reward: if (.@mc_boxa) getitem MercBoxC, .@mc_boxa+1; .@bp_rank=5; + .@bp_gift=SupremeGift; // Event: Great (1.5 Mi) } if ($XMAS_MONEY >= 1500000) { if (.@mc_boxc) @@ -128,6 +129,7 @@ L_Reward: if (.@mc_boxa) getitem MercBoxB, .@mc_boxa+1; .@bp_rank=4; + .@bp_gift=PrismGift; // Event: Good (750k) } else if ($XMAS_MONEY >= 750000) { if (.@mc_boxc) @@ -137,6 +139,7 @@ L_Reward: if (.@mc_boxa) getitem MercBoxA, .@mc_boxa+1; .@bp_rank=3; + .@bp_gift=GoldenGift; // Event: Average (250k) } else if ($XMAS_MONEY >= 250000) { if (.@mc_boxb) @@ -144,11 +147,13 @@ L_Reward: if (.@mc_boxa) getitem MercBoxA, .@mc_boxa; .@bp_rank=2; + .@bp_gift=SilverGift; // Event: Bad (must aid players - 100k) } else if ($XMAS_MONEY >= 100000) { if (.@q2 >= 10000) getitem MercBoxA, .@mc_boxa+1; .@bp_rank=1; + .@bp_gift=BronzeGift; } // Event: Terrible (< 100k: No merc rewards) @@ -258,10 +263,12 @@ L_Reward: // #4 - #5: Bronze Gift 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]) getitem XmasGift, max(.@bp_rank, 1); + getitem .@bp_gift, 1; else if (strcharinfo(0) == $@xmas_gp_name$[3] || strcharinfo(0) == $@xmas_gp_name$[4]) - getitem BronzeGift, (.@bp_rank > 3 ? 2 : 1); + 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