summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-24 19:09:14 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-24 19:09:14 -0200
commite76a14a2908e138702de05c55c4e6df50fe8a277 (patch)
treede83b4f64277e0c7780f6249b2be1263ad54a161 /npc/002-3
parent7f198fb76962b8256e9a2adbc26322c441473575 (diff)
downloadserverdata-e76a14a2908e138702de05c55c4e6df50fe8a277.tar.gz
serverdata-e76a14a2908e138702de05c55c4e6df50fe8a277.tar.bz2
serverdata-e76a14a2908e138702de05c55c4e6df50fe8a277.tar.xz
serverdata-e76a14a2908e138702de05c55c4e6df50fe8a277.zip
Ship travel prices were lowered in relative terms.
In absolute values, nothing changes. But technically getting discounts is now easier. ...As promised I would do when I add Milly quest :3
Diffstat (limited to 'npc/002-3')
-rw-r--r--npc/002-3/nard.txt17
1 files changed, 3 insertions, 14 deletions
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index 605b29444..8317f89b6 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -221,20 +221,9 @@ L_NotYet:
close;
L_Travel:
- if (nard_reputation() >= 15)
- .@price-=1180;
- else if (nard_reputation() >= 13)
- .@price-=1000;
- else if (nard_reputation() >= 11)
- .@price-=850;
- else if (nard_reputation() >= 9)
- .@price-=650;
- else if (nard_reputation() >= 7)
- .@price-=450;
- else if (nard_reputation() >= 5)
- .@price-=300;
- else if (nard_reputation() >= 3)
- .@price-=200;
+ // Current nard_reputation() value for 100% discount: 15
+ .@price-=min(1199, nard_reputation()*80);
+
mesn;
mesq l("Hi @@.", strcharinfo(0));
next;