From fff312c59262be01f7582dbde0b591be4ca95b5f Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 24 Oct 2006 16:34:51 +0000 Subject: - 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 --- src/map/battle.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/battle.h') 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; -- cgit v1.2.3-60-g2f50