From fa768d6b1301c8ed5806b36ea2671d8c672a572f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Mar 2018 08:56:38 -0300 Subject: Stop using getgmlevel() and use is_gm() is_admin() and is_staff(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our four power levels: getgmlevel() → Sponsors, etc. is_staff() → GM 5, Developers, test server, etc. is_gm() → GM 80, Game Master, controls the world is_admin() → GM 99, Administrator, controls the uniserver (pun intended) --- npc/003-5/arnea.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'npc/003-5') diff --git a/npc/003-5/arnea.txt b/npc/003-5/arnea.txt index eeb95f1e3..a55db1fd0 100644 --- a/npc/003-5/arnea.txt +++ b/npc/003-5/arnea.txt @@ -6,15 +6,14 @@ // Arena for Duels and PVP (003-13,31,31) 003-5,33,37,0 script Arnea NPC_ELF_F,{ - // FiXIT - hello; - end; - if (DESTROY_ME) { DESTROY_ME=0; instance_destroy(DESTROY_MY_ID); } - if (!getgmlevel()) goto L_Incomplete; + + // FIXIT code + if (!is_staff()) goto L_Incomplete; + mesn; mesq l("Welcome to the Arena. Select your action"); menu -- cgit v1.2.3-70-g09d2