From 46bbd795861c531ea040d6389377432967c46a2b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 3 Apr 2018 11:01:53 -0300 Subject: More improvements to Arnea --- npc/003-10/arnea.txt | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'npc/003-10/arnea.txt') diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt index 5277335ae..47b83591f 100644 --- a/npc/003-10/arnea.txt +++ b/npc/003-10/arnea.txt @@ -24,15 +24,16 @@ L_NewArena: mesn; if (Zeny < .price) { mesq l("You need @@ GP to use this arena.", .price); - } else { - mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price); - menu - rif(Zeny > 1000, l("Rent arena")), -, - l("Give Up"), L_Quit; + goto L_Menu; } + mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price); + menu + rif(Zeny > .price, l("Rent arena")), -, + l("Give Up"), L_Quit; + // Register to HTTable $@ARENAS (or override existing entry) your ID and a password - .@PASSWORD=getcharid(0)**1.137; + .@PASSWORD=(getcharid(0)**1.137); htput($@ARENAS, .@PASSWORD, getcharid(0)); // XXX - Important Note - XXX @@ -53,8 +54,16 @@ L_NewArena: .@instanceMapName$ = instance_attachmap("003-13", .@INSTID, 0, .@MAP$); instance_set_timeout(1800, 1800, .@INSTID); instance_init(.@INSTID); + + Zeny=Zeny-.price; + dispbottom l("Arena created, it can be used for 10 minutes."); dispbottom l("Room password: @@", .@PASSWORD); + mes ""; + mesn; + mes l("Arena created, it can be used for 10 minutes."); + mes l("Room password: @@", .@PASSWORD); + next; goto L_Menu; -- cgit v1.2.3-60-g2f50