summaryrefslogtreecommitdiff
path: root/npc/019-4-1/chief.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-06 14:59:39 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-06 14:59:39 -0300
commit6e8950ffdcd6693fac9391b2b3ec4db6201f0d74 (patch)
tree3a171caec53af97794de89d27a20c62f5fb434d9 /npc/019-4-1/chief.txt
parentc43643c812c886267dc26b70b03dd639e05d1222 (diff)
downloadserverdata-6e8950ffdcd6693fac9391b2b3ec4db6201f0d74.tar.gz
serverdata-6e8950ffdcd6693fac9391b2b3ec4db6201f0d74.tar.bz2
serverdata-6e8950ffdcd6693fac9391b2b3ec4db6201f0d74.tar.xz
serverdata-6e8950ffdcd6693fac9391b2b3ec4db6201f0d74.zip
Golbarez: Improve rewards with more milestones
Diffstat (limited to 'npc/019-4-1/chief.txt')
-rw-r--r--npc/019-4-1/chief.txt33
1 files changed, 28 insertions, 5 deletions
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt
index 4e449e21e..b5904b9b1 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -110,8 +110,17 @@ L_Reward:
.@bp_total=.@q2/15000; // Price of an Ancient Blueprint
.@bp_rank=0;
- // Event: Good
- if ($XMAS_MONEY >= 750000) {
+ // Event: Great (1.5 Mi)
+ if ($XMAS_MONEY >= 1500000) {
+ if (.@mc_boxc)
+ getitem MercBoxC, .@mc_boxb;
+ if (.@mc_boxb)
+ getitem MercBoxB, .@mc_boxb;
+ if (.@mc_boxa)
+ getitem MercBoxA, .@mc_boxa+2;
+ .@bp_rank=4;
+ // Event: Good (750k)
+ } else if ($XMAS_MONEY >= 750000) {
if (.@mc_boxc)
getitem MercBoxC, .@mc_boxb;
if (.@mc_boxb)
@@ -119,19 +128,20 @@ L_Reward:
if (.@mc_boxa)
getitem MercBoxA, .@mc_boxa+1;
.@bp_rank=3;
- // Event: Average
+ // Event: Average (250k)
} else if ($XMAS_MONEY >= 250000) {
if (.@mc_boxb)
getitem MercBoxB, .@mc_boxb;
if (.@mc_boxa)
getitem MercBoxA, .@mc_boxa;
.@bp_rank=2;
- // Event: Bad (must aid players)
+ // Event: Bad (must aid players - 100k)
} else if ($XMAS_MONEY >= 100000) {
if (.@q2 >= 10000)
getitem MercBoxA, .@mc_boxa+1;
.@bp_rank=1;
}
+ // Event: Terrible (< 100k: No rewards)
// Blueprints control
// Event: Horrible
@@ -162,7 +172,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,6 +184,19 @@ L_Reward:
getitem AncientBlueprint, 2;
}
}
+ // Event: Great
+ else if (.@bp_rank >= 4 && .@bp_total) {
+ .@bp=.@bp_total/6;
+ getitem AlchemyBlueprintB, limit(1, .@bp, 10);
+ getitem EquipmentBlueprintB, limit(1, .@bp, 10);
+ getitem AlchemyBlueprintC, limit(1, .@bp, 5);
+ getitem EquipmentBlueprintC, limit(1, .@bp, 5);
+ if (.@bp) {
+ getitem AlchemyBlueprintD, limit(1, .@bp, 3);
+ getitem EquipmentBlueprintD, limit(1, .@bp, 3);
+ getitem AncientBlueprint, 3;
+ }
+ }
// MVP Awards
if ((.@q2*100)/$XMAS_MONEY >= 80) { // 80% contribution