summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-01 19:43:00 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-01 19:43:00 -0300
commit84b0b7ce36ad5131ea90b69b3351eb48dc33f8b6 (patch)
tree06fbdbcc223dc9fe90dbd7e01676642d6f7ae99d /npc
parentc488994a4e6a4386734a818710caa7dddfc95e7e (diff)
downloadserverdata-84b0b7ce36ad5131ea90b69b3351eb48dc33f8b6.tar.gz
serverdata-84b0b7ce36ad5131ea90b69b3351eb48dc33f8b6.tar.bz2
serverdata-84b0b7ce36ad5131ea90b69b3351eb48dc33f8b6.tar.xz
serverdata-84b0b7ce36ad5131ea90b69b3351eb48dc33f8b6.zip
Top % on Golbarez now also receive Ancient Blueprints - but only if at least
BAD ranking was reach (total 100k donations).
Diffstat (limited to 'npc')
-rw-r--r--npc/019-4-1/chief.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt
index 86e2cc7d8..790edac9c 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -157,7 +157,7 @@ L_Reward:
}
}
// Event: Good
- else if (.@bp_rank <= 3 && .@bp_total) {
+ else if (.@bp_rank >= 3 && .@bp_total) {
.@bp=.@bp_total/6;
getitem AlchemyBlueprintA, limit(1, .@bp, 10);
getitem EquipmentBlueprintA, limit(1, .@bp, 10);
@@ -174,15 +174,29 @@ L_Reward:
if ((.@q2*100)/$XMAS_MONEY >= 80) { // 80% contribution
getitem PrismGift, limit(1, .@q2/500000, 2);
getitem GoldenGift, limit(1, .@q2/100000, 3);
+ if (.@bp_rank >= 2)
+ getitem AncientBlueprint, 5;
+ else if (.@bp_rank >= 1)
+ getitem AncientBlueprint, 3;
} else if ((.@q2*100)/$XMAS_MONEY >= 60) { // 60% contribution
getitem GoldenGift, limit(1, .@q2/500000, 2);
getitem SilverGift, limit(1, .@q2/100000, 3);
+ if (.@bp_rank >= 2)
+ getitem AncientBlueprint, 3;
+ else if (.@bp_rank >= 1)
+ getitem AncientBlueprint, 2;
} else if ((.@q2*100)/$XMAS_MONEY >= 40) { // 40% contribution
getitem SilverGift, limit(1, .@q2/500000, 2);
getitem BronzeGift, limit(1, .@q2/100000, 3);
+ if (.@bp_rank >= 2)
+ getitem AncientBlueprint, 2;
+ else if (.@bp_rank >= 1)
+ getitem AncientBlueprint, 1;
} else if ((.@q2*100)/$XMAS_MONEY >= 20) { // 20% contribution
getitem BronzeGift, limit(1, .@q2/500000, 2);
getitem StrangeCoin, limit(1, .@q2/5000, 20);
+ if (.@bp_rank >= 2)
+ getitem AncientBlueprint, 1;
} else if ((.@q2*100)/$XMAS_MONEY >= 5) { // 5% contribution
getitem StrangeCoin, limit(1, .@q2/100000, 10);
getitem CasinoCoins, limit(1, .@q2/5000, 20);