Override spell DC calculation
I've been trying to figure out when the Spell DC Calculation occurs. I need to change most of the values slightly. If I change them too early, some appear to get doubled. If too late they don't take effect.
Thanks for any assist, Don |
What are you trying to do? There are a lot of feats and what not that do similar stuff.
|
Basically the following:
Based on one of three classes, if the character multiclasses, set the sDCAttr field to the maximum of Int, Wis or Cha bonus. Based on the level of each class add to the sDCMisc field. Based on the amount of power placed in the spell (my home brew uses Power Points) add to the sDCMisc field. The level of the spell may change based on a magic style, so I need to set the sDCLevel field. That pretty much covers it. |
Well, lets not do things the hard way. Take a look at pClsSplAtt adjustment from the community pack. That will set the spell casting stat for you, just need to replace the choosers with the appropriate values. pSplDCAll will show you how to adjust all spell level DCs, pS2SpellDC shows you how to do it with specific spells. As for spell Level see pSpellSlot. Screwing around with raw fields is asking for trouble.
|
Interesting. I cannot find pClsSplAtt, pSplDCAll or pSpellSlot in the community pack. pS2SpellDC is there.
|
Some of those may be core adjustments, I really didn't look at the sources too closely. If you pop into the editor and just search by those in the adjustment section it should come up.
|
All times are GMT -8. The time now is 12:31 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.