Player Resource Consortium

Neverwinter Nights => General Discussion => Topic started by: Necro on August 17, 2013, 10:38:10 AM

Title: Invisibility spell duration
Post by: Necro on August 17, 2013, 10:38:10 AM
The spell description for invisibility says it should last 1 turn per level.  However it seems to be lasting 1 round per level.

If I cast invisibility and negative energy protection back to back (both are 1Turn/level spell), invisibility expires way sooner.

Even improved invisibility has the same issue.
Title: Re: Invisibility spell duration
Post by: xwarren on August 18, 2013, 02:51:45 AM
This should only be true for Improved Invisibility spell. In PRC version of this spell invisibility effect remains even after your character attacks someone but the effect only lasts 1 round/level. You can change this behavior by setting PRC_BIOWARE_INVISIBILITY switch. The effect will last 1 turn/level then, but it will be removed after an attack.

The switch doesn't affect 'normal' Invisibility duration.
Title: Re: Invisibility spell duration
Post by: Necro on August 18, 2013, 02:02:45 PM
Hi XWARREN,

Does that mean that normal invisibility is only suppose to last 1 round per level when you don't attack?  That is not what the description says (says 1 turn per level or until attach).
Title: Re: Invisibility spell duration
Post by: Loggy on August 18, 2013, 06:05:54 PM
Looking at nw_s0_invisib.nss I see no reason why it should be rounds rather than turns.
Title: Re: Invisibility spell duration
Post by: xwarren on August 19, 2013, 02:43:05 PM
PRC_BIOWARE_INVISIBILITY affects duration only of Improved Invisibility. Normal Invisibility should last 1 turn/level. There might be a problem with caster level function if you are casting invisibility as a cleric with trickery (or other with invisibility) domain. I'm not sure if in this case any PrC caster levels are added. Could you post your character build, please? Could you check if you have the same problem with wizard/sorcerer build?
Title: Re: Invisibility spell duration
Post by: Necro on August 20, 2013, 05:08:04 PM
I have a Archivist (5), Runemaster (9), Heirophant (1)
Title: Re: Invisibility spell duration
Post by: xwarren on August 21, 2013, 03:08:45 PM
I have created a human archivist (5)/runecaster (9)/hierophant (1) character and tested both normal invisibility and improved invisibility spell. Normal invisibility (3rd lvl archivist spell) lasted for 15 minutes (same as Negative Energy Protection = 1 turn/level). Improved Invisibility lasted only for 15 rounds = 1,5 minute. I expected this result because I do not have PRC_BIOWARE_INVISIBILITY swich set.

In case of Archivist there should be no issues regarding caster level calculation. I'm not really sure what else could cause this bug for you.
Title: Re: Invisibility spell duration
Post by: Necro on August 21, 2013, 06:31:07 PM
Hi XWARREN,

Out of curiousity, have your character issue attack orders (attack nearest enemy) and summon creatures and see if you get the same length for invisibility?
Title: Re: Invisibility spell duration
Post by: xwarren on August 22, 2013, 01:22:25 PM
Could you send me your character file, please? I haven't noticed any problems with spells duration.
Title: Re: Invisibility spell duration
Post by: Necro on August 22, 2013, 02:16:47 PM
Where can I send the file as BIC format is not allowed as an attachment?
Title: Re: Invisibility spell duration
Post by: xwarren on August 22, 2013, 02:32:58 PM
There is an e-mail address in my profile. You can also zip pack the bic file into zip (or 7z) archive and post it here.
Title: Re: Invisibility spell duration
Post by: Necro on August 22, 2013, 10:19:49 PM
Hi XWARREN,

I'm happy to say that the Archivist scribe spell fix also seems to have corrected my invisibility issue.

Thanks allot!!
Title: Re: Invisibility spell duration
Post by: xwarren on August 23, 2013, 12:38:47 AM
Ok, I'm happy I could help. Thanks.