Thread: Casting Styles
View Single Post
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