summaryrefslogtreecommitdiff
path: root/npc/017-10/dispatcher.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-10/dispatcher.txt')
-rw-r--r--npc/017-10/dispatcher.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt
index 6c05015be..11b33b0bd 100644
--- a/npc/017-10/dispatcher.txt
+++ b/npc/017-10/dispatcher.txt
@@ -239,7 +239,7 @@ L_Main:
mesc ".:: " + l("The Market") + " ::.";
mesc l("Send your Homunculus to make money!");
mesc l("Average EXP: 8"), 3;
- mesc l("Maximum Profit: 10000 GP"), 3;
+ mesc l("Maximum Profit: @@ GP", format_number(.zenycap)), 3;
mesc l("Common Drops: "+
getitemlink(Piberries));
mesc l("Regular Drops: "+
@@ -381,9 +381,8 @@ function lootField {
break;
case HCD_MARKET:
.@val+=8;
- // Maximum Profit: 10,000 GP
// Sending a fresh homun in market may yield no GP.
- Zeny+=min(10000, 1000*.@lv*min(10000, gethominfo(3))/100000);
+ Zeny+=min(.zenycap, 1000*.@lv*min(10000, gethominfo(3))/100000);
anyloot(Piberries, .@lv, 9000,
Bread, limit(1, .@lv/3, 12), 7000,
Cheese, .@lv, 5000,
@@ -399,6 +398,9 @@ function lootField {
OnInit:
.sex=G_MALE;
.distance=5;
+ // Old Maximum Profit: 10,000 GP
+ // Coin Bag farming: 180 mobs, at 5% drop rate: 5,000 GP max
+ .zenycap=7500;
end;
}