summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.h1
-rw-r--r--src/map/skill.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 0991d5150..53218c033 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -392,6 +392,7 @@ enum weapon_type {
W_SHOTGUN, //20
W_GRENADE, //21
W_HUUMA, //22
+ W_2HSTAFF, //23
MAX_WEAPON_TYPE,
// dual-wield constants
W_DOUBLE_DD, // 2 daggers
diff --git a/src/map/skill.c b/src/map/skill.c
index 7559c8177..11a362dd2 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1133,6 +1133,7 @@ int skill_break_equip (struct block_list *bl, unsigned short where, int rate, in
case W_MACE: // Axes and Maces can't be broken [DracoRPG]
case W_2HMACE:
case W_STAFF:
+ case W_2HSTAFF:
case W_BOOK: //Rods and Books can't be broken [Skotlex]
case W_HUUMA:
where &= ~EQP_WEAPON;