Jump to content

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


Guest Supertramp

Recommended Posts

Guest Supertramp

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.

Link to comment
Guest Supertramp

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.

Link to comment
Guest Supertramp

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

Link to comment
Guest Supertramp

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...

Link to comment
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.

Link to comment
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...