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
AWizardInDallas
Senior Member
 
Join Date: Aug 2008
Location: Plano, TX
Posts: 147
Send a message via AIM to AWizardInDallas Send a message via MSN to AWizardInDallas Send a message via Yahoo to AWizardInDallas Send a message via Skype™ to AWizardInDallas

Old March 8th, 2009, 02:50 PM
How would I count how many Spell-Like abilitities a character has? I've tried a few things and none of them seem to work.
AWizardInDallas is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 8th, 2009, 06:06 PM
Spell-like abilities aren't really distinguished from other abilities in HL, yet. You'll have to use a foreach loop to find all the special abilities that have the SpecType.SpellLike tag:

Code:
 
var bonus as number
foreach pick in hero where "component.BaseSpec & SpecType.SpellLike"
bonus +=1
nexteach
 
at this point, do something with bonus
The problem with that is that since the SpecType.SpellLike tag doesn't do anything in HL yet, it's been forgotten on some of the abilities. I'd go with the way the various monster feats handle spell-like abilities - skip the pre-req until spell-like abilities are fully implemented.
Mathias is offline   #2 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 12:27 PM.


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