summaryrefslogtreecommitdiff
path: root/npc/016-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-17 03:21:55 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-17 03:21:55 -0200
commite6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad (patch)
treed653d9c38fd22eb7a8ed171807d7273a1a2b0e01 /npc/016-1
parentcd237b94dfa0103d15ff72152b7ebf784be2bd18 (diff)
downloadserverdata-e6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad.tar.gz
serverdata-e6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad.tar.bz2
serverdata-e6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad.tar.xz
serverdata-e6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad.zip
Stop beating around the bush. reputation() now returns a 0~100 int.
Diffstat (limited to 'npc/016-1')
-rw-r--r--npc/016-1/captain.txt46
1 files changed, 25 insertions, 21 deletions
diff --git a/npc/016-1/captain.txt b/npc/016-1/captain.txt
index 0e37e8f84..3d5be5d17 100644
--- a/npc/016-1/captain.txt
+++ b/npc/016-1/captain.txt
@@ -27,20 +27,16 @@
L_TTulim:
.@x=reputation("Tulim");
- if (.@x >= 14)
+ if (.@x >= 100)
.@price-=950;
- else if (.@x >= 12)
- .@price-=750;
- else if (.@x >= 10)
+ else if (.@x >= 80)
+ .@price-=800;
+ else if (.@x >= 60)
.@price-=600;
- else if (.@x >= 8)
+ else if (.@x >= 40)
.@price-=400;
- else if (.@x >= 6)
- .@price-=250;
- else if (.@x >= 4)
- .@price-=175;
- else if (.@x >= 2)
- .@price-=100;
+ else if (.@x >= 20)
+ .@price-=200;
mes "";
mesn;
@@ -77,15 +73,15 @@ L_TTulim:
L_THurns:
.@x=reputation("Hurns");
- if (.@x >= 5)
+ if (.@x >= 100)
.@price-=950;
- else if (.@x >= 4)
+ else if (.@x >= 80)
.@price-=800;
- else if (.@x >= 3)
+ else if (.@x >= 60)
.@price-=600;
- else if (.@x >= 2)
+ else if (.@x >= 40)
.@price-=400;
- else if (.@x >= 1)
+ else if (.@x >= 20)
.@price-=200;
mes "";
@@ -122,12 +118,20 @@ L_THurns:
L_TNival:
.@x=reputation("Nival");
- if (!$NIVALIS_LIBDATE)
- .@price=1; // zero could cause weird bugs
- else if (.@x >= 2)
+ if (.@x >= 100)
.@price-=950;
- else if (.@x >= 1)
- .@price-=550;
+ else if (.@x >= 80)
+ .@price-=800;
+ else if (.@x >= 60)
+ .@price-=600;
+ else if (.@x >= 40)
+ .@price-=400;
+ else if (.@x >= 20)
+ .@price-=200;
+
+ // Nivalis Liberation Day. Zero could cause weird bugs.
+ if (!$NIVALIS_LIBDATE)
+ .@price=1; //
mes "";
mesn;