summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 12:02:31 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 12:02:31 -0300
commit65037917d12f37c28ad49f1407feea2b4178978b (patch)
tree9977072abde06adf5a7286c5ab613e354830b71e
parenta79606ce3ad00e1193b8a590f347f73e4aceed8a (diff)
downloadserverdata-65037917d12f37c28ad49f1407feea2b4178978b.tar.gz
serverdata-65037917d12f37c28ad49f1407feea2b4178978b.tar.bz2
serverdata-65037917d12f37c28ad49f1407feea2b4178978b.tar.xz
serverdata-65037917d12f37c28ad49f1407feea2b4178978b.zip
Tulimshar Inn have a bug, so mayors will not be allowed to sleep for free.
-rw-r--r--npc/003-9/recepcionist.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-9/recepcionist.txt b/npc/003-9/recepcionist.txt
index 6202f1f9f..05da2a24b 100644
--- a/npc/003-9/recepcionist.txt
+++ b/npc/003-9/recepcionist.txt
@@ -17,7 +17,7 @@
}
.@price=limit(400, 700+(BaseLevel*3)-getq(General_Narrator)*6, 1200);
- .@price=POL_AdjustPrice(.@price);
+ .@price=limit(250, POL_AdjustPrice(.@price), 1200);
mesn;
mesq l("Good %s. Would you like to sleep here? It's only %d GP!", (is_night() ? l("evening") : l("day")), .@price);
@@ -29,7 +29,7 @@
POL_PlayerMoney(.@price);
percentheal 100, 100;
.@buff=(is_night() ? 15 : 10);
- SC_Bonus(900, INCMHPRATE, .@buff, .@buff);
+ SC_Bonus(900, INCMHPRATE, .@buff, .@buff); // FIXME: We don't want stacking
closeclientdialog;
}
close;