The World of Layonara  Forums

Author Topic: Armor not working  (Read 616 times)

willhoff

Armor not working
« on: October 19, 2009, 12:10:26 am »
Description

Vrebel is finally able to use his Mithril Scale mail but the -10 slashing resistance of the armor doesnt seem to be working properly.  

He went into the arena to test it with Tralek.  Tralek was using a greatsword which does only slashing damage by its description.  Vrebel was wearing his Mithril scale mail along with a archers belt (-5 peircing) and his cloak of vestments (damage reduction +5/5).  On every hit by Tralek, Vrebel was only getting -5 resistance and the -5 reduction from the cloak.  

Vrebel took the archers belt off on a second test...with the archers belt off Vrebel was getting no resistance from the hits but was still getting the 5 points of reduction from the cloak.

The armor also is suppose to have 5% immunity to peircing...which would show if the weapon was doing peircing damage...usually its 1 or 2 hps damage immunity.

I am confused as to why I'm not getting the full -10 resistance...any help would be appreciated.

Location

Everywhere...tested in the arena

Verified

In the arena yes

Reproducable

Yes in the arena

Logs from the first test with -10 slashing armor on, -5 peircing belt on, and +5/5 damage reduction cloak on:
Tralek Rivarmar attacks Vrebel : *hit* : (10 + 23 = 33)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:28] Vrebel : Initiative Roll : 13 : (10 + 3 = 13)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel attacks Tralek Rivarmar : *hit* : (18 + 26 = 44)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel attacks Tralek Rivarmar : *hit* : (11 + 21 = 32)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Tralek Rivarmar damages Vrebel: 13 (12 Physical 1 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel damages Tralek Rivarmar: 3 (3 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Vrebel damages Tralek Rivarmar: 1 (1 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:29] Attack Of Opportunity : Tralek Rivarmar attacks Vrebel : *hit* : (15 + 23 = 38)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:30] Tralek Rivarmar damages Vrebel: 12 (6 Physical 6 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:30] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:30] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:31] Vrebel attacks Tralek Rivarmar : *hit* : (17 + 16 = 33)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:31] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:31] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:32] Tralek Rivarmar attacks Vrebel : *hit* : (16 + 23 = 39)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:32] Tralek Rivarmar damages Vrebel: 11 (6 Physical 5 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:32] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:32] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:33] Tralek Rivarmar attacks Vrebel : *miss* : (5 + 18 = 23)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:34] Vrebel attacks Tralek Rivarmar : *hit* : (17 + 11 = 28)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:35] Vrebel damages Tralek Rivarmar: 3 (3 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:35] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:35] Tralek Rivarmar attacks Vrebel : *critical hit* : (20 + 23 = 43 : Threat Roll: 3 + 23 = 26)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:36] Tralek Rivarmar damages Vrebel: 39 (33 Physical 6 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:36] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:36] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:36] Vrebel attacks Tralek Rivarmar : *hit* : (9 + 26 = 35)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:37] Vrebel attacks Tralek Rivarmar : *hit* : (12 + 21 = 33)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:37] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:37] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:37] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:37] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:38] Attack Of Opportunity : Tralek Rivarmar attacks Vrebel : *hit* : (16 + 23 = 39)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:38] Tralek Rivarmar damages Vrebel: 14 (9 Physical 5 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:38] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:38] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:39] Vrebel attacks Tralek Rivarmar : *hit* : (11 + 16 = 27)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:39] Vrebel damages Tralek Rivarmar: 3 (3 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:39] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:40] Tralek Rivarmar attacks Vrebel : *hit* : (15 + 23 = 38)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:40] Tralek Rivarmar damages Vrebel: 16 (12 Physical 4 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:40] Vrebel : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:27:40] Vrebel : Damage Reduction absorbs 5 damage

