# Strange Death From Gunshot

**URL:** https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722
**Category:** The Garage
**Created:** [April 4, 2014, 12:55am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722 "2014-04-04T00:55:19Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Nubsawce](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@Nubsawce](https://discourse.cataclysmdda.org/u/Nubsawce)
#### Post date: [April 4, 2014, 12:55am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/1 "2014-04-04T00:55:19Z")

</div>

edit: Windows 7 64 bit, using graphical, not console. version 6018abb

Hello,

So I was insta-killed by a Secubot from a headshot. Now this isn’t all that unusual normally, but here is the thing.

I was wearing a powered-on full set of RM13 Combat Armor, which should have provided me with 100% coverage from this bullet. Here is my memorial text on the matter:

Cataclysm - Dark Days Ahead version 6018abb memorial file

In memory of: ggg  
He was a male Novice Martial Artist when the apocalypse began.  
He died on Spring of year 1, day 5, at 4:47:30 PM.  
He was killed in a science lab on the outskirts of New Sweden.

Cash on hand: $0

Final HP:  
Head: 0/74  
Torso: 87/93  
L Arm: 93/93  
R Arm: 93/93  
L Leg: 93/93  
R Leg: 93/93

Final Stats:  
Str 9 Dex 14 Int 12 Per 7  
Base Stats:  
Str 11 Dex 16 Int 14 Per 8

Final Messages:  
4:47:30 PM The security bot shoots you.  
4:47:30 PM From the southwest you hear P-p-p-pow!  
4:47:30 PM The shot reflects off the thin skin!  
4:47:30 PM From the southwest you hear P-p-p-pow!  
4:47:30 PM The shot reflects off the thin skin!  
4:47:30 PM From the southwest you hear P-p-p-pow!  
4:47:30 PM The shot reflects off the thin skin!  
4:47:30 PM From the southwest you hear P-p-p-pow!  
4:47:30 PM The security bot fires its smg!  
4:47:30 PM You maim the security bot for 6 damage.  
4:47:24 PM You slice the security bot for 6 damage.  
4:47:18 PM From the southwest you hear beep-beep-beep!

You can see that only the final shot actually connects, and it does all 74 damage (I was at full, yes, beforehand).

Here was my equipment:

Equipment:  
! - runner pack  
a - wearable flashlight (47)  
l - tactical dump pouch  
C - sheath with combat knife  
s - helmet netting  
f - chipped RM13 combat armor (on) (4425)

It strikes me that I should not have been instakilled by a single SMG bullet with this set-up. Perhaps I’m crazy though. I’d like an explanation if this is legitimate.

---

<div class="post-metadata">

### Author: ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)
#### Post date: [April 4, 2014, 7:02am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/2 "2014-04-04T07:02:52Z")

</div>

It’s a known bug, no one got around to fixing it however.

---

<div class="post-metadata">

### Author: ![Sean\_Mirrsen](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Sean\_Mirrsen](https://discourse.cataclysmdda.org/u/Sean_Mirrsen)
#### Post date: [April 4, 2014, 8:52am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/3 "2014-04-04T08:52:24Z")

</div>

Helpfully reposting:

[quote=“EditorRUS, post:4, topic:5721”]I am not really sure about bug’s location, but maybe it’s incorrect order?

Like:

1. Damage is calculated
2. Damage\_mult \*= rng\_float(2.45, 3.35); when headshot
3. Damage IS PASSED THROUGH ARMOR
4. Damage is increased one more time, since it’s headshot.
5. Instakill.[/quote]

---

<div class="post-metadata">

### Author: ![Xelanthol](https://avatars.discourse-cdn.com/v4/letter/x/4af34b/32.png) [@Xelanthol](https://discourse.cataclysmdda.org/u/Xelanthol)
#### Post date: [April 14, 2014, 5:27pm UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/4 "2014-04-14T17:27:12Z")

</div>

bump, is this resolved? o:

---

<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: [April 14, 2014, 6:09pm UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/5 "2014-04-14T18:09:26Z")

</div>

Not really. The problem is one of those ones that looks simple, but is more complex due to the various passing around and requirements of functions and values (more specifically it’s because there are things that depend on the value being modified by crits and unaffected by armor before the armor check, so you can’t just move it). It’s something that could be fixed, but to do so would involve rewriting/reorganizing all 15 or so interlocking combat functions (that deal with melee hits, ranged hits, damage, etc.), which is not a particularly easy thing to do.

In other words it’s fallen into the “lots of work for very little reward” category right now. It’s still on the list, but I know that I at least have a few more projects I’d like to finish off first before working on it (unless I am feeling particularly masochistic one day and tackle it then).

---

<div class="post-metadata">

### Author: ![Aluminumfoil](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aluminumfoil/32/5163_2.png) [@Aluminumfoil](https://discourse.cataclysmdda.org/u/Aluminumfoil)
#### Post date: [April 14, 2014, 7:51pm UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/6 "2014-04-14T19:51:11Z")

</div>

I know hackjob fixes (that address the symptom without treating the cause) are undesirable, since they have to be removed themselves before real progress can be made, but given that this is literally a showstopping bug for a roguelike, it might be worth it for this case.

Ideas for hackjob fixes:  
1: On death, consult armor on cause-of-death location and the last damage dealt. If armor is greater than X and damage is greater than Y, tell the player, “It appears that you may have died as a result of known bug . If you believe that this is the case and you wish to try again, find your .sav file from folder and paste it in folder .”

2: Before applying damage to a location, check the location’s armor X and set the maximum damage M to a function of X. If the final damage calculation is greater than M, set the damage to M. I don’t believe that much of anything in the game does more than 100 damage, even on a crit, so perhaps M=100-X would work if that’s true.

---

<div class="post-metadata">

### Author: ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)
#### Post date: [April 19, 2014, 7:47am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/7 "2014-04-19T07:47:35Z")

</div>

Maybe hack-fixing it would be a good idea indeed.

---

<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: [April 19, 2014, 6:07pm UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/8 "2014-04-19T18:07:48Z")

</div>

As I said the problem is that there isn’t really a place to apply it, even for a hack fix, since all damage passes through the same locations. As such you can apply something to fix crits, but you run into the problem of it affecting other damages as well. It’s not an easily resolved problem, and it’s something that is definitely on my to-do list, but it might take a little while to get around to it (if only because I’m int he middle of a health/disease rework right now).

---

<div class="post-metadata">

### Author: ![Sir\_Scarfalot](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sir_scarfalot/32/9890_2.png) [@Sir\_Scarfalot](https://discourse.cataclysmdda.org/u/Sir_Scarfalot)
#### Post date: [April 26, 2014, 10:21am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/9 "2014-04-26T10:21:22Z")

</div>

> [@i2amroy](#):
>
> …I’m in the middle of a health/disease rework right now.

Sounds… !!FUN!!

I for one appreciate your hard work on this project :3

---

<div class="post-metadata">

### Author: ![Bonevomit](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@Bonevomit](https://discourse.cataclysmdda.org/u/Bonevomit)
#### Post date: [April 28, 2014, 5:05am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/10 "2014-04-28T05:05:18Z")

</div>

> insta-killed by a headshot

For the love of god I'll never understand why you people are so attached to these horrible design choices in this RPG.

---

<div class="post-metadata">

### Author: ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)
#### Post date: [April 28, 2014, 12:24pm UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/11 "2014-04-28T12:24:59Z")

</div>

This is not a design choice as such, it’s a consequence of how the game counts damage.

---

<div class="post-metadata">

### Author: ![Weyrling](https://avatars.discourse-cdn.com/v4/letter/w/7bcc69/32.png) [@Weyrling](https://discourse.cataclysmdda.org/u/Weyrling)
#### Post date: [April 29, 2014, 5:55am UTC](https://discourse.cataclysmdda.org/t/strange-death-from-gunshot/5722/12 "2014-04-29T05:55:33Z")

</div>

Personally, I’m not sure that getting shot in the face being a lethal attack is a bad design choice, said bullet magically going through armor is of course a significant bug.

Seriously, assuming you don’t die instantly, getting shot in the head is hard to survive even if you’re rushed to the hospital, unless you’re lucky or it was a grazing blow. If an enemy gets a critical hit and catches you in an unarmored part of your face, you should probably die or at least take massive damage (Allowing any further attacks to kill you pretty easily).

In fact, my main issue with modern RPGs is that the player is almost impossible to kill and can reload from any point in the game. I don’t mean to bash modern RPGs, but sometimes I like to play a game where getting shot in the face several times isn’t just a flesh wound, and each decision I make could be my last, or significantly hinder me for a decent length of time.
