Jump to content


Cloak of non-detection not blocking true sight


6 replies to this topic

#1 Guest_Chris_*

  • Guests

Posted 13 December 2008 - 09:16 PM

I was equipped with the cloak of non-detection. I made myself invisible ( with a ring of invisibility ). Walked into the place where you rescue haer-dalis from the warden. And everytime the yan-ti mage dispelled my invisibility with a cast of true sight.

I have installed the latest patch from bioware and your fixpack v6

No other mods are installed.

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #1 // BG2 Fixpack - Game Text Update
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #109 // Corrected Summoned Demon Behavior
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #110 // Additional Script Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #111 // Bard Song Fixes
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #112 // Wizard Slayers Cause Miscast Magic on Ranged Attacks
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #113 // Additional Alignment Fixes
// Recently Uninstalled: ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #114 // Change Free Action to Protect Against Stun
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!)
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #100 // Party Gets XP for Sending Keldorn to Reconcile With Maria
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #101 // Improved Spell Animations
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #106 // Giants Receive Penalties When Attacking Halflings, Dwarves, and Gnomes

#2 coaster

  • Members
  • 283 posts

Posted 14 December 2008 - 01:40 AM

I thought this was how it should work? AFAIK Cloak of non-detection only stops you from being detected if you are hiding in shadows, not invisible.

#3 devSin

  • Fixpackers
  • 3017 posts
  • Gender:Male

Posted 14 December 2008 - 04:36 AM

That is correct. Spells that dispel invisibility in BG2 use additional methods to remove divinations that aren't blocked by non-detection (they don't catch hide in shadows and some forms of invisibility granted by items), so it's essentially a useless protection for non-thieves.

#4 WizWom

    Wandering Kernel of Happiness

  • Members
  • 405 posts
  • Gender:Male
  • Location:Rosendale, MO

Posted 26 February 2010 - 08:44 PM

Why, then are you not adding protection from spell school: divination, since the description specifically says:

"Non-detectable by magical means such as detect invisibility and scrying."

?

#5 devSin

  • Fixpackers
  • 3017 posts
  • Gender:Male

Posted 26 February 2010 - 08:52 PM

Imoen - Casts Glitterdust: Abdel (or whatever; like I remember the schools anymore)
Abdel - Spell Ineffective

I believe we could block the secondary type (wasn't there a divination attack type?), but we won't (not only would it preclude any mod from ever using it for any spell against an undetectable creature, it would probably have some other stupid consequences I can't think of right now).

Of course, now that we know the school and type fields for item abilities, we can make the invisibility rings behave just as poorly as the spells with minimal effort. BE CAREFUL WHAT YOU ASK FOR!

Edited by devSin, 26 February 2010 - 09:01 PM.


#6 aVENGER_(RR)

    Sneaksie!

  • Fixpackers
  • 1008 posts
  • Gender:Male

Posted 27 February 2010 - 08:39 AM

View PostWizWom, on Feb 27 2010, 05:44 AM, said:

Why, then are you not adding protection from spell school: divination, since the description specifically says:

"Non-detectable by magical means such as detect invisibility and scrying."?

Opcode #69 (Non-Detection) natively protects the target against opcodes #47 (Cure Invisibility) and #116 (Remove Invisibility). However, it does not protect the target against spells which remove illusionary protections by school or secondary type.

In game terms, this means that the Cloak of Non-Detection protects the wearer against Detect Invisibility and Invisibility Purge in all circumstances. It doesn't protect the wearer against Detect Illusions, Oracle and True Seeing unless the wearer is under the effects of invisibility which isn't flagged as an illusionary spell (i.e. a Thief in stealth mode or a Mage holding the Staff of the Magi). Therefore, the cloak works as advertised and there's no need to include protection from the entire divination school.

Edited by aVENGER_(RR), 27 February 2010 - 08:42 AM.

Retired modder

Rogue Rebalancing - Author
aTweaks - Author
Wizard Slayer Rebalancing - Co-Author
BG2 Fixpack - Contributor

#7 aVENGER_(RR)

    Sneaksie!

  • Fixpackers
  • 1008 posts
  • Gender:Male

Posted 27 February 2010 - 08:40 AM

View PostdevSin, on Feb 27 2010, 05:52 AM, said:

Of course, now that we know the school and type fields for item abilities, we can make the invisibility rings behave just as poorly as the spells with minimal effort. BE CAREFUL WHAT YOU ASK FOR!

Right on. For example, we could finally make Ilbratha's Mirror Image susceptible to True Seeing and such:

// Ilbratha's Mirror Image ability should be susceptible to spells which remove illusionary protections

COPY_EXISTING ~sw1h26.itm~ ~override~							 // Ilbratha +1
  READ_LONG  0x64 "abil_off"
  READ_SHORT 0x68 "abil_num"
  FOR (index = 0; index < "%abil_num%"; index = index + 1) BEGIN  // parse each ability
	READ_BYTE ("%abil_off%" + ("%index%" * 0x38)) "abil_type"	 // determine ability type
	PATCH_IF  ("%abil_type%" = 3) BEGIN						   // only patch the magical ability header
	  WRITE_BYTE ("%abil_off%" + 0x17 + ("%index%" * 0x38)) "5"   // school: illusionist
	  WRITE_BYTE ("%abil_off%" + 0x19 + ("%index%" * 0x38)) "3"   // secondary type: illusionary protections
	END
  END
BUT_ONLY_IF_IT_CHANGES

Retired modder

Rogue Rebalancing - Author
aTweaks - Author
Wizard Slayer Rebalancing - Co-Author
BG2 Fixpack - Contributor




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users