summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-30 17:38:39 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-30 17:38:39 +0000
commitbed9459f0edafeab823aa4c0a473828e77e43c15 (patch)
tree1fef3bbf08bb8d7b68307df619daad521aab53f6 /src/map/battle.c
parent6f24a7748e12e3dd2e24153bd0a5382d89273b98 (diff)
downloadhercules-bed9459f0edafeab823aa4c0a473828e77e43c15.tar.gz
hercules-bed9459f0edafeab823aa4c0a473828e77e43c15.tar.bz2
hercules-bed9459f0edafeab823aa4c0a473828e77e43c15.tar.xz
hercules-bed9459f0edafeab823aa4c0a473828e77e43c15.zip
- Corrected char deletion not working (column is called homun_id, not hom_id...)
- Collapsed config settings produce_item_name_input, produce_potion_name_input, making_arrow_name_input, holywater_name_input, cdp_name_input into a single config produce_item_name_input which uses bitmasks to determine what it affects. - Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and Enabled as well as giving arrow requirements to skills that do not have them when used with ranged weapons (auto-guess for plagiarized/item-granted skills) - Minor cleanings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9746 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index fd38721aa..8b67ce885 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3640,10 +3640,6 @@ static const struct battle_data_short {
{ "party_skill_penalty", &battle_config.party_skill_penalty },
{ "monster_class_change_full_recover", &battle_config.monster_class_change_full_recover },
{ "produce_item_name_input", &battle_config.produce_item_name_input },
- { "produce_potion_name_input", &battle_config.produce_potion_name_input},
- { "making_arrow_name_input", &battle_config.making_arrow_name_input },
- { "holywater_name_input", &battle_config.holywater_name_input },
- { "cdp_name_input", &battle_config.cdp_name_input },
{ "display_skill_fail", &battle_config.display_skill_fail },
{ "chat_warpportal", &battle_config.chat_warpportal },
{ "mob_warp", &battle_config.mob_warp },
@@ -4056,11 +4052,7 @@ void battle_set_defaults() {
battle_config.land_skill_limit = BL_ALL;
battle_config.party_skill_penalty = 1;
battle_config.monster_class_change_full_recover = 1;
- battle_config.produce_item_name_input = 1;
- battle_config.produce_potion_name_input = 1;
- battle_config.making_arrow_name_input = 1;
- battle_config.holywater_name_input = 1;
- battle_config.cdp_name_input = 1;
+ battle_config.produce_item_name_input = 0x3;
battle_config.display_skill_fail = 0;
battle_config.chat_warpportal = 0;
battle_config.mob_warp = 0;