diff options
author | reddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-02 00:20:17 +0000 |
---|---|---|
committer | reddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-02 00:20:17 +0000 |
commit | d9d6d28182bd91f0dcdffb4398d1b845dea581b3 (patch) | |
tree | 6d777933439cd4154674004c7127c26468d71344 /src/map/battle.c | |
parent | c638f42f8e80a980c21e210c6ce149731dd53b17 (diff) | |
download | hercules-d9d6d28182bd91f0dcdffb4398d1b845dea581b3.tar.gz hercules-d9d6d28182bd91f0dcdffb4398d1b845dea581b3.tar.bz2 hercules-d9d6d28182bd91f0dcdffb4398d1b845dea581b3.tar.xz hercules-d9d6d28182bd91f0dcdffb4398d1b845dea581b3.zip |
added support to regulate MVP drops [Reddozen]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6439 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index c1c451471..45f7ac24d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3920,10 +3920,15 @@ static const struct battle_data_int { // eAthena additions
{ "item_rate_mvp", &battle_config.item_rate_mvp },
{ "item_rate_common", &battle_config.item_rate_common }, // Added by RoVeRT
+ { "item_rate_common_boss", &battle_config.item_rate_common_boss }, // [Reddozen]
{ "item_rate_equip", &battle_config.item_rate_equip },
+ { "item_rate_equip_boss", &battle_config.item_rate_equip_boss }, // [Reddozen]
{ "item_rate_card", &battle_config.item_rate_card }, // End Addition
+ { "item_rate_card_boss", &battle_config.item_rate_card_boss }, // [Reddozen]
{ "item_rate_heal", &battle_config.item_rate_heal }, // Added by Valaris
+ { "item_rate_heal_boss", &battle_config.item_rate_heal_boss }, // [Reddozen]
{ "item_rate_use", &battle_config.item_rate_use }, // End
+ { "item_rate_use_boss", &battle_config.item_rate_use_boss }, // [Reddozen]
{ "item_rate_adddrop", &battle_config.item_rate_adddrop }, // End
{ "item_rate_treasure", &battle_config.item_rate_treasure }, // End
{ "day_duration", &battle_config.day_duration }, // added by [Yor]
@@ -4173,10 +4178,15 @@ void battle_set_defaults() { // eAthena additions
battle_config.item_rate_mvp=100;
battle_config.item_rate_common = 100;
+ battle_config.item_rate_common_boss = battle_config.item_rate_common; // [Reddozen]
battle_config.item_rate_equip = 100;
+ battle_config.item_rate_equip_boss = battle_config.item_rate_equip; // [Reddozen]
battle_config.item_rate_card = 100;
+ battle_config.item_rate_card_boss = battle_config.item_rate_card; // [Reddozen]
battle_config.item_rate_heal = 100; // Added by Valaris
+ battle_config.item_rate_heal_boss = battle_config.item_rate_heal; // [Reddozen]
battle_config.item_rate_use = 100; // End
+ battle_config.item_rate_use_boss = battle_config.item_rate_use; // [Reddozen]
battle_config.item_rate_adddrop = 100;
battle_config.item_rate_treasure = 100;
battle_config.logarithmic_drops = 0;
|