# \[0.5 stable\] double "weapon stuck" penalty

**URL:** <https://discourse.cataclysmdda.org/t/0-5-stable-double-weapon-stuck-penalty/1820>\
**Category:** The Garage\
**Created:** [June 19, 2013, 3:26pm UTC](https://discourse.cataclysmdda.org/t/0-5-stable-double-weapon-stuck-penalty/1820 "2013-06-19T15:26:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oohara](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oohara](https://discourse.cataclysmdda.org/u/oohara)\
**Post date:** [June 19, 2013, 3:26pm UTC](https://discourse.cataclysmdda.org/t/0-5-stable-double-weapon-stuck-penalty/1820/1 "2013-06-19T15:26:36Z")

</div>

When I do a melee attack with a cutting or stabbing weapon,  
I get the “weapon stuck” penalty twice: once in player::hit\_mon() or  
player::hit\_player(), once in player::melee\_special\_effects().

— a/melee.cpp  
+++ b/melee.cpp  
@@ -170,12 +170,6 @@

int pain = 0; // Boost to pain; required for perform\_technique

-// Moves lost to getting your weapon stuck

- int stuck\_penalty = roll\_stuck\_penalty(z, (stab\_dam \>= cut\_dam));
- if (weapon.is\_style())
- stuck\_penalty = 0;
- moves -= stuck\_penalty;
- 

// Pick one or more special attacks  
technique\_id technique = pick\_technique(g, z, NULL, critical\_hit, allow\_grab);

@@ -298,12 +292,6 @@

int pain = 0; // Boost to pain; required for perform\_technique

-// Moves lost to getting your weapon stuck

- int stuck\_penalty = roll\_stuck\_penalty(NULL, (stab\_dam \>= cut\_dam));
- if (weapon.is\_style())
- stuck\_penalty = 0;
- moves -= stuck\_penalty;
- 

// Pick one or more special attacks  
technique\_id technique = pick\_technique(g, NULL, &p, critical\_hit, allow\_grab);

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [June 19, 2013, 5:05pm UTC](https://discourse.cataclysmdda.org/t/0-5-stable-double-weapon-stuck-penalty/1820/2 "2013-06-19T17:05:05Z")

</div>

This one has already been fixed in the current dev version.
