summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-14 14:21:47 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-14 14:21:47 +0000
commitc9d4051012392245ec08e1ee25395bd22555e638 (patch)
tree772d7b672d421ed0e07df450d7904d9174f2eb56 /src/map/npc.c
parentaf5a9674dc39e941466fe92502d77f1a6861d0c0 (diff)
downloadhercules-c9d4051012392245ec08e1ee25395bd22555e638.tar.gz
hercules-c9d4051012392245ec08e1ee25395bd22555e638.tar.bz2
hercules-c9d4051012392245ec08e1ee25395bd22555e638.tar.xz
hercules-c9d4051012392245ec08e1ee25395bd22555e638.zip
- Characters with Karma may fight amongst them anywhere.
- Added mapflags partylock and guildlock, which lock the state of the parties/guilds on said maps. partylock blocks user party requests to create/invite/leave/kick, while guildlock blocks user guild requests to create/invite/leave/expel/make alliance/make opposition/delete alliance/delete opposition/break git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9216 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 075cc2fe1..44b73d8f5 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2567,6 +2567,12 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4)
else if (strcmpi(w3,"nochat")==0) { // Skotlex
map[m].flag.nochat=state;
}
+ else if (strcmpi(w3,"partylock")==0) { // Skotlex
+ map[m].flag.partylock=state;
+ }
+ else if (strcmpi(w3,"guildlock")==0) { // Skotlex
+ map[m].flag.guildlock=state;
+ }
return 0;
}