From 801c26b2d5772cd27d00dae94d22a0039a6526f7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 1 Jan 2019 23:17:24 -0200 Subject: MVP Awards now take in account amount donated, and there's a 5% tier. --- npc/019-4-1/chief.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'npc') diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 2208a7d21..5d267b951 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -133,13 +133,15 @@ L_Reward: // MVP Awards if ((.@q2*100)/$XMAS_MONEY >= 80) // 80% contribution - getitem GoldenGift, 1; + getitem GoldenGift, max(1, min(3, .@q2/100000)); else if ((.@q2*100)/$XMAS_MONEY >= 60) // 60% contribution - getitem SilverGift, 1; + getitem SilverGift, max(1, min(3, .@q2/100000)); else if ((.@q2*100)/$XMAS_MONEY >= 40) // 40% contribution - getitem BronzeGift, 1; + getitem BronzeGift, max(1, min(3, .@q2/100000)); else if ((.@q2*100)/$XMAS_MONEY >= 20) // 20% contribution - getitem CasinoCoins, 1; + getitem StrangeCoin, max(1, min(20, .@q2/5000)); + else if ((.@q2*100)/$XMAS_MONEY >= 5) // 5% contribution + getitem CasinoCoins, max(1, min(20, .@q2/5000)); /* The top 5 gets special rewards! */ // #1 : Xmas Gift x2 -- cgit v1.2.3-60-g2f50