summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 18:32:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 18:32:08 +0000
commit77b02c49796f442a3ea87bb5bab1b568a4d80a29 (patch)
treeaf359d1fdb161b0ecd330946a2d52dc458f814c1 /src/map/map.h
parentc92056c063c53cbee4f7004d064f075b3c96c33f (diff)
downloadhercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.gz
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.bz2
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.xz
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.zip
- Modified a bit the hard/lazy ai triggers to match aegis:
- Mobs go into active AI when they are 2 cells from entering a player's view (ACTIVE_AI_RANGE) - Mobs in passive AI no longer use skills. - Mobs in passive AI do not random walk UNLESS they have entered active AI before (random walk frequency is not lost during passive AI). - Added an additional check to prevent support skills from being blocked if the target has an armor element that blocks it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11294 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index b33f8f1d1..cdae79a78 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -919,6 +919,7 @@ struct mob_data {
unsigned alchemist: 1;
unsigned no_random_walk: 1;
unsigned killer: 1;
+ unsigned spotted: 1;
unsigned char attacked_count; //For rude attacked.
int provoke_flag; // Celest
} state;