Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Arcane Spell use (http://forums.wolflair.com/showthread.php?t=8213)

chiefweasel February 11th, 2009 09:14 PM

Arcane Spell use
 
Does anyone know if there is a way to determine if a char has Bardic Music or at least 1 level of arcane spell use? I know for the bards there is something called, Hbardic but I cant find what it is exactly. Some feats require these things as prerequisites but I have no idea how to check for them. Any help would be great, thanks.

Mathias February 12th, 2009 07:20 AM

To find these, first make sure that "enable data file debugging" is checked at the top of the develop menu. Now, add a level of Bard, go to the develop menu, the last item is "Floating Info Windows" - choose "Show Selection List", and scroll through that list until you find that Bardic Music is hBrdMusic.

Here's how to write a pre-req that looks for that:
@valid = hero.pickexists[hBrdMusic]

For ability to use arcane spells, how about this pre-req from the Arcane Archer prestige class:
Code:

        if (tagcount[Hero.Arcane] >= 1 + 1) then
          @valid = 1
          endif

A character gets one Hero.Arcane tag for every level of spells they are able to cast, so this prereq, in the ">= 1 + 1" portion, is checking whether the character has the ability to cast 0-level spells + the ability to cast 1st-level spells.

Therefore, to check for the ability to cast arcane spells, you only need to check for:

@valid = tagis[Hero.Arcane]

What you're actually testing for there is the ability to cast cantrips.


All times are GMT -8. The time now is 08:31 PM.

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