diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 23:52:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 23:52:18 +0000 |
commit | e929a6637d97216fa3b9066765a1d4da04707b6a (patch) | |
tree | 7b3aebd89c21f10c51f952351dc71562f08aef4e /src/map/battle.c | |
parent | 4adb9de072ca4dfe82b735325635f1433bf24ce0 (diff) | |
download | hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.gz hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.bz2 hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.xz hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.zip |
- Added config setting party_update_interval so you can specify how often the party-mate minidots should be updated (defaults to 1 sec).
- Removed a bunch of broken comments in skill.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index f9a6a18c5..17779241f 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3518,6 +3518,7 @@ static const struct battle_data_short { { "show_steal_in_same_party", &battle_config.show_steal_in_same_party }, { "party_hp_mode", &battle_config.party_hp_mode }, { "show_party_share_picker", &battle_config.party_show_share_picker }, + { "party_update_interval", &battle_config.party_update_interval }, { "party_item_share_type", &battle_config.party_share_type }, { "mob_ghostring_fix", &battle_config.mob_ghostring_fix }, { "attack_attr_none", &battle_config.attack_attr_none }, @@ -3930,6 +3931,7 @@ void battle_set_defaults() { battle_config.dead_branch_active = 0; battle_config.vending_max_value = 10000000; battle_config.show_steal_in_same_party = 0; + battle_config.party_update_interval = 1000; battle_config.party_share_type = 0; battle_config.party_hp_mode = 0; battle_config.party_show_share_picker = 0; @@ -4171,6 +4173,9 @@ void battle_validate_conf() { if(battle_config.vit_penalty_count < 2) battle_config.vit_penalty_count = 2; + if(battle_config.party_update_interval < 100) + battle_config.party_update_interval = 100; + if(battle_config.guild_exp_limit > 99) battle_config.guild_exp_limit = 99; /* if(battle_config.guild_exp_limit < 0) |