summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-10/arnea.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt
index cb2535a16..b9039e121 100644
--- a/npc/003-10/arnea.txt
+++ b/npc/003-10/arnea.txt
@@ -22,16 +22,17 @@ L_Menu:
l("Leave"), L_Quit;
L_NewArena:
+ .@price=.price / max(1, reputation("Tulim"));
mes "";
mesn;
- if (Zeny < .price) {
- mesq l("You need @@ GP to use this arena.", .price);
+ if (Zeny < .@price) {
+ mesq l("You need @@ GP to use this arena.", .@price);
goto L_Menu;
}
- mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price);
+ mesq l("Okay, which arena will you rent? Cost is @@ GP.", .@price);
menu
- rif(Zeny > .price, l("Rent arena")), -,
+ rif(Zeny > .@price, l("Rent arena")), -,
l("Give Up"), L_Quit;
mes "";
@@ -79,7 +80,7 @@ L_NewArena:
instance_init(.@INSTID);
// You are only charged once arena is all set
- Zeny=Zeny-.price;
+ Zeny=Zeny-.@price;
dispbottom l("Arena created, it can be used for 30 minutes.");
dispbottom l("Room password: @@", .@user_password$);