From dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 24 Apr 2006 14:52:11 +0000 Subject: - Fixed skill_delayfix not altering delay at all after you reached 150. - Applied ers to pet loot drops. - Cleaned up the pet loot drop function. - Mob skill state MSS_ANY won't include MSS_DEAD now. - Added mob skill state MSS_ANYTARGET ("anytarget") which means any state (except dead) on which the mob has a target set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6250 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/map/mob.h') diff --git a/src/map/mob.h b/src/map/mob.h index 3fb9a64b9..2cb995ac0 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -106,6 +106,25 @@ enum { MSS_ANGRY, //Mob retaliating from being attacked. MSS_RUSH, //Mob following a player after being attacked. MSS_FOLLOW, //Mob following a player without being attacked. + MSS_ANYTARGET, +}; + + +/*========================================== + * The structure object for item drop with delay + * Since it is only two being able to pass [ int ] a timer function + * Data is put in and passed to this structure object. + *------------------------------------------ + */ +struct item_drop { + struct item item_data; + struct item_drop *next; +}; + +struct item_drop_list { + int m,x,y; + struct map_session_data *first_sd,*second_sd,*third_sd; + struct item_drop *item; }; struct mob_db* mob_db(int class_); -- cgit v1.2.3-70-g09d2