summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-24 16:34:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-24 16:34:51 +0000
commitfff312c59262be01f7582dbde0b591be4ca95b5f (patch)
tree498cd1eb3cb8001432bfd7dae52ccd8439c64d7a /src/map/battle.h
parent4dc8104b2a83a87caa5de69fa990a79f852d8bea (diff)
downloadhercules-fff312c59262be01f7582dbde0b591be4ca95b5f.tar.gz
hercules-fff312c59262be01f7582dbde0b591be4ca95b5f.tar.bz2
hercules-fff312c59262be01f7582dbde0b591be4ca95b5f.tar.xz
hercules-fff312c59262be01f7582dbde0b591be4ca95b5f.zip
- Cleaned up the "show_steal_in_party" setting so it only takes effect when the item was successfully stolen (there was no point in telling you the item couldn't be stolen due to being overweight)
- Cleaned up the pc_steal_item implementation (again). It now uses a more random, simple approach in each steal attempt. - Changed the way the skill_steal_max_tries work. Now it actually MEANS the max number of steal tries, use 0 to disable (unlimited tries). - Changed the default of skill_steal_max_tries to 0 as there's no proof anywhere that there should be such a limit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9057 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 181f39340..be3a67c90 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -355,8 +355,7 @@ extern struct Battle_Config {
unsigned short pk_min_level; // [celest]
unsigned short skill_steal_type; // [celest]
unsigned short skill_steal_rate; // [celest]
- unsigned short skill_steal_max_tries; //max steal skill tries on a mob. if=256, then w/o limit [Lupus]
-// unsigned short night_darkness_level; // [celest]
+ unsigned short skill_steal_max_tries; //max steal skill tries on a mob. if 0 or 256, then w/o limit [Lupus]
unsigned short motd_type; // [celest]
unsigned short finding_ore_rate; // orn
unsigned short exp_calc_type;