• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Casting Styles

Adro85

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.
 
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
 
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
 
Back
Top