diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-03 03:35:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-03 03:35:42 +0000 |
commit | 7bb91031c6b244781f6637dc87dafa5835326888 (patch) | |
tree | 0b762a50ccba3c0c83bb53b106726d8341963215 /src/map/mob.h | |
parent | 4e2dfb05f4cd0743b4b49d2c9c9b9422fa8603e5 (diff) | |
download | hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.gz hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.bz2 hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.xz hercules-7bb91031c6b244781f6637dc87dafa5835326888.zip |
- Merged @whereis from my server (displays normal spawn maps for given mobs). This command should be working correctly considering I've been using it since July. I was meant to merge it as soon as I got my hard-drive back, but I kinda forgot @_@
- bonus3 autospell (and autospell when hit) will change the target to self when the skill to be casted is inf&4 (self skill).
- Corrected script homevolution not making the homunculus /swt if it is invoked when not loyal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 944ab84ac..e75de3912 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -56,6 +56,11 @@ struct mob_skill { short emotion; }; +struct spawn_info { + unsigned short mapindex; + unsigned short qty; +}; + struct mob_db { char sprite[NAME_LENGTH],name[NAME_LENGTH],jname[NAME_LENGTH]; unsigned int base_exp,job_exp; @@ -71,6 +76,7 @@ struct mob_db { int summonper[MAX_RANDOMMONSTER]; int maxskill; struct mob_skill skill[MAX_MOBSKILL]; + struct spawn_info spawn[10]; }; enum { @@ -173,6 +179,7 @@ void mob_heal(struct mob_data *md,unsigned int heal); #define mob_stop_walking(md, type) { if (md->ud.walktimer != -1) unit_stop_walking(&md->bl, type); } #define mob_stop_attack(md) { if (md->ud.attacktimer != -1) unit_stop_attack(&md->bl); } +void mob_clear_spawninfo(); int do_init_mob(void); int do_final_mob(void); |