summaryrefslogtreecommitdiff
path: root/npc/other/arena/arena_lvl60.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/arena/arena_lvl60.txt')
-rw-r--r--npc/other/arena/arena_lvl60.txt41
1 files changed, 21 insertions, 20 deletions
diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt
index c3d33f333..51c29def1 100644
--- a/npc/other/arena/arena_lvl60.txt
+++ b/npc/other/arena/arena_lvl60.txt
@@ -38,8 +38,8 @@ force_2-1,99,20,4 script Minilover#arena 4_F_TELEPORTER,{
OnStart:
initnpctimer;
- set $arena_min60st,gettime(2);
- set $arena_sec60st,gettime(1);
+ $arena_min60st = gettime(2);
+ $arena_sec60st = gettime(1);
end;
OnTimer3000:
@@ -784,8 +784,8 @@ OnMyMobDead:
donpcevent "Minilover#arena::On09_End";
donpcevent "arena#60::OnReset_09";
donpcevent "arena#60::OnReset_All";
- set $arena_min60end,gettime(2);
- set $arena_sec60end,gettime(1);
+ $arena_min60end = gettime(2);
+ $arena_sec60end = gettime(1);
}
end;
}
@@ -801,8 +801,9 @@ prt_are_in,129,135,3 script Staff#60-1 1_F_02,{
mes "You already have enough arena points.";
mes "Please spend some arena points later. When I see you next time, I will make sure to give you some reward.";
next;
+ } else {
+ ++arena_point;
}
- else set arena_point, arena_point + 1;
mes "[Staff]";
mes "Let me guide you outside. I hope you had a good time.";
close2;
@@ -814,22 +815,22 @@ prt_are_in,129,135,3 script Staff#60-1 1_F_02,{
prt_are_in,25,135,3 script Staff#60-2 1_F_02,{
if($arena_min60end < $arena_min60st) {
if($arena_sec60end < $arena_sec60st) {
- set @record_min60,60 - $arena_min60st + $arena_min60end -1;
- set @record_sec60,60 - $arena_sec60st + $arena_sec60end;
+ @record_min60 = 60 - $arena_min60st + $arena_min60end -1;
+ @record_sec60 = 60 - $arena_sec60st + $arena_sec60end;
} else {
- set @record_min60,60 - $arena_min60st + $arena_min60end;
- set @record_sec60,$arena_sec60end - $arena_sec60st;
+ @record_min60 = 60 - $arena_min60st + $arena_min60end;
+ @record_sec60 = $arena_sec60end - $arena_sec60st;
}
} else {
if($arena_sec60end < $arena_sec60st) {
- set @record_min60,$arena_min60end - $arena_min60st -1;
- set @record_sec60,60 - $arena_sec60st + $arena_sec60end;
+ @record_min60 = $arena_min60end - $arena_min60st -1;
+ @record_sec60 = 60 - $arena_sec60st + $arena_sec60end;
} else {
- set @record_min60,$arena_min60end - $arena_min60st;
- set @record_sec60,$arena_sec60end - $arena_sec60st;
+ @record_min60 = $arena_min60end - $arena_min60st;
+ @record_sec60 = $arena_sec60end - $arena_sec60st;
}
}
- set @gap60,(60 * $top_60min + $top_60sec) - (60 * @record_min60 + @record_sec60);
+ @gap60 = (60 * $top_60min + $top_60sec) - (60 * @record_min60 + @record_sec60);
mes "[Staff]";
mes "Wow, you did a good job~ ";
mes "Your name is...^3131FF" + strcharinfo(0) +"^000000, isn't it?";
@@ -862,7 +863,7 @@ prt_are_in,25,135,3 script Staff#60-2 1_F_02,{
mes "Thank you.";
close2;
} else {
- set arena_point, arena_point + 20;
+ arena_point += 20;
mes "[Staff]";
mes "Let me reward you some arena points.";
mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
@@ -887,9 +888,9 @@ prt_are_in,25,135,3 script Staff#60-2 1_F_02,{
next;
mes "[Staff]";
mes "You have been recorded as the fastest player among people who cleared ^FF0000Arena Time Force Battle lvl 60s^000000, ^3131FF"+strcharinfo(0)+"^000000.";
- set $top_60min, @record_min60;
- set $top_60sec, @record_sec60;
- set $arena_60topn$,strcharinfo(0);
+ $top_60min = @record_min60;
+ $top_60sec = @record_sec60;
+ $arena_60topn$ = strcharinfo(0);
donpcevent "Vendigos::OnLineRec_60";
next;
if (arena_point > 29950) {
@@ -909,7 +910,7 @@ prt_are_in,25,135,3 script Staff#60-2 1_F_02,{
mes "Let me reward you with some arena points.";
mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time.";
next;
- set arena_point, arena_point + 50;
+ arena_point += 50;
mes "[Staff]";
mes "Let me reward you some arena points.";
mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
@@ -1020,6 +1021,6 @@ OnEnable:
end;
OnInit:
- if(!$top_60min && !$top_60sec) set $top_60min,6;
+ if(!$top_60min && !$top_60sec) $top_60min = 6;
end;
}