Greater Sanctuary does not work against NPCs

Moderators: Active Admins, Forum Moderators, Active DMs, Contributors, Area Developers, Artist/Animator

Post Reply
Skein
Posts: 13
Joined: Sat Dec 18, 2021 12:49 am

Greater Sanctuary does not work against NPCs

Post 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
Ping14
Arelith Silver Supporter
Arelith Silver Supporter
Posts: 248
Joined: Wed Sep 15, 2021 12:41 pm

Re: Greater Sanctuary does not work against NPCs

Post 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).
User avatar
MissEvelyn
Arelith Silver Supporter
Arelith Silver Supporter
Posts: 1638
Joined: Sun Jul 12, 2015 8:43 pm

Re: Greater Sanctuary does not work against NPCs

Post 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 🙂
MRFTW wrote: Fri Oct 11, 2024 3:39 pm
Peacewhisper wrote: Thu Oct 10, 2024 1:26 pm

I don't talk to anyone OOC

This is actual RPR 50 behaviour.

User avatar
Kenji Online
Arelith Platinum Supporter
Arelith Platinum Supporter
Posts: 1656
Joined: Mon May 14, 2018 9:14 am
Location: Mechanics Dungeon

Re: Greater Sanctuary does not work against NPCs

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

For you, the day Kenji overhauled your class was the most important day of your life.
But for me, it was Tuesday. :face_with_monocle: To-do list

User avatar
Morgy
Arelith Platinum Supporter
Arelith Platinum Supporter
Posts: 720
Joined: Sun Mar 31, 2019 3:08 pm

Re: Greater Sanctuary does not work against NPCs

Post 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!
User avatar
Kenji Online
Arelith Platinum Supporter
Arelith Platinum Supporter
Posts: 1656
Joined: Mon May 14, 2018 9:14 am
Location: Mechanics Dungeon

Re: Greater Sanctuary does not work against NPCs

Post by Kenji »

Maybe it should only have phys immunity after all

For you, the day Kenji overhauled your class was the most important day of your life.
But for me, it was Tuesday. :face_with_monocle: To-do list

-XXX-
Posts: 2359
Joined: Tue Oct 18, 2016 1:49 am

Re: Greater Sanctuary does not work against NPCs

Post by -XXX- »

No more WM helicopter whirlwind fishing for GSanced casters!
Post Reply