summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-20 16:04:47 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-20 16:04:47 +0000
commitb5b4c77e5fff30072c7c24ed8a8d7316d08d8c9c (patch)
tree455e9289ccd1981acdd35e459b099a1e79a3552d /src/map/npc.c
parentee340265a907f243c01588d86b47f244acf7e268 (diff)
downloadhercules-b5b4c77e5fff30072c7c24ed8a8d7316d08d8c9c.tar.gz
hercules-b5b4c77e5fff30072c7c24ed8a8d7316d08d8c9c.tar.bz2
hercules-b5b4c77e5fff30072c7c24ed8a8d7316d08d8c9c.tar.xz
hercules-b5b4c77e5fff30072c7c24ed8a8d7316d08d8c9c.zip
- Added support for n to specify minutes to @charban.
- Fixed a logic typo on the way dummy_npc_id was defined. - Added state.trading to specify when a trading has started. Now you should be able to walk around until the trade is either rejected or started. - Armor defense is no longer reduced by the amount of characters targetting you. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6192 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index e0dda3344..bd83131ed 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -50,6 +50,7 @@ static int npc_mob=0;
static int npc_delay_mob=0;
static int npc_cache_mob=0;
char *current_file = NULL;
+int dummy_npc_id=0;
int npc_get_new_npc_id(void){ return npc_id++; }
static struct dbt *ev_db;