Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Caster Stat based on pAdjust? (http://forums.wolflair.com/showthread.php?t=56641)

Illyahr September 25th, 2016 08:22 AM

Caster Stat based on pAdjust?
 
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?

Sendric September 26th, 2016 04:08 AM

Quote:

Originally Posted by Illyahr (Post 235010)
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.

Illyahr September 26th, 2016 09:45 AM

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


Sendric September 26th, 2016 11:20 AM

Quote:

Originally Posted by Illyahr (Post 235089)
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.

Illyahr September 26th, 2016 11:27 AM

Quote:

Originally Posted by Sendric (Post 235095)
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.


All times are GMT -8. The time now is 05:41 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.