summaryrefslogtreecommitdiff
path: root/npc/009-2/ryan.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-11 23:56:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-11 23:56:24 -0300
commit8983bdf0fc9b7c0e30ce835b8af93fd9cebd595c (patch)
tree920aa8b51b793aefdd6fc3a5ec2f0fd138a54056 /npc/009-2/ryan.txt
parentd97ed10839dc1d39ebb5c0101028c5d8a6fd930e (diff)
downloadserverdata-8983bdf0fc9b7c0e30ce835b8af93fd9cebd595c.tar.gz
serverdata-8983bdf0fc9b7c0e30ce835b8af93fd9cebd595c.tar.bz2
serverdata-8983bdf0fc9b7c0e30ce835b8af93fd9cebd595c.tar.xz
serverdata-8983bdf0fc9b7c0e30ce835b8af93fd9cebd595c.zip
Boost Ryan rewards DRASTICALLY.
Diffstat (limited to 'npc/009-2/ryan.txt')
-rw-r--r--npc/009-2/ryan.txt26
1 files changed, 18 insertions, 8 deletions
diff --git a/npc/009-2/ryan.txt b/npc/009-2/ryan.txt
index 5b729c8a2..63b9aa083 100644
--- a/npc/009-2/ryan.txt
+++ b/npc/009-2/ryan.txt
@@ -28,9 +28,13 @@
inventoryplace ChefHat, 1;
inventoryplace PlatinumIngot, 1, IridiumIngot, 2;
+ // Generic rewards: XP Boost (.@l) and GP boost (.p)
+ .@l=BaseLevel+JobLevel;
+
+ // Main reward
delitem TonoriDelight, .@a;
- getexp rand(.@a, .@a*2)+.@q*rand(10,30), 0;
- Zeny=Zeny+.@a*21;
+ getexp rand(.@a, .@a*2)+.@q*rand(10,30), .@l;
+ Zeny=Zeny+.@a*.p;
setq2 HalinarzoQuest_LifeDelight, .@q+1;
mesn;
mesq l("Hmmm... Yummy!");
@@ -48,21 +52,22 @@
mesq l("Ah, you really deserve this @@. Good job!", getitemlink(ChefHat));
}
if (.@q >= 21) {
- Zeny=Zeny+rand(1,.@a);
- getexp rand(1,.@q), rand(1, .@q);
+ Zeny+=rand(1,.@a)*.p;
+ getexp rand(1,.@q)*.@l, rand(1, .@q);
}
if (.@q >= 51) {
- Zeny=Zeny+rand(.@q,.@a);
- getexp rand(1,.@a), rand(1, .@q);
+ Zeny+=rand(.@q,.@a)*.p;
+ getexp rand(1,.@a)*.@l, rand(1, .@q);
}
if (.@q >= 91) {
- Zeny=Zeny+rand(.@a, .@a+.@q);
- getexp rand(.@q,.@a), rand(1, .@q);
+ Zeny+=rand(.@a, .@a+.@q)*.p;
+ getexp rand(.@q,.@a)*.@l, rand(1, .@q);
}
if (.@r < 3 && .@q == 100) {
setq1 HalinarzoQuest_LifeDelight, 3;
getitem PlatinumIngot, 1;
getitem IridiumIngot, 2;
+ getexp 500000, 50000; // Reference: Lv 74 / Lv 38
next;
mesn;
mesq l("Ah, I have enough @@ for a life! Take this EXTREMELY RARE @@. Good job!", getitemlink(TonoriDelight), getitemlink(PlatinumIngot));
@@ -100,6 +105,11 @@ OnInit:
.sex = G_MALE;
.distance = 4;
+ .p=97; // Price in GP of each Tonori Delight.
+ // real price is 556 in ingredients (this gets a x2 sell price)
+ // + 120 GP of taxes
+ // Total: 676 GP per batch (5~9 units). We consider the average batch (7).
+ // NO EXTRA PROFIT IS REQUIRED/ALLOWED.
end;
}