summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 11:32:41 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 11:32:41 +0000
commit59fcf9c26e7c9d5cf65b60d0fb148b5214143711 (patch)
tree58925b6bc69b15dfbce7f90b1a8c96651ea0f1b9 /src/map/battle.c
parent41fcb2ac66e37cad97e9ec485bd4d11f8397e53b (diff)
downloadhercules-59fcf9c26e7c9d5cf65b60d0fb148b5214143711.tar.gz
hercules-59fcf9c26e7c9d5cf65b60d0fb148b5214143711.tar.bz2
hercules-59fcf9c26e7c9d5cf65b60d0fb148b5214143711.tar.xz
hercules-59fcf9c26e7c9d5cf65b60d0fb148b5214143711.zip
Added homunculus_friendly_rate battle config
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8361 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 0376a2ac3..f4a28b534 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3738,6 +3738,7 @@ static const struct battle_data_short {
{ "override_mob_names", &battle_config.override_mob_names },
{ "min_chat_delay", &battle_config.min_chat_delay },
{ "homunculus_show_growth", &battle_config.homunculus_show_growth }, //[orn]
+ { "homunculus_friendly_rate", &battle_config.homunculus_friendly_rate },
};
static const struct battle_data_int {
@@ -4171,6 +4172,7 @@ void battle_set_defaults() {
battle_config.min_chat_delay = 0;
battle_config.hvan_explosion_intimate = 45000; //[orn]
battle_config.homunculus_show_growth = 0; //[orn]
+ battle_config.homunculus_friendly_rate = 100;
}
void battle_validate_conf() {