From 6182eca3c538871bf31a4fbb44076c017ceafa54 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 22 May 2019 09:34:28 -0300 Subject: Lower Tulimshar Arena Price --- npc/003-10/arnea.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'npc') 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$); -- cgit v1.2.3-60-g2f50