summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 16:40:04 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 16:40:04 +0000
commit455f551f04efb21975b10e1f88c89e847948cd75 (patch)
treeceb2454da41f05315eebd249d43b2f62ddc77c27 /src/map/battle.c
parentfec9362ba4a1cd1b173463b72b58d94bf1d51c79 (diff)
downloadhercules-455f551f04efb21975b10e1f88c89e847948cd75.tar.gz
hercules-455f551f04efb21975b10e1f88c89e847948cd75.tar.bz2
hercules-455f551f04efb21975b10e1f88c89e847948cd75.tar.xz
hercules-455f551f04efb21975b10e1f88c89e847948cd75.zip
fixed STEAL. now working
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6378 54d463be-8e91-2dee-dedb-b68131a5f0ec
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)