From 7bb91031c6b244781f6637dc87dafa5835326888 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 3 Sep 2007 03:35:42 +0000 Subject: - 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 --- src/map/mob.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/mob.h') 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); -- cgit v1.2.3-70-g09d2