diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-02 20:44:38 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-02 20:44:38 +0000 |
commit | e6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb (patch) | |
tree | 40ae570d1b60dc1e7a9c215c4adc9f76847612d0 /src/map/mob.c | |
parent | ce1208eb233cab2923c82ba61d546b108e056fc0 (diff) | |
download | hercules-e6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb.tar.gz hercules-e6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb.tar.bz2 hercules-e6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb.tar.xz hercules-e6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb.zip |
* Added support for IT_CASH to @iteminfo, logging filters and item drop rate adjustment. Added 'show_picker.item_type'-specific IT_CASH value to it's description (follow up to r14549).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14550 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 524350b81..3c5a611af 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3582,6 +3582,7 @@ static bool mob_parse_dbrow(char** str) ratemax = battle_config.item_drop_heal_max; break; case IT_USABLE: + case IT_CASH: rate_adjust = (status->mode&MD_BOSS) ? battle_config.item_rate_use_boss : battle_config.item_rate_use; ratemin = battle_config.item_drop_use_min; ratemax = battle_config.item_drop_use_max; |