summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 408a2fa31..cf1d06a7f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4227,7 +4227,7 @@ void battle_set_defaults() {
battle_config.pk_min_level = 55;
battle_config.skill_steal_type = 1;
battle_config.skill_steal_rate = 100;
- battle_config.skill_steal_max_tries = 256;
+ battle_config.skill_steal_max_tries = 15; //=16 tries
// battle_config.night_darkness_level = 9;
battle_config.motd_type = 0;
battle_config.allow_atcommand_when_mute = 0;
@@ -4491,8 +4491,8 @@ void battle_validate_conf() {
if (battle_config.sg_miracle_skill_ratio > 10000)
battle_config.sg_miracle_skill_ratio = 10000;
- if (battle_config.skill_steal_max_tries > 256)
- battle_config.skill_steal_max_tries = 256;
+ if (battle_config.skill_steal_max_tries > 254)
+ battle_config.skill_steal_max_tries = 254;
#ifdef CELL_NOSTACK
if (battle_config.cell_stack_limit < 1)