Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 13th, 2009, 01:00 PM
OK call me dumb, but how do I determine is the class i am creating is able to cast a specific level of devine spells? Thanks.

PS: Also how can i add a "+1 level of existing spellcasting class" as a special ability for the class? Thanks again.
chiefweasel is offline   #1 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old September 13th, 2009, 02:06 PM
validif (tagcount[Hero.Divine] >= X + 1)

Where X is the level of spell use required.

You can do that in the Extra Magic/Power levels button in the class tab of the editor, scroll down, it is near the bottom.
Lawful_g is offline   #2 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 14th, 2009, 04:58 AM
Cool, thanks. Now, any idea how can i check to see what deity is listed for the character? The Shadowspy prestige class requires a specific deity.
chiefweasel is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 14th, 2009, 09:03 AM
Can't currently be done.
Mathias is offline   #4 Reply With Quote
huntercc
Senior Member
 
Join Date: Jul 2007
Location: Syracuse, NY (USA)
Posts: 213

Old September 14th, 2009, 01:00 PM
Awhile ago I wrote this script as a pre-req for a custom feat:

Code:
@valid = 0
var result as number

result = compare(hero.child[background].field[bDeity].text, "Somename")

if (result = 0) then
 @valid = 1
endif
I'm sure there's a better way to write it, but I don't see why this couldn't be adapted to your needs.
huntercc is offline   #5 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 14th, 2009, 01:02 PM
I'll give it a try, thanks.
chiefweasel is offline   #6 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 14th, 2009, 01:13 PM
That's really not proper, since it relies on exact spelling and capitalization. Just leave the requirement as text.
Mathias is offline   #7 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 14th, 2009, 01:16 PM
Ya, i was worried about that as well. But i am looking for Pelor, so spelling really shouldnt be a big problem, and i could look for either instance of it, so i'll let you know how it goes.
chiefweasel is offline   #8 Reply With Quote
Reply


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 07:56 PM.


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