summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-13 15:04:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-13 15:04:11 +0000
commit78748079288acbd6e5fc7513baa70cf5b0a9a330 (patch)
treed2aada8ab9d3f91fbfd8f4453b527d5a1f1c13d9 /src/map/map.h
parent802127420bf94a1f88696eb74feaf8917fa350cf (diff)
downloadhercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.gz
hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.bz2
hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.tar.xz
hercules-78748079288acbd6e5fc7513baa70cf5b0a9a330.zip
- NPC_POWERUP now gives +40% atk per level.
- Water elementals can be frozen again. - Fixed the sc_def equation in status_change_start - Fixed an extra semi-colon that broke win32 compiles. - Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons. - Now slaves give exp/loot (exception: player slaves still stick to the old rules) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5267 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 3a97991cb..ea1f85bbd 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -845,15 +845,16 @@ struct mob_data {
int id;
int dmg;
} dmglog[DAMAGELOG_SIZE];
- unsigned long tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
short n;
- short base_class,class_,dir,mode,level;
+ short base_class,class_,dir,mode;
short m,x0,y0,xs,ys;
short to_x,to_y;
short target_dir;
short speed;
short attacked_count;
short target_lv;
+ unsigned long tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
+ unsigned int level;
int timer;
int hp, max_hp;
int target_id,attacked_id;