Junior Member
|
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.
|
#1 |
Junior Member
Join Date: Feb 2007
Posts: 18
|
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 |
#2 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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 |
#3 |
|
|