Author Topic: Overlapping armor types and increased damage  (Read 1047 times)

Offline Lash

  • Acquaintance
  • *
  • Posts: 21
    • View Profile
Overlapping armor types and increased damage
« on: December 19, 2008, 07:49:34 PM »
This may be old hat to some, but it appears that overlapping armor types cause increase in damage from an attacker.
Here is a log from whacking the dummy  wearing a shield (armor type A_SHIELD) and bracers (armor type A_CUSTOM with restrictions on "right arm" and "left arm"). When worn separately no problem. When worn together I get this:
 
Dummy says in English, "I receive damage from fighter. Damage type is BLADE,
    raw damage is 204, body part(s) affected: right hand."
Dummy says in English, "Actual damage done: 197."
Dummy says in English, "Protection due to armor: 7."
Fighter pricks Dummy lightly in the right hand with his sharp sword.

A_SHIELD protects hands. Bracers do not.

And in the same round of fighting:

Dummy says in English, "I receive damage from fighter. Damage type is BLADE,
    raw damage is 160, body part(s) affected: left arm."
Dummy says in English, "Actual damage done: 305."
Dummy says in English, "Protection due to armor: -145."
Fighter pricks Dummy just barely in the left arm with his sharp sword.

A_SHIELD protects arms as well as A_CUSTOM with "arms" restrictions.

Interestingly, "torso" protection is negated.

Any ideas?

Lash

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 996
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Overlapping armor types and increased damage
« Reply #1 on: December 25, 2008, 10:14:30 PM »
Yep, I can reproduce this. It's a bug in eventReceiveDamage() in LIB_BODY.
The fix will be in the next alpha. Thanks for the report!

-Crat