Second test with -10 slashing armor on, no belt, and +5/5 damage reduction cloak on:
Vrebel: okay belt off now try
[CHAT WINDOW TEXT] [Sun Oct 18 23:37:54] Tralek Rivarmar casting unknown spell
[CHAT WINDOW TEXT] [Sun Oct 18 23:37:56] Tralek Rivarmar casts unknown spell
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:00] Tralek Rivarmar attacks Vrebel : *hit* : (14 + 23 = 37)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:00] Vrebel : Initiative Roll : 6 : (3 + 3 = 6)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Vrebel attacks Tralek Rivarmar : *hit* : (8 + 26 = 34)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Vrebel attacks Tralek Rivarmar : *miss* : (2 + 21 = 23)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Tralek Rivarmar damages Vrebel: 20 (18 Physical 2 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Vrebel damages Tralek Rivarmar: 3 (3 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:01] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:02] Tralek Rivarmar attacks Vrebel : *miss* : (5 + 18 = 23)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:04] Vrebel attacks Tralek Rivarmar : *miss* : (7 + 16 = 23)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:05] Tralek Rivarmar attacks Vrebel : *critical hit* : (18 + 23 = 41 : Threat Roll: 13 + 23 = 36)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:06] Tralek Rivarmar damages Vrebel: 46 (35 Physical 11 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:06] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:06] Vrebel attacks Tralek Rivarmar : *miss* : (10 + 11 = 21)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:08] Tralek Rivarmar attacks Vrebel : *hit* : (11 + 23 = 34)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:08] Tralek Rivarmar damages Vrebel: 26 (18 Physical 8 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:08] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Vrebel attacks Tralek Rivarmar : *hit* : (4 + 26 = 30)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Vrebel attacks Tralek Rivarmar : *hit* : (5 + 21 = 26)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:09] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:10] Tralek Rivarmar attacks Vrebel : *hit* : (11 + 18 = 29)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:11] Tralek Rivarmar damages Vrebel: 24 (18 Physical 6 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:11] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:11] Vrebel attacks Tralek Rivarmar : *hit* : (17 + 16 = 33)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:12] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:12] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:13] Vrebel attacks Tralek Rivarmar : *miss* : (10 + 11 = 21)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:13] Tralek Rivarmar attacks Vrebel : *critical hit* : (19 + 23 = 42 : Threat Roll: 9 + 23 = 32)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:14] Tralek Rivarmar damages Vrebel: 46 (36 Physical 10 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:14] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:14] Vrebel attacks Tralek Rivarmar : *hit* : (11 + 26 = 37)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:14] Vrebel attacks Tralek Rivarmar : *hit* : (8 + 21 = 29)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Tralek Rivarmar attacks Vrebel : *hit* : (5 + 23 = 28)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Vrebel damages Tralek Rivarmar: 1 (1 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Vrebel damages Tralek Rivarmar: 2 (2 Physical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Tralek Rivarmar : Damage Resistance absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Tralek Rivarmar damages Vrebel: 19 (13 Physical 6 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:15] Vrebel : Damage Reduction absorbs 5 damage
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:17] Tralek Rivarmar attacks Vrebel : *critical hit* : (19 + 18 = 37 : Threat Roll: 19 + 18 = 37)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:17] Tralek Rivarmar damages Vrebel: 48 (38 Physical 10 Electrical)
[CHAT WINDOW TEXT] [Sun Oct 18 23:38:17] Vrebel : Damage Reduction absorbs 5 damage

p.s. I will try to attach a screeney of the fight with my inventory up if I can figure out how to download the software.
 

darkstorme

Re: Armor not working
« Reply #1 on: October 19, 2009, 12:21:15 am »
Word to the wise (though I can't say anything regarding the bug, since I personally haven't tested it yet), the ability to take a screenshot is built into the game.

Usually the hotkey to do so is PrtScr, but you can check your hotkey settings in-game under Control -> Change Key Settings -> Misc.

Edit: Oh, also, what was Tralek attacking with?
 

willhoff

Re: Armor not working
« Reply #2 on: October 19, 2009, 12:43:24 am »
Thanks Darkstorme for the Tech tip.  To answer your question, Tralek was attacking with a greatsword.
 

Hellblazer

Re: Armor not working
« Reply #3 on: October 19, 2009, 12:46:01 am »
I think he means the software to convert the tga file to a jpeg

