diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-22 09:34:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-22 09:34:28 -0300 |
commit | 6182eca3c538871bf31a4fbb44076c017ceafa54 (patch) | |
tree | 1641e4f4d969e9d79aa3a6064eea9c9ce1aede4e /npc/003-10/arnea.txt | |
parent | 4963e54d3cdbcd3415cb3ae952fb22c35992160a (diff) | |
download | serverdata-6182eca3c538871bf31a4fbb44076c017ceafa54.tar.gz serverdata-6182eca3c538871bf31a4fbb44076c017ceafa54.tar.bz2 serverdata-6182eca3c538871bf31a4fbb44076c017ceafa54.tar.xz serverdata-6182eca3c538871bf31a4fbb44076c017ceafa54.zip |
Lower Tulimshar Arena Price
Diffstat (limited to 'npc/003-10/arnea.txt')
-rw-r--r-- | npc/003-10/arnea.txt | 11 |
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$); |