summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-02 15:54:50 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-02 15:54:50 +0000
commit8f98ecea38aa77e4d0fb53bae0dc6052289b24a8 (patch)
treeb2706d9f9ce8ae44f87583eb58156153de0bcbbd /src/map/mob.h
parent6b1e40e08d0d42abad80cc8bad1b848091bf0b30 (diff)
downloadhercules-8f98ecea38aa77e4d0fb53bae0dc6052289b24a8.tar.gz
hercules-8f98ecea38aa77e4d0fb53bae0dc6052289b24a8.tar.bz2
hercules-8f98ecea38aa77e4d0fb53bae0dc6052289b24a8.tar.xz
hercules-8f98ecea38aa77e4d0fb53bae0dc6052289b24a8.zip
- Added support for OnTouchNPC event, required for Monster Race. Script commands need to be tested. Already tested sc_start.
- Added status SC_WALKSPEED required in monster Race. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12752 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 161a35126..cade69305 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -125,6 +125,7 @@ struct mob_data {
unsigned int tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
int level;
int target_id,attacked_id;
+ int areanpc_id; //Required in OnTouchNPC (to avoid multiple area touchs)
unsigned int next_walktime,last_thinktime,last_linktime,last_pcneartime;
short move_fail_count;