diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 00:31:29 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 00:31:29 +0000 |
commit | 760a86e1c577f776986f4558726a1784317037bb (patch) | |
tree | 1bd9ced75fd02c6a1cc74868c4e7bf9aa761ce11 /src/map/battle.c | |
parent | 19c0056b1af3fcc80e3f402e92ca605d4228873e (diff) | |
download | hercules-760a86e1c577f776986f4558726a1784317037bb.tar.gz hercules-760a86e1c577f776986f4558726a1784317037bb.tar.bz2 hercules-760a86e1c577f776986f4558726a1784317037bb.tar.xz hercules-760a86e1c577f776986f4558726a1784317037bb.zip |
- Moved the pet rename code from int_pet.c to inter.c and normalized it so it can be used for any object.
- Made homunculus renaming go through the char-server so it can be validated against the allowed characters setting.
- Added battle config hom_rename so you can enable renaming multiple times your homunc.
- Updated the hardcoded defaults for gvg-damage to what they should be.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9720 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 4da1c4c2f..f0e0dfb2c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3801,6 +3801,7 @@ static const struct battle_data_short { { "override_mob_names", &battle_config.override_mob_names }, { "min_chat_delay", &battle_config.min_chat_delay }, { "friend_auto_add", &battle_config.friend_auto_add }, + { "hom_rename", &battle_config.hom_rename }, { "homunculus_show_growth", &battle_config.homunculus_show_growth }, //[orn] { "homunculus_friendly_rate", &battle_config.homunculus_friendly_rate }, }; @@ -4048,10 +4049,10 @@ void battle_set_defaults() { battle_config.pc_cloak_check_type = 1; battle_config.monster_cloak_check_type = 0; battle_config.estimation_type = 3; - battle_config.gvg_short_damage_rate = 100; - battle_config.gvg_long_damage_rate = 75; + battle_config.gvg_short_damage_rate = 80; + battle_config.gvg_long_damage_rate = 80; battle_config.gvg_weapon_damage_rate = 60; - battle_config.gvg_magic_damage_rate = 50; + battle_config.gvg_magic_damage_rate = 60; battle_config.gvg_misc_damage_rate = 60; battle_config.gvg_flee_penalty = 20; battle_config.gvg_eliminate_time = 7000; @@ -4244,6 +4245,7 @@ void battle_set_defaults() { battle_config.min_chat_delay = 0; battle_config.friend_auto_add = 1; battle_config.hvan_explosion_intimate = 45000; //[orn] + battle_config.hom_rename=0; battle_config.homunculus_show_growth = 0; //[orn] battle_config.homunculus_friendly_rate = 100; } |