summaryrefslogtreecommitdiff
path: root/npc/024-1/guard.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-16 01:20:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-16 01:20:57 -0300
commit87f727d2fb152a505c0d587d8dea60fa09043242 (patch)
tree25dd517fb6b9c1e185e94649093450804037b030 /npc/024-1/guard.txt
parent86868e4894645db545423fe4a702489e4799f396 (diff)
downloadserverdata-87f727d2fb152a505c0d587d8dea60fa09043242.tar.gz
serverdata-87f727d2fb152a505c0d587d8dea60fa09043242.tar.bz2
serverdata-87f727d2fb152a505c0d587d8dea60fa09043242.tar.xz
serverdata-87f727d2fb152a505c0d587d8dea60fa09043242.zip
Fix Frostia Guard (you must pay the toll, you noob! %%e) and collision
Diffstat (limited to 'npc/024-1/guard.txt')
-rw-r--r--npc/024-1/guard.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt
index 23bc03790..993cd9886 100644
--- a/npc/024-1/guard.txt
+++ b/npc/024-1/guard.txt
@@ -9,16 +9,16 @@
goto L_Unallowed;
//if (getrace() == "Elf") goto L_Warp;
- .@tax=1001-(reputation("Frostia")*10);
+ .@tax=1001-min(1000, reputation("Frostia")*10);
mesn;
mesc l("The guard eyes you with suspcion.");
mesq l("You should not be here. Get moving.");
if (Zeny < .@tax)
close;
next;
- mesc l("Bribe the guard for @@ GP?", .@price);
+ mesc l("Bribe the guard for @@ GP?", .@tax);
if (askyesno() == ASK_YES) {
- Zeny-=.@price;
+ Zeny-=.@tax;
closeclientdialog;
slide 93, 69;
npctalk3 l("Behave yourself.");