From d214e16b4875f2be40c817f609d940a6ff5ef088 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 3 Mar 2006 14:38:13 +0000 Subject: - Trick dead now ends on logout - Added mapflag nocommand which blocks @/# commands unless your gm level is above gm_skill_unconditional's level. - Fixed weapon scripts not being executed unless the weapon was forged. - gm_skill_unconditional is now a no/gm-level setting instead of yes/no git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5446 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 4a7562b18..c511c8de4 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2611,6 +2611,9 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4) else if (strcmpi(w3,"nomvploot")==0) { // Lorky map[m].flag.nomvploot=1; } + else if (strcmpi(w3,"nocommand")==0) { // Skotlex + map[m].flag.nocommand=1; + } else if (strcmpi(w3,"restricted")==0) { // Komurka map[m].flag.restricted=1; sscanf(w4, "%d", &map[m].zone); -- cgit v1.2.3-70-g09d2