you can get one here GIMP - The GNU Image Manipulation Program

willhoff

Re: Armor not working
« Reply #4 on: October 19, 2009, 01:17:45 am »
please see the following two screen shots: one of my inventory at the time showing the equiped armor, and the second showing the properties of the mithril scale mail.
 

Script Wrecked

Re: Armor not working
« Reply #5 on: October 19, 2009, 01:29:30 am »
Can you post screenies of the weapon used to hit Vrebel [STRIKE]and of the Mithril Scalemail[/STRIKE]? I'm vaguely recollecting piercing greatswords...
 

davidhoff

Re: Armor not working
« Reply #6 on: October 19, 2009, 01:38:39 am »
Sure Script Wrecked....here it is
 

Script Wrecked

Re: Armor not working
« Reply #7 on: October 19, 2009, 01:56:34 am »
Okay, now you've got me stumped. :)
 

s0ulz

Re: Armor not working
« Reply #8 on: October 19, 2009, 01:56:50 am »
Quote from: Script Wrecked
Can you post screenies of the weapon used to hit Vrebel [STRIKE]and of the Mithril Scalemail[/STRIKE]? I'm vaguely recollecting piercing greatswords...


Mercurial Greatswords do dual-type damage. However, even then there would be illogical inconsistencies in the logs.

What I would ask is if Vrebel could test the armor against a monster someplace, to determine whether the Arena could be affecting the situation due to PvP.
 

willhoff

Re: Armor not working
« Reply #9 on: October 19, 2009, 02:23:38 am »
The armor seems to work inconsistently against creatures.  In the haven mines against the gnolls I get the full -10 slashing resistance.  But against other monsters with slashing weapons I only get -5 resistance.

I have a theory that certain weapons, including creature weapons do both slashing and peircing damage...even though it says that the weapon only does slashing i.e. tralek's greatsword.  

If thats the case, as in a maybe a halberd that does both slashing and peircing...you would need to have both peircing and slashing resistance on at the same time to get consistant damage resistance.  

If you have a higher slashing resistance than the peircing resistance, as in my case, the game goes with the lesser resistance.

This is why I wasnt getting any resistance to the greatsword when I took off the piercing resistance belt.
 

Script Wrecked

Re: Armor not working
« Reply #10 on: October 19, 2009, 02:36:40 am »
Quote from: willhoff
I have a theory that certain weapons, including creature weapons do both slashing and peircing damage...even though it says that the weapon only does slashing i.e. tralek's greatsword.  

If thats the case, as in a maybe a halberd that does both slashing and peircing...you would need to have both peircing and slashing resistance on at the same time to get consistant damage resistance.  

If you have a higher slashing resistance than the peircing resistance, as in my case, the game goes with the lesser resistance.

This is why I wasnt getting any resistance to the greatsword when I took off the piercing resistance belt.


Everything points to "you are correct":

Quote from: NWN 1.66
- The following weapons have had their WeaponType changed to 3 (Slashing) in the BASEITEMS.2DA in order to bring them inline with 3rd edition D&D rules (and their NWN in game descriptions): Longsword, Bastard sword, Greatsword, Katana, and Double Axe.


However, in the Layo BASEITEMS.2DA, the WeaponType for Greatswords is 4 (Piercing & Slashing).

I suspect some hardcoding in the engine or an invalid TLK reference (somewhere) is causing Greatswords (and perhaps others) to be shown as "Slashing" when they are, in fact, "Piercing & Slashing".

Regards,

Script Wrecked.
 

s0ulz

Re: Armor not working
« Reply #11 on: October 19, 2009, 02:37:16 am »
Quote from: willhoff
The armor seems to work inconsistently against creatures.  In the haven mines against the gnolls I get the full -10 slashing resistance.  But against other monsters with slashing weapons I only get -5 resistance.

I have a theory that certain weapons, including creature weapons do both slashing and peircing damage...even though it says that the weapon only does slashing i.e. tralek's greatsword.  

If thats the case, as in a maybe a halberd that does both slashing and peircing...you would need to have both peircing and slashing resistance on at the same time to get consistant damage resistance.  

