summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 17:08:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 17:08:09 +0000
commit201d850ec63f84808533d44b37caa5f582c4c25e (patch)
tree97069a114e46d4fa379a3348f5e6a3be0e6abb90 /src/map/map.h
parent78c3ef3eee96f59282e699b3c7da7dad592ab5ea (diff)
downloadhercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.gz
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.bz2
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.xz
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.zip
- Script commands sc_start, sc_start2 and sc_start4 will now start regardless of sc defense of the target player (that is, they cannot be avoided)
- Fixed a possible counter overflow in attacked_count, changed the var size to unsigned char since the code can handle the overflow now. - Multiple targets again reduces armor defense, as reported by Tharis. - Increased dex increase of NPC_POWERUP to +20 per level. - Fog of Wall's -50 hit reduction is now only for ranged attacks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6528 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 839dccd31..44b29af42 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -901,7 +901,7 @@ struct mob_data {
short speed;
short attacked_count;
unsigned short level;
- unsigned short attacked_players;
+ unsigned char attacked_players;
unsigned int tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
int hp, max_hp;
int target_id,attacked_id;