summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-01 23:17:24 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-01 23:17:24 -0200
commit801c26b2d5772cd27d00dae94d22a0039a6526f7 (patch)
tree268e90f7ab66eb337a825b7499029a50f468b46e /npc
parent1f13bfa51c347ca2a7a42f9bda006d8d91c67800 (diff)
downloadserverdata-801c26b2d5772cd27d00dae94d22a0039a6526f7.tar.gz
serverdata-801c26b2d5772cd27d00dae94d22a0039a6526f7.tar.bz2
serverdata-801c26b2d5772cd27d00dae94d22a0039a6526f7.tar.xz
serverdata-801c26b2d5772cd27d00dae94d22a0039a6526f7.zip
MVP Awards now take in account amount donated, and there's a 5% tier.
Diffstat (limited to 'npc')
-rw-r--r--npc/019-4-1/chief.txt10
1 files changed, 6 insertions, 4 deletions
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