If you have a higher slashing resistance than the peircing resistance, as in my case, the game goes with the lesser resistance.

This is why I wasnt getting any resistance to the greatsword when I took off the piercing resistance belt.


That's not how dual-damage works. If a weapon, such as a halberd or mercurial greatsword successfully hits your PC, NWN determines the lowest values of both damage resistance and damage immunity and completes the reductions.

So in your case, the log should have read with the belt on:
Vrebel : Damage Immunity absorbs 1 damage
Vrebel : Damage Resistance absorbs 5 damage
Vrebel : Damage Reduction absorbs 5 damage

Immunity in effect is 5% piercing, since you have no slashing immunity to compare it to. Resistance in effect is piercing from the belt, because it is the lowest of slashing (10/-) and piercing resistances (5/-). Reduction is always applied to physical damage, no matter the damage type.

Or with the belt off:
Vrebel : Damage Immunity absorbs 1 damage
Vrebel : Damage Resistance absorbs 10 damage
Vrebel : Damage Reduction absorbs 5 damage

Immunity in effect is 5% piercing, since you have no slashing immunity to compare it to. Resistance in effect is slashing from the armor, because because you no longer have two types of resistances equipped. Reduction is always applied to physical damage, no matter the damage type.

So even if this was the case of dual-damage weapons, the logs do not show the immunity established on the armor that should appear. This would lead me to an assumption that the problem is either with the environment (Arena) or if the item is a drop, a brutal OXifying might help.
 

willhoff

Re: Armor not working
« Reply #12 on: October 19, 2009, 03:34:46 am »
Script Wrecked, thanks for your helpful insight on those older coding changes.  I think your right, some of the weapons may be coded as slashing piercing when they say slashing.  Which may be the cause of the problem.

S0ulz, thanks for all the log demonstrations.  I agree with you that if you are hit by a slashing/piercing weapon that the game takes the lesser of the resistances and calculates the damage resitance amount on the lesser resistance.  

However, I think that the damage resistance is taken from the slashing part of the resistance.  The game just halves the -10 to -5 like the piercing.  That is why you dont see the peircing immunity come into play on the log.  The peircing resistance gear has to be worn at the same time as the slashing gear to get the benefit from a slashing/peircing weapon but the game engine is using the slashing resistance as mentioned above.
 

s0ulz

Re: Armor not working
« Reply #13 on: October 19, 2009, 03:45:46 am »
Quote from: willhoff

However, I think that the damage resistance is taken from the slashing part of the resistance.  The game just halves the -10 to -5 like the piercing.  That is why you dont see the peircing immunity come into play on the log.  The peircing resistance gear has to be worn at the same time as the slashing gear to get the benefit from a slashing/peircing weapon but the game engine is using the slashing resistance as mentioned above.


That's the thing, there is no consistent proof in your logs to prove one way or the other.

If in fact, there was only slashing damage done, you should resist 10 damage. The game halving -10 to -5 sounds like a long-shot to me, but might be subject to some funky code.

If it is only piercing damage done, the immunity should kick in which currently doesn't show at all in the logs.

Similarly, if it truly was behaving as a dual-damage weapon (or claws), logs should appear as I demonstrated in my previous post.

