The World of Layonara
The Layonara Community => Ask A Gamemaster => Topic started by: jrizz on December 31, 2011, 01:48:56 AM
-
If you have a item that bestows immunity to Illusion which of the illusion spells does this work against?
I am guessing these for sure:
Color Spray (http://lore.layonara.com/Color%20Spray)
Mass Blindness-Deafness (http://lore.layonara.com/Mass%20Blindness-Deafness)
Phantasmal Killer (http://lore.layonara.com/Phantasmal%20Killer)
Silence (http://lore.layonara.com/Silence%28spell%29)
Weird (http://lore.layonara.com/Weird)
Shades (http://lore.layonara.com/Shades) (for these: (http://lore.layonara.com/Silence%28spell%29)Cone of Cold (http://lore.layonara.com/Cone%20of%20Cold) , Fireball (http://lore.layonara.com/Fireball), and Wall of Fire (http://lore.layonara.com/Wall%20of%20Fire))
Not these:
Improved Invisibility (http://lore.layonara.com/Improved%20Invisibility)
Invisibility (http://lore.layonara.com/Invisibility)
Invisibility Sphere (http://lore.layonara.com/Invisibility%20Sphere)
Continual Flame (http://lore.layonara.com/Continual%20Flame)
These I am not sure about:
(I would think that it would work against any concealment or displacement but I dont know)
Displacement (http://lore.layonara.com/Displacement)
Ethereal Visage (http://lore.layonara.com/Ethereal%20Visage)
Ghostly Visage (http://lore.layonara.com/Ghostly%20Visage)
Greater Shadow Conjuration (http://lore.layonara.com/Greater%20Shadow%20Conjuration)
Shadow Conjuration (http://lore.layonara.com/Shadow%20Conjuration)
Shadow Shield (http://lore.layonara.com/Shadow%20Shield)
(http://lore.layonara.com/Silence%28spell%29)
Anyone know how this works for sure?
-
I'd have to check the spellscripts to be certain, but IIRC, immunity to Illusion spells only apply to spells that are cast with the immune individual as the target.
So anything with the caster as the target (Shadow shield, displacement, etc.) would have no save, and therefore immunity would not apply. It's not how it works in D&D, but is one of the limitations of the engine.
-
I think the descriptor you're looking for here is "hostile" spells. Immunity vs. Illusion doesn't prevent Invisibility from being cast upon an immune individual, nor does it allow them to see through Invisibility cast upon another individual, since Invisibility is not a hostile spell.
The immunity calculations are not explicitly located in the spell scripts as such. I believe they're handled by ResistSpell() (called through MyResistSpell() more often than not). As such, it would take some testing to be absolutely sure of whether or not a given spell would be negated by Illusion immunity. However, I'm 99% sure it works off of the "hostile" classification, as given in spells.2da.
-
So then immunity to illusions will only protect against these:
Color Spray (http://lore.layonara.com/Color%20Spray)
Mass Blindness-Deafness (http://lore.layonara.com/Mass%20Blindness-Deafness)
Phantasmal Killer (http://lore.layonara.com/Phantasmal%20Killer)
Silence (http://lore.layonara.com/Silence%28spell%29)
Weird (http://lore.layonara.com/Weird)
(I took shades out since the description says that in terms of NWN shadow spells are no different then the real spells. They are just cast at a lower level)
-
Correct. The Shadow Conjuration/Shades versions of spells are flagged as their usual school, not Illusion.