Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old September 25th, 2016, 08:22 AM
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?
Illyahr is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old September 26th, 2016, 04:08 AM
Quote:
Originally Posted by Illyahr View Post
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.
Sendric is offline   #2 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old 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
Illyahr is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old September 26th, 2016, 11:20 AM
Quote:
Originally Posted by Illyahr View Post
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.
Sendric is offline   #4 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old September 26th, 2016, 11:27 AM
Quote:
Originally Posted by Sendric View Post
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 by Illyahr; September 26th, 2016 at 11:47 AM.
Illyahr is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:11 AM.


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