So to summarize, I would Ox the item if it is a drop just in case (you might get the cost reimbursed if it is done with a GM present and pointed to this post, though I'm no official here). Out of the three scenarios I mentioned above, the messy code would explain it the best, but that's a big mess and to be honest, I've never noticed any odd behaviour regardless of mixing immunities, resistances and reductions. I think we might need Dorgman.
 

willhoff

Re: Armor not working
« Reply #14 on: October 19, 2009, 04:03:42 am »
Thanks s0ulz for your help.  I think before I go and run it through the ox ringer and loose all that time consuming costimization i did I'd like to get an opinion from the "Dorgman" like you suggested or someone as learned as him...if there is someone:)
 

s0ulz

Re: Armor not working
« Reply #15 on: October 19, 2009, 04:19:58 am »
Quote from: willhoff
The armor seems to work inconsistently against creatures.  In the haven mines against the gnolls I get the full -10 slashing resistance.  But against other monsters with slashing weapons I only get -5 resistance.

I have a theory that certain weapons, including creature weapons do both slashing and peircing damage...even though it says that the weapon only does slashing i.e. tralek's greatsword.  

If thats the case, as in a maybe a halberd that does both slashing and peircing...you would need to have both peircing and slashing resistance on at the same time to get consistant damage resistance.  

If you have a higher slashing resistance than the peircing resistance, as in my case, the game goes with the lesser resistance.

This is why I wasnt getting any resistance to the greatsword when I took off the piercing resistance belt.


Actually, after having a fresh breath of air, the CEP weapons do follow a slightly different check method. So, I believe you are correct here.

If a weapon, such as a halberd or mercurial greatsword successfully hits your PC, NWN determines the lowest values of both damage resistance and damage immunity and completes the reductions. Regardless if you have both of the damage types covered with items - uncovered resistance/immunities are still checked.

So in your case, the log read with the belt on:
Vrebel : Damage Resistance absorbs 5 damage
Vrebel : Damage Reduction absorbs 5 damage

Immunity of 5% piercing is not in effect, since your effective slashing immunity is 0% and it is applied, represented by a 0 damage reduction that is omitted from the logs due to the check.

Resistance in effect is piercing from the belt, because it is the lowest of slashing (10/-) and piercing resistances (5/-).

Reduction is always applied to physical damage, no matter the damage type.

Or with the belt off:

Vrebel : Damage Reduction absorbs 5 damage

Immunity of 5% piercing is not in effect, since you have no slashing immunity item to compare it to, hence your effective slashing immunity is 0% and it is applied, represented by a 0 damage reduction that is omitted from the logs due to the nature of the check.

No resistance is applied, because you now have a check between 10/- slashing and an effective 0/- piercing, out of which piercing is lower, represented by a 0 damage reduction that is omitted from the logs due to the nature of the check.

Reduction is always applied to physical damage, no matter the damage type.

So to sum up, I apologize for misleading, but I was looking at it all from a regular NWN perspective, but everything seems to be fine, apart from whether or not a Greatsword should be doing dual-damage (might be an oversight).
 

willhoff

Re: Armor not working
« Reply #16 on: October 19, 2009, 05:01:23 am »
Thanks s0ulz for all the math and computations.  As you put in bold, I think the issue may not be with my armor but with the swords and the type of damage they are doing.  

I am pretty sure that the lizard men in the swamps near dapplegreen weild double bladed axes that do peircing/slashing damage.  This is in conflict with the description of a double bladed axe which is suppose to do only slashing.  I will go test that again to make sure.

I also plan on testing all the slashing weapons at the merchant against a slashing belt in the arena to see if they all have slashing/peircing damage as I suspect they do.

My suspision is that the damage type of alot of the weapons we can buy and that are used by creatures are coded differently than their descriptions.
 

willhoff

Re: Armor not working
« Reply #17 on: October 19, 2009, 07:22:52 am »
Okay, Tralek and I tested all the "slashing" weapons in the arena...purchased from the Vehl merchant.  Vrebel weilded the weapons and hit Tralek (poor Tralek) while Tralek was wearing only a swordsman's belt (-5 slashing resitance).  The results were as follows:

Slashing belt worked and Tralek received -5 resistance on the following:

Two bladed sword
Double bladed Scimitar
Scimitar
Kukri
Falchion
Great Axe
Hand axe
kama
Dwarven War Axe
Sickle
Battle Axe

Slashing belt did not work and Tralek did not receive any resistance on the following:

Greatsword
Double Axe
Katana
Mercurial Long sword
Bastard Sword
Long sword

Based on the above results it appears that the first group of weapons are pure slashing damage.  The second group of weapons are not pure slashing and probably deal out slashing and peircing damage.

This is most likely true with the monsters who weild these weapons as well.

So it appears the damage-type description of the weapons in the second group is not accurate or the weapon itself is not acting appropriate to its description.
 

 

anything