Page 1 of 1

Greater Sanctuary does not work against NPCs

Posted: Tue Jan 25, 2022 5:30 am
by Skein
Description
==========

I died while in Greater Sanctuary. I checked the logs; I did not attack or otherwise perform a hostile action.

Steps to reproduce
----------------------------

While being attacked by a NPC mob, cast Greater Sanctuary

Expected result
-----------------------

They should stop attacking you; you're ethereal.

Actual result
-------------------

They knee strike your vital organs.

Screenshot:
Image

Re: Greater Sanctuary does not work against NPCs

Posted: Tue Jan 25, 2022 8:37 am
by Ping14
If you're improved invisibility while using G. Sanc. Then this is the old bug in NWN. Those two should never mix.
NWN Wiki wrote:Combining this spell with improved invisibility allows creatures to ignore the etherealness of greater sanctuary. (A bug, since at least version 1.68.) Relogging into a multiplayer server will sometimes fix this bug (but may have other, possibly detrimental, effects).

Re: Greater Sanctuary does not work against NPCs

Posted: Tue Jan 25, 2022 8:02 pm
by MissEvelyn
Ping14 wrote: Tue Jan 25, 2022 8:37 am If you're improved invisibility while using G. Sanc. Then this is the old bug in NWN. Those two should never mix.
NWN Wiki wrote:Combining this spell with improved invisibility allows creatures to ignore the etherealness of greater sanctuary. (A bug, since at least version 1.68.) Relogging into a multiplayer server will sometimes fix this bug (but may have other, possibly detrimental, effects).
A seemingly simple fix would be to dispel all invisibility effects before applying the etherealness.

If I'm not mistaken, one line like this in the Greater Sanctuary .nss file, right before the Etherealness effect is applied, should do the trick.

Code: Select all

RemoveSpecificEffect(EFFECT_TYPE_INVISIBILITY, oPC);
And if that doesn't work, looping through all the effects on oPC until it finds the right one might work 🙂

Re: Greater Sanctuary does not work against NPCs

Posted: Mon Jan 31, 2022 11:49 am
by Kenji
The simpler and for sure way of fixing this may just be applying 100% DI to everything for the duration and tie it to the gsanc effect. So if GSanc effect is dispelled or removed, the immunity is also removed.

Still doesn't prevent the mobs from following you though.

A fix is in the pipeline.

Re: Greater Sanctuary does not work against NPCs

Posted: Wed Feb 02, 2022 4:37 am
by Morgy
Kenji wrote: Mon Jan 31, 2022 11:49 am The simpler and for sure way of fixing this may just be applying 100% DI to everything for the duration and tie it to the gsanc effect. So if GSanc effect is dispelled or removed, the immunity is also removed.

Still doesn't prevent the mobs from following you though.

A fix is in the pipeline.
New counter to hellball!

Re: Greater Sanctuary does not work against NPCs

Posted: Wed Feb 02, 2022 1:35 pm
by Kenji
Maybe it should only have phys immunity after all

Re: Greater Sanctuary does not work against NPCs

Posted: Wed Feb 02, 2022 8:13 pm
by -XXX-
No more WM helicopter whirlwind fishing for GSanced casters!