summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 02:15:56 +0000
committerreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 02:15:56 +0000
commitaab752aa85c36783c588b106b7b7b398776cbd18 (patch)
tree6fdb3e14f19186818113f7991ff4ae0b646144c2 /src/map/mob.c
parent411b0b9ae978b7c4faacb1ebb8816f69618da53b (diff)
downloadhercules-aab752aa85c36783c588b106b7b7b398776cbd18.tar.gz
hercules-aab752aa85c36783c588b106b7b7b398776cbd18.tar.bz2
hercules-aab752aa85c36783c588b106b7b7b398776cbd18.tar.xz
hercules-aab752aa85c36783c588b106b7b7b398776cbd18.zip
fixed my MVP drop conf
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6481 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 46129cd35..20afedab4 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3221,7 +3221,7 @@ static int mob_readdb(void)
else switch (type) // Added suport to restrict normal drops of MVP's [Reddozen]
{
case 0:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_heal_boss;
else {
rate_adjust = battle_config.item_rate_heal;
@@ -3230,7 +3230,7 @@ static int mob_readdb(void)
ratemax = battle_config.item_drop_heal_max;
break;
case 2:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_use_boss;
else {
rate_adjust = battle_config.item_rate_use;
@@ -3241,7 +3241,7 @@ static int mob_readdb(void)
case 4:
case 5:
case 8: // Changed to include Pet Equip
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_equip_boss;
else {
rate_adjust = battle_config.item_rate_equip;
@@ -3250,7 +3250,7 @@ static int mob_readdb(void)
ratemax = battle_config.item_drop_equip_max;
break;
case 6:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_card_boss;
else {
rate_adjust = battle_config.item_rate_card;
@@ -3259,7 +3259,7 @@ static int mob_readdb(void)
ratemax = battle_config.item_drop_card_max;
break;
default:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_common_boss;
else {
rate_adjust = battle_config.item_rate_common;
@@ -3870,7 +3870,7 @@ static int mob_read_sqldb(void)
else switch (type) // Added suport to restrict normal drops of MVP's [Reddozen]
{
case 0: // Val added heal restrictions
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_heal_boss;
else {
rate_adjust = battle_config.item_rate_heal;
@@ -3879,7 +3879,7 @@ static int mob_read_sqldb(void)
ratemax = battle_config.item_drop_heal_max;
break;
case 2:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_use_boss;
else {
rate_adjust = battle_config.item_rate_use;
@@ -3890,7 +3890,7 @@ static int mob_read_sqldb(void)
case 4:
case 5:
case 8: // Changed to include Pet Equip
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_equip_boss;
else {
rate_adjust = battle_config.item_rate_equip;
@@ -3899,7 +3899,7 @@ static int mob_read_sqldb(void)
ratemax = battle_config.item_drop_equip_max;
break;
case 6:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_card_boss;
else {
rate_adjust = battle_config.item_rate_card;
@@ -3908,7 +3908,7 @@ static int mob_read_sqldb(void)
ratemax = battle_config.item_drop_card_max;
break;
default:
- if (mob_db_data[class_]->mexp > 0)
+ if (mob_db_data[class_]->mode&MD_BOSS)
rate_adjust = battle_config.item_rate_common_boss;
else {
rate_adjust = battle_config.item_rate_common;