diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-21 11:52:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-21 11:52:35 -0300 |
commit | 1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0 (patch) | |
tree | 36ad048718c428d44fe6d1bfbf241ee554650e4b | |
parent | 88d9dd8e7588b2b2bafd3fab61ab438e0648f1c4 (diff) | |
download | serverdata-1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0.tar.gz serverdata-1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0.tar.bz2 serverdata-1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0.tar.xz serverdata-1b751ee2a3d0b5e3d60f04fe9ee48d4ee73df7f0.zip |
Golbarez: Tweak #1-#5 prizes and make the amount from #5 prize non-variable
-rw-r--r-- | npc/019-4-1/chief.txt | 9 |
1 files changed, 8 insertions, 1 deletions
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."); |