summaryrefslogtreecommitdiff
path: root/npc/003-13
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-08 23:28:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-08 23:28:47 -0300
commita4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011 (patch)
tree77f72446571012d79194dd8a3089596eaf3e899a /npc/003-13
parent33980dff1e2bb1e5c55dd58a088850ea61359c5c (diff)
downloadserverdata-a4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011.tar.gz
serverdata-a4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011.tar.bz2
serverdata-a4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011.tar.xz
serverdata-a4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011.zip
Record UDT Challenge ranking (for science)
Diffstat (limited to 'npc/003-13')
-rw-r--r--npc/003-13/arnea.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/003-13/arnea.txt b/npc/003-13/arnea.txt
index 084e8b22c..2107bda43 100644
--- a/npc/003-13/arnea.txt
+++ b/npc/003-13/arnea.txt
@@ -40,6 +40,7 @@ L_Manage:
select
l("warp back"),
rif(!'UDTf, l("begin UDT Challenge")),
+ l("UDT Challenge Ranking"),
l("cancel");
switch (@menu)
@@ -72,6 +73,11 @@ L_Manage:
closeclientdialog;
break;
case 3:
+ mesc l("All leaderboards are refreshed hourly."), 1;
+ mesc l("Your current score: @@", UDTRANK), 3;
+ HallOfUDT();
+ break;
+ case 4:
break;
}
close;
@@ -113,6 +119,8 @@ OnGladius:
setunitdata(.@mg, UDT_CRIT, (.@blv/2)+.@luk+('UDTf*2));
'UDTf+=1;
npctalk ("UDT Challenge, wave " + 'UDTf + "!");
+ if ('UDTf > UDTRANK)
+ UDTRANK='UDTf;
end;
OnInit: