• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Caster Stat based on pAdjust?

Illyahr

Well-known member
Is this possible? The maho-tsukai prestige class from Oriental Adventures (called Tainted Sorcerer in Unearthed Arcana) uses the character's Taint score as its casting stat. 10 + taint determines max spell level, and the taint score itself is added to the save DCs.

Is there any way to do this? Or should I just add a class special describing how it is supposed to work and let the user calculate it?
 
Is this possible? The maho-tsukai prestige class from Oriental Adventures (called Tainted Sorcerer in Unearthed Arcana) uses the character's Taint score as its casting stat. 10 + taint determines max spell level, and the taint score itself is added to the save DCs.

Is there any way to do this? Or should I just add a class special describing how it is supposed to work and let the user calculate it?

Possibly. The fields you will want to look at are on the cHelp??? class thing. They are cSplAttBon, cSplAttVal, and cSplSaveDC. I assume the timing would have to be post-attributes, but would need to occur before HL calculates the bonus spells.

Incidentally, you can look at all the fields using the Develop -> Floating Info Windows option in the menu of any portfolio.
 
Had to move it back to Attributes for it to do anything but I'm running into it using the pAdjust plus 50%. Suggestions?

Code reads as follows:
Code:
var taint as number
taint = hero.child[pTaint].field[pAdjust].value

field[cSplAttBon].value = 10 + taint
field[cSplAttVal].value = taint
field[cSplSaveDC].value = taint
 
Had to move it back to Attributes for it to do anything but I'm running into it using the pAdjust plus 50%. Suggestions?

Code reads as follows:
Code:
var taint as number
taint = hero.child[pTaint].field[pAdjust].value

field[cSplAttBon].value = 10 + taint
field[cSplAttVal].value = taint
field[cSplSaveDC].value = taint

I don't understand the question.
 
I don't understand the question.

Each point of pAdjust increases the save DC, but every 2 points also increases it by 1. 2 adds 3, 4 adds 6, etc.

EDIT: Ok, I got it. Had to do some math on it but it works the way it's supposed to now.
 
Last edited:
Back
Top