summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 14:52:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 14:52:11 +0000
commitdc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4 (patch)
tree05b3fa0c830cdbdb14ffc85ae56ff153ff4c929d /src/map/mob.h
parent52c05755226744e3fc6f42779d60f6ed392a5e4b (diff)
downloadhercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.gz
hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.bz2
hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.xz
hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.zip
- 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
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h19
1 files changed, 19 insertions, 0 deletions
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_);