Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dastir
Member
 
Join Date: Sep 2008
Posts: 48

Old July 18th, 2009, 01:55 PM
I am trying to code the Battle Caster feat from COmplete Arcane and am not quite sure how to proceed.

I know how to detect iof a class has the ability to ignore spell failure from a specific class of armor, and I know how to adjust that for a specific class. The question I have is this:

How do I detect, regardless of class, the highest level of armor the character can wear and still ignore spell failure, and how can I, again regardless of class, increase that? I understand logically how to do it

Code:
[pseudocode]
if (hero has CastArmor.Heavy) then
   done
elseif (hero has CastArmor.Medium) then
   assign CastArmor.Heavy
elseif (hero has CastArmor.Light) then
   assign CastArmor.Medium
endif
[/pseudocode]
The thing I don't get is how to detect and assing these tags no matter what class they have. All the examples use childfound[classid]

thanks!

Last edited by Dastir; July 18th, 2009 at 01:59 PM.
Dastir is offline   #1 Reply With Quote
 


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 01:34 PM.


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