Neverwinter Nights: Enhanced Edition

Neverwinter Nights: Enhanced Edition

Adventures await!
Gather your mods before venturing forth. Discover planes filled with player-created adventures in Steam Workshop, then build your own Neverwinter Nights modules using the Aurora Toolset to share!
Learn More
Camper 30 Mar, 2021 @ 7:07am
Mana Mod
Does anyone know of a mod that changes the Vancian magic system into a mana-based one?
< >
Showing 1-5 of 5 comments
wendigo211 3 30 Mar, 2021 @ 11:34pm 
I don't think that's possible, given how a lot of the spell casting framework is hardcoded. You can look for any mods that add the psionic classes. Psions are point-based (mana) casters in D&D.
wendigo211 3 28 Apr, 2021 @ 7:11am 
Originally posted by 123:
Its extremely easy

https://nwnlexicon.com/index.php?title=Lilac_Soul_-_Spell-Hooking

Spell-hooking isn't enough to change from Vancian to Mana based. You could change it so that you need to use mana and a spellslot using spell-hooking. But actually changing the existing spell framework so that it doesn't have spell slots is a lot trickier. You basically have to write your own spellcasting framework for mana based casters that doesn't use the default casting framework at all. Then you need a custom UI to handle casting and spellbooks too.
123 28 Apr, 2021 @ 11:23pm 
Originally posted by wendigo211:
Originally posted by 123:
Its extremely easy

https://nwnlexicon.com/index.php?title=Lilac_Soul_-_Spell-Hooking

Spell-hooking isn't enough to change from Vancian to Mana based. You could change it so that you need to use mana and a spellslot using spell-hooking. But actually changing the existing spell framework so that it doesn't have spell slots is a lot trickier.
Sure it is that simple
You can change it so when spell is expended it is automatically refreshed
You could also store the mana costs in external file or database so you wouldn't need to update the code if you change the mana cost (specially considering sql coding is now built into modding).

You could add item properties that give -% mana cost as well just by checking in spell hook

Or just modify the class files so that it uses sorcerer spell system and just keep increasing casting amount every time used.

In fact more than you can ever imagine is possible with nwn

https://nwnxee.github.io/unified/
Last edited by 123; 28 Apr, 2021 @ 11:27pm
wendigo211 3 30 Apr, 2021 @ 4:06am 
Originally posted by 123:
You can change it so when spell is expended it is automatically refreshed

Except that there is no function in NWScript that will let you increment remaining spell uses. There is a DecrementRemainingSpellUses() function but no functions for incrementing nor setting remaining spell uses. Hell, there isn't even a function to determine how many spell uses a sorcerer has a particular level (you have to use GetHasSpell(), which requires that you know one of the spells the Sorcerer knows at a given spell level).

There is the ForceRest() command, but that gives the creature all the benefits of a rest (I.e. restored HP, restored feats, loss of non extraordinary effects, etc.)

There is a lot that you can change with NWN, unfortunately spellcasting is stubbornly hardcoded.
< >
Showing 1-5 of 5 comments
Per page: 1530 50