summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 01:16:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 01:16:56 +0000
commitbc8350f550226c4d7d848ea9737f46c4a5d61575 (patch)
tree09945b6d680864c4fec46b63ab8a4a5844c45fd0 /src/map/mob.c
parent8630d5ddbb8c544096ebd7e6f023c23e9d7e407d (diff)
downloadhercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.gz
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.bz2
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.xz
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.zip
- Changed define EQP_WEAPON to specify only the right-hand weapon, added define EQP_ARMS to specify both arm-slots.
- Some minor code cleanups to take account for the above, fixed Strip shield/weapon removing both. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8177 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 0c76cdb27..cea8b388a 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1801,8 +1801,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(battle_config.mobs_level_up && md->level > md->db->lv) // [Valaris]
bonus += (md->level-md->db->lv)*battle_config.mobs_level_up_exp_rate;
- if (bonus > 400) bonus = 400; //Limit gained exp to quadro the mob's exp. [3->4 Komurka]
-
if(battle_config.zeny_from_mobs && md->level) {
// zeny calculation moblv + random moblv [Valaris]
zeny=(int) ((md->level+rand()%md->level)*per*bonus/100.);