diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-16 14:42:16 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-16 14:42:16 +0000 |
commit | 5e053d4db7ef162f13246219a5e0b12046a7c7f8 (patch) | |
tree | d6a2f311c63cb3fafae5033679d7c7f8c9ab6cc9 /src/map/mob.h | |
parent | e07326b0aa71a74cacd425e30745bb01a60b153f (diff) | |
download | hercules-5e053d4db7ef162f13246219a5e0b12046a7c7f8.tar.gz hercules-5e053d4db7ef162f13246219a5e0b12046a7c7f8.tar.bz2 hercules-5e053d4db7ef162f13246219a5e0b12046a7c7f8.tar.xz hercules-5e053d4db7ef162f13246219a5e0b12046a7c7f8.zip |
* [Improved]:
- Cleaned up Custom Mob Script Callback codes. Looks much better now :B.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7202 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 4bfc76603..34b3988ad 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -25,6 +25,18 @@ #define MOB_CLONE_START 9001
#define MOB_CLONE_END 10000
+// Scripted Mob AI Constants
+#define CALLBACK_ATTACK 0x80
+#define CALLBACK_DETECT 0x40
+#define CALLBACK_DEAD 0x20
+#define CALLBACK_ASSIST 0x10
+#define CALLBACK_KILL 0x08
+#define CALLBACK_UNLOCK 0x04
+#define CALLBACK_WALKACK 0x02
+#define CALLBACK_WARPACK 0x01
+
+void mob_script_callback(struct mob_data *md, struct block_list *target, unsigned char action_type);
+
struct mob_skill {
short state;
short skill_id,skill_lv;
|