diff options
author | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-24 20:21:46 +0000 |
---|---|---|
committer | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-24 20:21:46 +0000 |
commit | 38e55a7c23b9ae0f9227120ba4d465999a0b3427 (patch) | |
tree | 31f3fe43cfde4c1a0f2a5e349d7fc0738c0c81d9 /src/map/map.h | |
parent | 182a0282401297b608db331676882e9dfe7cd89f (diff) | |
download | hercules-38e55a7c23b9ae0f9227120ba4d465999a0b3427.tar.gz hercules-38e55a7c23b9ae0f9227120ba4d465999a0b3427.tar.bz2 hercules-38e55a7c23b9ae0f9227120ba4d465999a0b3427.tar.xz hercules-38e55a7c23b9ae0f9227120ba4d465999a0b3427.zip |
Fixed behavior in permanent mob spawns allowing new optional parameters: level, size and AI.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16962 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 1fbb02a86..b011c8193 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -324,6 +324,7 @@ struct spawn_data { unsigned short num; //Number of mobs using this structure unsigned short active;//Number of mobs that are already spawned (for mob_remove_damaged: no) unsigned int delay1, delay2; //Spawn delay (fixed base + random variance) + unsigned int level; struct { unsigned int size : 2; //Holds if mob has to be tiny/large unsigned int ai : 4; //Special ai for summoned monsters. |