From 87f727d2fb152a505c0d587d8dea60fa09043242 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 16 Mar 2019 01:20:57 -0300 Subject: Fix Frostia Guard (you must pay the toll, you noob! %%e) and collision --- npc/024-1/guard.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/024-1') 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."); -- cgit v1.2.3-60-g2f50