diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-09 03:43:46 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-09 03:43:46 +0000 |
commit | e1d84a18ec61d7132505d9ece70cc1f0adac675e (patch) | |
tree | 106cdff4e7c02898e51f8f5bdf393f8d3c5e1276 /src/map/mob.h | |
parent | 67785396c1d2a3740404bd993f74dcaad87304ab (diff) | |
download | hercules-e1d84a18ec61d7132505d9ece70cc1f0adac675e.tar.gz hercules-e1d84a18ec61d7132505d9ece70cc1f0adac675e.tar.bz2 hercules-e1d84a18ec61d7132505d9ece70cc1f0adac675e.tar.xz hercules-e1d84a18ec61d7132505d9ece70cc1f0adac675e.zip |
- Moved damage logging to mob_log_damage, now non-damage targetted (or splash) skills also get logged into the monster's 'damage history' which affects the exp-bonus per attacker setting.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10966 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index c17104d6e..71abe8d8d 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -164,6 +164,7 @@ struct mob_data* mob_spawn_dataset(struct spawn_data *data); int mob_spawn(struct mob_data *md); int mob_setdelayspawn(struct mob_data *md); int mob_parse_dataset(struct spawn_data *data); +void mob_log_damage(struct mob_data *md, struct block_list *src, int damage); void mob_damage(struct mob_data *md, struct block_list *src, int damage); int mob_dead(struct mob_data *md, struct block_list *src, int type); void mob_revive(struct mob_data *md, unsigned int hp); |