Jump to content

Item's extended header flags, bit 16 "Bypass armor"


Guest Supertramp

Recommended Posts

Guest Supertramp
Posted

Hey,

I noticed with Near Infinity that there's a "Bypass armor" flag that can be turned on inside item ability flags, it is bit 16. The IESDP doesn't document it, any idea what it does exactly?

For what it's worth in all of BG:EE+SoD and BG2:EE, only the Wand of Polymorphing uses it.

Posted

What it says, but in iwd2 ("brilliant" weapons). The one you found must be just garbage luck.

Guest Supertramp
Posted

So if I read between the lines correctly, it's an IWD2-only thing and it's just an error that a single item file in Baldur's Gate games (Wand of Polymorphing) has this bit set?

'cause the wand doesn't "bypass armor" any more than other wands, they don't ever go through the to-hit calculation so they don't have any need for a "bypass armor" flag.

Guest Supertramp
Posted

(Bypassing armor with physical attacks is done through a THAC0 value of 32,767 on the weapon/projectile, in Baldur's Gate)

Guest Supertramp
Posted

Well, in the end I switched on this flag on a weapon in BG:EE and BG2:EE. It misses normally and its damage gets resisted normally. Can't think of another reasonable meaning to bypassing armor so I guess it's not a Baldur's Gate flag...

Posted
8 hours ago, lynx said:

If -1 works like that, that's more like an autohit than bypassing armor.

It's 32767, not (-1|65535), but you are correct that it is actually an autohit, no different than attacking a helpless target.

@Guest From the in-game description, "bypass armor" simulates touch attacks - bypassing AC from armor and shields, but not from other sources. IWD2 is the only game coded with such AC bonuses, as it's Armor Class opcode is setup differently.

Guest Supertramp
Posted

I guess it should be documented in ITM V2 then.

Near Infinity might also want to condition the displaying of labels to their belonging to the file version currently being explored.

Not saying what people should do while I sit on my ass, these are basically the "conclusions" of the thread laid down for convenience.

Posted

It is documented, just that the field is currently split, so you don't see that in the bit list. Not sure which is correct, but it remains just a cosmetic / usability issue.

Guest Supertramp
Posted

Oh right, Near Infinity lists 32 flags and IESDP went with 16, sorry then. I'd agree with NI if it's truly on/off switches and you can get Keen+Brilliant at once, otherwise I'd agree with IESDP which seems to suggests it's either/or (since it doesn't mention that 3 = Both). But IWD2 isn't a game I played so we probably don't care who I'd agree with :D

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...