UD light & low light vision script fail
Posted: Tue Oct 03, 2023 9:05 pm
				
				Had a source of light (Light of Mystra in inventory), had low light vision spell, script still claimed my character couldn't see.
			Hidden: show
Neverwinter Nights 2 Persistent World BGTSCC Discussion Forum
https://bgtscc.net/
Low-Light Vision
Type of feat: Racial
Prerequisite: Most elves (except Drow), Half-elf, Rock gnome, Spirit Shaman level 20
Required for: None
Specifics: Low-light vision is the ability to see in conditions of dim illumination as if the illumination were actually as bright as daylight.
Characters with low-light vision have eyes that are so sensitive to light that they can see twice as far as a human in starlight, moonlight, torchlight, and similar conditions of shadowy illumination. They retain the ability to distinguish color and detail under these conditions. Thus, if a group of adventurers passes down a dark passage with a torch illuminating a 20-foot radius, an elf with low-light vision can see everything within 40 feet of the torch. A spellcaster with low-light vision can read a scroll as long as even the tiniest candle flame is next to her as a source of light.
As of patch 1.10, both Darkvision and Low-Light Vision are an action mode that can be toggled.
Special: A Wolf animal companion will receive Low-light vision for free at 1st level.
Use: Action Mode
So if you had a light source, yes Low Light would work but in technicality you did not at all so you would need Dark Vision. Hope this helps!Darkvision
Type of feat: Racial
Prerequisite: Deep gnome, Drow, Dwarf, Gray Orc, Half-drow, Half-Orc, Planetouched, Tanarukk, Shadow Dancer level 2, Dragon Disciple level 10, Pale Master level 3, Shadow Adept level 6, Shifter level 1
Required for: None
Specifics: Darkvision is the extraordinary ability to see with no light source at all, out to a range specified for the creature.
Darkvision is black and white only (colors cannot be discerned). It does not allow characters to see anything that they could not see otherwise -- invisible objects are still invisible, and illusions are still visible as what they seem to be. Likewise, darkvision subjects a creature to gaze attacks normally.
The presence of light does not spoil darkvision. If a character has darkvision with a 60-foot range, and he stands within a 20-foot radius of light, the character can see normally in the light, and 40 feet beyond the light because of his darkvision.
As of patch 1.10, both Darkvision and Low-Light Vision are an action mode that can be toggled. Note that there is no way to get this feat if your race does not have it by default. Items that supposedly grant you this feat don't in fact do anything, a human who equips an item with a Darkvision property will NOT get the darkvision feat. Same is true for Low-Light vision, this feat is available only if your race qualifies for it.
Special: A Giant spider animal companion will receive Darkvision for free at 1st level.
Use: Action Mode
I am 100% aware of that. I thought I had made it clear that what I was going for was the combo of a light source + Low Light Vision. Sorry if that was not clear.
That could also just be a BGTSCC thing, I have never known light to work unless worn myself or casted, or held. Dalo would have to confirm though.Green Monster wrote: ↑Wed Oct 04, 2023 1:35 pm In the OC any item property such as light or ability enhancement or save bonus, etc, on an item that is not possible to equip DOES work if it's just in inventory. Remember the shards of the Silver Sword? Ability bonuses, attack bonuses, etc, on items that are not equipable. There were others in MotB. Not sure what changed that, or if light for some reason never worked in spite of most other things working.
So, technically, the Light of Mystra + Low Light Vision SHOULD have worked, logically speaking, but didn't.
Nope, well aware. Just stated that because you did not actually have Light to gain Low Light usage. But I wanted to be clear for you in case it wasn't realized, which is why I added the bit after the Wiki copies. I would try Low Light with a Source of Light on you or in hand though and see if that pans out. As then the script is not actually having an issue. It would just be Server Changes vs Game at that point. Happy to hear back whether it does or not!Green Monster wrote: ↑Wed Oct 04, 2023 1:37 pmI am 100% aware of that. I thought I had made it clear that what I was going for was the combo of a light source + Low Light Vision. Sorry if that was not clear.
The Silver Shards, and the MotB items you refer to, were explicitly configured to grant their effects to the owner. These mushrooms have not. And again, the script does not check items you're not actively wearing anyway, so the presence or absence of passive illumination is a moot point. (Since this would likely require iterating over your entire inventory every time the check was executed, I don't expect any changes on that front anytime soon.)Green Monster wrote: ↑Wed Oct 04, 2023 1:35 pm In the OC any item property such as light or ability enhancement or save bonus, etc, on an item that is not possible to equip DOES work if it's just in inventory. Remember the shards of the Silver Sword? Ability bonuses, attack bonuses, etc, on items that are not equipable. There were others in MotB. Not sure what changed that, or if light for some reason never worked in spite of most other things working.
So, technically, the Light of Mystra + Low Light Vision SHOULD have worked, logically speaking, but didn't.
Ah, well, you can see though, why a player knowing you need low light vision + a light source, might see those mushrooms and think "Aha! One wand instead of two, and no wasted equipment slots" and try exactly what I did. Maybe you could ask Ashenie to take that property off the mushroom to avoid future confusion? I get why you wouldn't want the script to iterate through every inventory item.DaloLorn wrote: ↑Wed Oct 04, 2023 2:55 pmThe Silver Shards, and the MotB items you refer to, were explicitly configured to grant their effects to the owner. These mushrooms have not. And again, the script does not check items you're not actively wearing anyway, so the presence or absence of passive illumination is a moot point. (Since this would likely require iterating over your entire inventory every time the check was executed, I don't expect any changes on that front anytime soon.)Green Monster wrote: ↑Wed Oct 04, 2023 1:35 pm In the OC any item property such as light or ability enhancement or save bonus, etc, on an item that is not possible to equip DOES work if it's just in inventory. Remember the shards of the Silver Sword? Ability bonuses, attack bonuses, etc, on items that are not equipable. There were others in MotB. Not sure what changed that, or if light for some reason never worked in spite of most other things working.
So, technically, the Light of Mystra + Low Light Vision SHOULD have worked, logically speaking, but didn't.
Yeah, my point was that I thought I did have a light source in the Light of Mystra, because it says it is. Turns out the mushroom is a dirty, filthy, liar. Bad mushroom!!!ValerieJean wrote: ↑Wed Oct 04, 2023 2:02 pm. Just stated that because you did not actually have Light to gain Low Light usage.
xD lmao no worries, hoping bumbling in the UD isn't so bumbly now!Green Monster wrote: ↑Wed Oct 04, 2023 3:05 pmYeah, my point was that I thought I did have a light source in the Light of Mystra, because it says it is. Turns out the mushroom is a dirty, filthy, liar. Bad mushroom!!!ValerieJean wrote: ↑Wed Oct 04, 2023 2:02 pm. Just stated that because you did not actually have Light to gain Low Light usage.