summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
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;