summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-27 03:49:29 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-27 03:49:29 +0000
commitf4867954028b6c7b4d37c9860696578b27d6dbd1 (patch)
tree64fb6aff134126f9eef4af54232dbb1cd0424b10 /src/map/npc.h
parenteb2af623ae935795182e062375094e458ead1dc5 (diff)
downloadhercules-f4867954028b6c7b4d37c9860696578b27d6dbd1.tar.gz
hercules-f4867954028b6c7b4d37c9860696578b27d6dbd1.tar.bz2
hercules-f4867954028b6c7b4d37c9860696578b27d6dbd1.tar.xz
hercules-f4867954028b6c7b4d37c9860696578b27d6dbd1.zip
* Implemented `useskilltopc' (tid:74685), and now if desired npcs can carry status such as str, atk, def, etc and level.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17048 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 0379ae634..041adb7b6 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -39,6 +39,10 @@ struct npc_data {
unsigned size : 2;
+ struct status_data status;
+ unsigned int level;
+ unsigned int stat_point;
+
void* chatdb; // pointer to a npc_parse struct (see npc_chat.c)
char* path;/* path dir */
enum npc_subtype subtype;