diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-07-11 20:13:22 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-07-11 20:13:22 +0000 |
commit | 3f04b3aa7a2ff0c7266f53ead689d9ea81ce5ef7 (patch) | |
tree | 9c62474a38e66f9d1dee2ab5e59d8e6fc25721d2 /src/map/mob.c | |
parent | 8729e952e08aa1af4e315060208a405b759f1027 (diff) | |
download | hercules-3f04b3aa7a2ff0c7266f53ead689d9ea81ce5ef7.tar.gz hercules-3f04b3aa7a2ff0c7266f53ead689d9ea81ce5ef7.tar.bz2 hercules-3f04b3aa7a2ff0c7266f53ead689d9ea81ce5ef7.tar.xz hercules-3f04b3aa7a2ff0c7266f53ead689d9ea81ce5ef7.zip |
* Added bonus3 bAddClassDropItem, care of Epoque.
- Added several missing items to the item database, updated others.
- Raised level 10 Dec. AGI to be level 48, when used by mobs.
- Added missing mercenaries to the mercenary DB, and skills.
- Added missing monster_chat_db entries for Nydhoggr's Shadow.
- Added Brasilis pets to the pet DB, these pets are unhatchable on purpose.
- Added additional quests to the quest_db, mostly for RE.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14901 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 5fb440b4f..f41501638 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2260,7 +2260,8 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) for (i = 0; i < ARRAYLENGTH(sd->add_drop) && (sd->add_drop[i].id || sd->add_drop[i].group); i++) { if (sd->add_drop[i].race & (1<<status->race) || - sd->add_drop[i].race & 1<<(status->mode&MD_BOSS?RC_BOSS:RC_NONBOSS)) + sd->add_drop[i].race & 1<<(status->mode&MD_BOSS?RC_BOSS:RC_NONBOSS) || + sd->add_drop[i].race == md->class_) { //check if the bonus item drop rate should be multiplied with mob level/10 [Lupus] if(sd->add_drop[i].rate < 0) { |