From 74b2163c174b5c5b2277b1212543a7f6574fce07 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 19 Dec 2019 05:09:01 -0300 Subject: Brackets --- npc/019-4-1/chief.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 482354b7b..98dc99afd 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -123,21 +123,22 @@ L_Reward: } // MVP Awards - if ((.@q2*100)/$XMAS_MONEY >= 80) // 80% contribution + if ((.@q2*100)/$XMAS_MONEY >= 80) { // 80% contribution getitem PrismGift, limit(1, .@q2/500000, 2); getitem GoldenGift, limit(1, .@q2/100000, 3); - else if ((.@q2*100)/$XMAS_MONEY >= 60) // 60% contribution + } else if ((.@q2*100)/$XMAS_MONEY >= 60) { // 60% contribution getitem GoldenGift, limit(1, .@q2/500000, 2); getitem SilverGift, limit(1, .@q2/100000, 3); - else if ((.@q2*100)/$XMAS_MONEY >= 40) // 40% contribution + } else if ((.@q2*100)/$XMAS_MONEY >= 40) { // 40% contribution getitem SilverGift, limit(1, .@q2/500000, 2); getitem BronzeGift, limit(1, .@q2/100000, 3); - else if ((.@q2*100)/$XMAS_MONEY >= 20) // 20% contribution + } else if ((.@q2*100)/$XMAS_MONEY >= 20) { // 20% contribution getitem BronzeGift, limit(1, .@q2/500000, 2); getitem StrangeCoin, limit(1, .@q2/5000, 20); - else if ((.@q2*100)/$XMAS_MONEY >= 5) // 5% contribution + } else if ((.@q2*100)/$XMAS_MONEY >= 5) { // 5% contribution getitem StrangeCoin, limit(1, .@q2/100000, 10); getitem CasinoCoins, limit(1, .@q2/5000, 20); + } /* The top 5 gets special rewards! */ // #1 : Xmas Gift x2 -- cgit v1.2.3-70-g09d2