diff --git a/npc/other/arena/arena_point.txt b/npc/other/arena/arena_point.txt index b98b778ced..97c9bf7ebb 100644 --- a/npc/other/arena/arena_point.txt +++ b/npc/other/arena/arena_point.txt @@ -62,7 +62,7 @@ prt_are_in,103,11,3 script Arena Point Manager 732,{ mes "To cancel, enter ''^3355FF0^000000.''"; next; input .@input; - if (.@input == 0) { + if (.@input <= 0) { mes "[Arena Point Manager]"; mes "You have"; mes "canceled"; @@ -113,8 +113,8 @@ prt_are_in,103,11,3 script Arena Point Manager 732,{ mes "into 5 Arena Points " + .@input + " times."; mes "A total of " + .@want_point1 + " Turbo Track Points were converted into"; mes "" + .@want_point +" Arena Points."; - set tt_point,tt_point - .@want_point1; - set arena_point,arena_point+.@want_point; + set tt_point, .@my_turbo_all; + set arena_point, .@my_arena_all; next; mes "[Arena Point Manager]"; mes "" + strcharinfo(0) + ","; diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt index 973b8bb9cd..6c43498173 100644 --- a/npc/other/arena/arena_room.txt +++ b/npc/other/arena/arena_room.txt @@ -999,7 +999,7 @@ function script Func_Are_Rew { mes "If you wish to cancel, please enter 0. If you don't, please enter how many ^3131FFtimes^000000 of arena points you wish to spend."; next; input .@reward; - if (.@reward == 0) { + if (.@reward <= 0) { mes "[Givu]"; mes "You have canceled your request."; close; @@ -1008,7 +1008,7 @@ function script Func_Are_Rew { mes "You have exceeded the maximum capacity."; close; } - if (arena_point < .@reward * .@arena_point) { + if (arena_point < (.@reward * .@arena_point)) { mes "[Givu]"; mes "You do not have enough arena points."; mes "Please check the total amount of arena points you have."; diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index ddd5f61f51..757dd4c02a 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -4492,7 +4492,7 @@ turbo_room,106,117,3 script Point Manager#tt 833,{ mes "is 20. To cancel, enter '^3355FF0^000000.'"; next; input .@input; - if (.@input == 0) { + if (.@input <= 0) { mes "[Turbo Track Point Manager]"; mes "You have"; mes "canceled";