summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-13 04:25:58 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-13 04:25:58 +0000
commit67dc0c7a4ade3c375dd8fc3e721ecea00152904d (patch)
treea779254454f7e42bba9307feceb3b372357d9c58 /src/map/map.h
parent2a016f61728aedb1599b746ccc27a5773e8baf55 (diff)
downloadhercules-67dc0c7a4ade3c375dd8fc3e721ecea00152904d.tar.gz
hercules-67dc0c7a4ade3c375dd8fc3e721ecea00152904d.tar.bz2
hercules-67dc0c7a4ade3c375dd8fc3e721ecea00152904d.tar.xz
hercules-67dc0c7a4ade3c375dd8fc3e721ecea00152904d.zip
Merged jA's equipment breaking system into the current one
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1099 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 7238974fd..91e296f69 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -159,8 +159,6 @@ struct map_session_data {
unsigned no_weapon_damage : 1;
unsigned no_gemstone : 1;
unsigned infinite_endure : 1;
- unsigned unbreakable_weapon : 1;
- unsigned unbreakable_armor : 1;
unsigned infinite_autospell : 1;
} special_state;
int char_id, login_id1, login_id2, sex;
@@ -169,6 +167,7 @@ struct map_session_data {
struct item_data *inventory_data[MAX_INVENTORY];
short equip_index[11];
unsigned short unbreakable_equip;
+ unsigned short unbreakable; // chance to prevent equipment breaking [celest]
int weight,max_weight;
int cart_weight,cart_max_weight,cart_num,cart_max_num;
char mapname[24];
@@ -282,7 +281,6 @@ struct map_session_data {
int magic_damage_return; // AppleGirl Was Here
int random_attack_increase_add,random_attack_increase_per; // [Valaris]
int perfect_hiding; // [Valaris]
- int unbreakable;
int classchange; // [Valaris]
int die_counter;