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
Adro85
Junior Member
 
Join Date: Oct 2007
Location: Kalamazoo, MI
Posts: 14
Send a message via Yahoo to Adro85

Old October 6th, 2007, 03:06 PM
I am trying to prereq casting types for Prestige Classes. Ultimate Magus needs to have a 3rd level spellbook spell and 1st level spontaneous spells. I know how to prereq a spell level but I do not know how to prereq casting types.
Adro85 is offline   #1 Reply With Quote
Ravencloak
Junior Member
 
Join Date: Feb 2007
Posts: 18

Old October 9th, 2007, 08:28 AM
By spontaneous I assume you mean casting as a bard or a sorcerer (since I'm unfamiliar with the Ultimate Magus). To test for spontaneous casting try this:

@valid = 0
if (hero.tagis[Hero.SpontArc] <> 0) then
@valid = 1
endif
Ravencloak is offline   #2 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old October 16th, 2007, 08:06 AM
Adro85 wrote:
>
>
> I am trying to prereq casting types for Prestige Classes. Ultimate Magus
> needs to have a 3rd level spellbook spell and 1st level spontaneous
> spells. I know how to prereq a spell level but I do not know how to
> prereq casting types.

Ravencloak got most of the solution - checking for spontaneous arcane
spells works like this:

@valid = 0
if (hero.tagis[Hero.SpontArc] <> 0) then
@valid = 1
endif

Currently there's no way to check for a specific level of spells in your
spellbook. I'll add this requirement to the list.

Hope this helps,

--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
Colen is offline   #3 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:06 PM.


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