summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-14 01:18:19 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-14 01:18:19 +0000
commitbcb283d696d5ec4d7b6a2dfd2ba52cf2a3011fb4 (patch)
tree23d639da18bafca939801a7f19da655084e1ecc0 /src/map/npc.c
parentf4d4a5e61a464944482c11daeeb379808445483c (diff)
downloadhercules-bcb283d696d5ec4d7b6a2dfd2ba52cf2a3011fb4.tar.gz
hercules-bcb283d696d5ec4d7b6a2dfd2ba52cf2a3011fb4.tar.bz2
hercules-bcb283d696d5ec4d7b6a2dfd2ba52cf2a3011fb4.tar.xz
hercules-bcb283d696d5ec4d7b6a2dfd2ba52cf2a3011fb4.zip
- Added some new config settings: homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
- Added a code to activate a Kill Steal protection and the required mapflags. * (I will explain this later on forums). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12203 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index dbb190ebb..6f1c59806 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2318,6 +2318,8 @@ static const char* npc_parse_mapflag(char* w1, char* w2, char* w3, char* w4, con
}
map[m].flag.nosave = state;
}
+ else if (!strcmpi(w3,"allowks"))
+ map[m].flag.allowks=state; // [Kill Steal Protection]
else if (!strcmpi(w3,"nomemo"))
map[m].flag.nomemo=state;
else if (!strcmpi(w3,"noteleport"))