summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-08 13:43:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-08 13:43:48 +0000
commit84f97d418a39f8c4d95757623a08fbd02196e5a2 (patch)
tree454f96684e4bf7f03a0786ccfe4590b2fa66c239 /src/map/map.h
parent59aae2ed7a29f22b90bec24962e83d7a420dc4d1 (diff)
downloadhercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.gz
hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.bz2
hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.tar.xz
hercules-84f97d418a39f8c4d95757623a08fbd02196e5a2.zip
- Moved attackedcount to md->state and made it an unsigned char.
- Autospell delay time is now the skill's full delay. - Removed variable attackedplayers, since Aegis is state driven, the best approximation to Aegis would be to use the last player that hit the mob. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9436 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 5bf9ab006..c7234dc29 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -944,6 +944,7 @@ struct mob_data {
unsigned alchemist: 1;
unsigned no_random_walk: 1;
unsigned killer: 1;
+ unsigned char attacked_count; //For rude attacked.
int provoke_flag; // Celest
} state;
struct guardian_data* guardian_data;
@@ -956,8 +957,6 @@ struct mob_data {
struct item *lootitem;
short spawn_n; //Spawn data index on the map server.
short class_;
- short attacked_count;
- unsigned char attacked_players;
unsigned int tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
int level;
int target_id,attacked_id;