From a4f5cbf04ffd11b5cedcaea4756e9aa1dbc00011 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 8 Sep 2019 23:28:47 -0300 Subject: Record UDT Challenge ranking (for science) --- npc/003-13/arnea.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/003-13/arnea.txt') 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: -- cgit v1.2.3-70-g09d2