diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-04-03 11:01:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-04-03 11:01:53 -0300 |
commit | 46bbd795861c531ea040d6389377432967c46a2b (patch) | |
tree | 1eb9e124dc77d7d3bf3c52e4fd941e409b60a550 /npc/003-10 | |
parent | 83f2fc1b60b7f1f84554d3ef0c69c0cfc2a12fca (diff) | |
download | serverdata-46bbd795861c531ea040d6389377432967c46a2b.tar.gz serverdata-46bbd795861c531ea040d6389377432967c46a2b.tar.bz2 serverdata-46bbd795861c531ea040d6389377432967c46a2b.tar.xz serverdata-46bbd795861c531ea040d6389377432967c46a2b.zip |
More improvements to Arnea
Diffstat (limited to 'npc/003-10')
-rw-r--r-- | npc/003-10/arnea.txt | 21 |
1 files changed, 15 insertions, 6 deletions
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; |