diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-04 15:37:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-04 15:37:09 +0000 |
commit | 9b325c6a9ee3e96a991bbac34b907305316e5e1a (patch) | |
tree | a88ca00179edb3b5a8e89bcad77c1b31bdf880ac /src/map/mob.c | |
parent | 5edc20529759c12add3da5c3ed0a1cfe335de6b8 (diff) | |
download | hercules-9b325c6a9ee3e96a991bbac34b907305316e5e1a.tar.gz hercules-9b325c6a9ee3e96a991bbac34b907305316e5e1a.tar.bz2 hercules-9b325c6a9ee3e96a991bbac34b907305316e5e1a.tar.xz hercules-9b325c6a9ee3e96a991bbac34b907305316e5e1a.zip |
- Repairing items via scripts no longer displays "item has been repaired"
- Status Recovery again makes mobs unlock their current target.
- Moved requesting party/guilds from the char-server from pc_authok to pc_reg_received, since map_nick2sd and map_getallsd won't work until the characters are authentified. Also removed the guild master setting from clif_parse_LoadEndAck to pc_reg_received since guild master setting will work there.
- Fixed homun hunger timer being started on login even when hom is vaporized/dead.
- Fixed mvp exp attacker bonus applying incorrectly.
- Removed duplicate msg_athena.conf entries 619 and 620 for Ninja/Gunslinger.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9401 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 9ef9d75ce..d42e28fc1 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2072,7 +2072,8 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) exp =1; else { exp = md->db->mexp; - exp += exp*(battle_config.exp_bonus_attacker*count)/100.; //[Gengar] + if (count > 1) + exp += exp*(battle_config.exp_bonus_attacker*(count-1))/100.; //[Gengar] } mexp = (exp > UINT_MAX)?UINT_MAX:(exp<1?1:(unsigned int)exp); |