logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX Weapons
Goto page Previous  1, 2, 3 ... 10, 11, 12
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Sat Sep 02, 2017 22:38    Post subject: Reply with quote

Raetzain wrote:
I've attempted to manually set the caster level to different values while using the DM Client. It still returned a zero for feat-based spells.

The whole point of replacing the GetCasterLevel return is to ~not~ edit every single spell in the game.

you can use community patch then, it edits all spelscripts for you and allows to override/modify not just spellcaster but everything else (saving throw type, damage type, damage cap, metamagic, DC, etc.) all dynamically using variables.

It also automatically handles SpellResist checks (where the script overrides spell resistance value of target using nwnx_patch plugin to force the caster level modification to work against SR as well (works without plugin as well but not against SR from diamond soul feat)) and dispell checks (by setting each effect's caster level to the value respecting the overrides/modifiers using nwnx_patch.

This is the best way to do it because engine doesn't have a function GetCasterLevel, all spell related calculations such as SR and dispel check simply uses GetClassLevel instead...
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Goto page Previous  1, 2, 3 ... 10, 11, 12
Page 12 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group