summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 11:16:21 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 11:16:21 +0000
commit35b1cc992905844a59757bed76512ef7fe769d5a (patch)
tree81a698a6a5b1a3f5d3ecc3102b5f79a40f0caae1 /src/map/map.h
parent90c05f50a7ab6140cd1c95b005c4e5456fc42bf2 (diff)
downloadhercules-35b1cc992905844a59757bed76512ef7fe769d5a.tar.gz
hercules-35b1cc992905844a59757bed76512ef7fe769d5a.tar.bz2
hercules-35b1cc992905844a59757bed76512ef7fe769d5a.tar.xz
hercules-35b1cc992905844a59757bed76512ef7fe769d5a.zip
Updated STEAL skill (WIP), added a battle config option: 'skill_steal_max_tries' to set max number of stealing tries. It could help to fix stealing exploit on mobs with few drops
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6367 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 38e4d02a4..e7e821bc1 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -880,7 +880,7 @@ struct mob_data {
struct {
unsigned skillstate : 8;
unsigned aggressive : 1; //Signals whether the mob AI is in aggressive mode or reactive mode. [Skotlex]
- unsigned steal_flag : 1;
+ unsigned steal_flag : 8; //number of steal tries (to prevent steal exploit on mobs with few items) [Lupus]
unsigned steal_coin_flag : 1;
unsigned soul_change_flag : 1; // Celest
unsigned alchemist: 1;