diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-21 01:15:57 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-21 01:15:57 -0200 |
commit | 7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af (patch) | |
tree | 94d4e91947fd34c53bcdb8829f49c5e23df0f6f7 | |
parent | 466d7167479e81449f18349edf6552779a07d399 (diff) | |
download | serverdata-7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af.tar.gz serverdata-7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af.tar.bz2 serverdata-7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af.tar.xz serverdata-7f62e64719b1ed2f3a9f21ca92b20d87ddd1e8af.zip |
[XMAS 18] Fix reward bad variable name
-rw-r--r-- | npc/019-4-1/chief.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 8d76f207f..bdd1ddf63 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -93,16 +93,16 @@ L_Reward: /* Handle Golbarez Quest Rewards */ /* Mostly Coins, some Merc Boxes, EXP/JExp */ /* Gift the best people at this quest, too */ - getexp .@q3/4, (.@q3/1000)+.@q2; - .@coins=.@q3/10000; + getexp .@q2/4, (.@q2/1000)+.@q1; + .@coins=.@q2/10000; if (.@coins) getitem CasinoCoins, .@coins; if (.@coins > 3) getitem StrangeCoin, .@coins/3; // Mercenary boxes (requires certain global donation values) - .@mc_boxc=.@q3/100000; - .@mc_boxb=(.@q3/60000)-.@mc_boxc; - .@mc_boxa=(.@q3/40000)-.@mc_boxb; + .@mc_boxc=.@q2/100000; + .@mc_boxb=(.@q2/60000)-.@mc_boxc; + .@mc_boxa=(.@q2/40000)-.@mc_boxb; // Event: Good if ($XMAS_MONEY >= 750000) { @@ -120,18 +120,18 @@ L_Reward: getitem MercBoxA, .@mc_boxa; // Event: Bad (must aid players) } else if ($XMAS_MONEY >= 100000) { - if (.@q3 >= 10000) + if (.@q2 >= 10000) getitem MercBoxA, .@mc_boxa+1; } // MVP Awards - if ((.@q*100)/$XMAS_MONEY >= 80) // 80% contribution + if ((.@q2*100)/$XMAS_MONEY >= 80) // 80% contribution getitem GoldenGift, 1; - else if ((.@q*100)/$XMAS_MONEY >= 60) // 60% contribution + else if ((.@q2*100)/$XMAS_MONEY >= 60) // 60% contribution getitem SilverGift, 1; - else if ((.@q*100)/$XMAS_MONEY >= 40) // 40% contribution + else if ((.@q2*100)/$XMAS_MONEY >= 40) // 40% contribution getitem BronzeGift, 1; - else if ((.@q*100)/$XMAS_MONEY >= 20) // 20% contribution + else if ((.@q2*100)/$XMAS_MONEY >= 20) // 20% contribution getitem CasinoCoins, 1; mesn; |