Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003196Dwarf FortressCombat -- Generalpublic2010-09-10 15:202014-08-08 09:12
Hieronymous Alloy 
0003196: Weapon deflections are credited to the outermost layer of armor, even if an inner layer did the work
Going by what I've noticed in my own fortress-mode combat logs, it appears that the game engine is only checking penetration against the "top" layer of armor, and not lower ones -- for example, I've had dwarves take damage to their hearts from attacks that are only listed as penetrating their rope reed fabric cloak, without any mention in the log of the bronze breastplate or steel mail shirt they were wearing underneath that cloak.

Other users appear to be reporting the same bug, as per this thread:
http://www.bay12forums.com/smf/index.php?topic=65787.0 [^]

Apologies if this is already reported, I didn't find it in a search for "armor."
Send some dwarves into combat wearing multiple layers of clothing, against enemies bearing weapons that should easily penetrate some layers but have difficulty penetrating others -- e.g., steel and cloth clad dwarves vs. goblins.
No tags attached.
related to 0000033resolved Toady One Bronze colossus, skeletal creatures, fleshballs, and others are impossible to kill 
related to 0002375resolved Loci Dwarf wears gauntlets, yet the mittens he wears under them are getting hit and penetrated 
related to 0004843confirmed Footkerchief Clothing thickness scales linearly with body size => giant creatures have insanely thick clothing 
Issue History
2010-09-10 15:20Hieronymous AlloyNew Issue
2010-09-10 15:20Hieronymous AlloyIssue Monitored: Hieronymous Alloy
2010-09-10 16:38GanthanNote Added: 0012565
2010-09-10 17:12Hieronymous AlloyNote Added: 0012566
2010-09-10 17:14Hieronymous AlloyNote Edited: 0012566bug_revision_view_page.php?bugnote_id=0012566#r4880
2011-08-18 22:38ScarletTwizbyNote Added: 0018575
2011-08-18 23:37ScarletTwizbyNote Edited: 0018575bug_revision_view_page.php?bugnote_id=0018575#r6949
2012-02-14 20:07FootkerchiefSummaryWeapon only checks penetration against top layer of armor => Weapon deflections are credited to the outermost layer of armor, even if an inner layer did the work
2012-02-20 18:56FootkerchiefRelationship addedrelated to 0000033
2012-02-20 19:10FootkerchiefRelationship addedrelated to 0002375
2014-01-26 09:35FootkerchiefRelationship addedrelated to 0004843
2014-08-08 09:12FootkerchiefAssigned To => Footkerchief
2014-08-08 09:12FootkerchiefStatusnew => confirmed

2010-09-10 16:38   
Sorry, but after further extensive testing I think I can confirm that this isn't really a bug. I saw silver mail shirts deflecting steel battle axes because adamantine breastplates were worn underneath.

If it appears that enemies seem to cut through dwarves wearing both metal and cloth, it's probably just because of lashers and their overpowered whips.
Hieronymous Alloy   
2010-09-10 17:12   
(edited on: 2010-09-10 17:14)
It's possible that it's just a display bug, and that the underlying layer is actually doing the deflecting most of the time, only it's *showing* as the top layer in the logs for whatever reason. I *have* noticed points where injuries carried through several layers, but that could have been whips and could have been bludgeoning damage doing what it's supposed to do.

Without actually looking at the code it's hard to know what's going on precisely.

2011-08-18 22:38   
(edited on: 2011-08-18 23:37)
I have had similar things happen, and I agree it is probably a display bug. In every case where I checked, the target was wearing high quality armor under whatever was doing the deflecting.

-Edit- Make that almost every. See http://www.bay12games.com/dwarves/mantisbt/view.php?id=4843 [^]