Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Asandir
Senior Member
 
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335

Old June 2nd, 2013, 08:11 AM
Hi All,

Need some help with two pre-reqs for a feat and not sure how to go about them.

Levels in 2 spellcasting character classes, 13 in 2 of the following abilities: Int, Wis, Cha.

I know this gives me 13 in any one, but not sure about 13 in 2.

validif (hero.child[aINT].field[aFinalVal].value >= 13)
validif (hero.child[aWIS].field[aFinalVal].value >= 13)
validif (hero.child[aCHA].field[aFinalVal].value >= 13)

The two spellcasting classes I'm not sure where to begin.

Thanks.

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.
Asandir is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old June 2nd, 2013, 09:28 AM
well the 13 in 2 would be something like:

Code:
var score as number

if (#attrvalue[aINT] >= 13) then
   score += 1
endif
if (#attrvalue[aWIS] >= 13) then
   score += 1
endif
if (#attrvalue[aCHA] >= 13) then
   score += 1
endif

validif (score >= 2)

Last edited by AndrewD2; June 2nd, 2013 at 09:28 AM. Reason: forget ending tag
AndrewD2 is offline   #2 Reply With Quote
Asandir
Senior Member
 
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335

Old June 3rd, 2013, 05:05 AM
Quote:
Originally Posted by AndrewD2 View Post
well the 13 in 2 would be something like:

Code:
var score as number

if (#attrvalue[aINT] >= 13) then
   score += 1
endif
if (#attrvalue[aWIS] >= 13) then
   score += 1
endif
if (#attrvalue[aCHA] >= 13) then
   score += 1
endif

validif (score >= 2)
Thanks! I'll give this piece a try this week. Appreciate it.

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.
Asandir is offline   #3 Reply With Quote
Asandir
Senior Member
 
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335

Old June 5th, 2013, 04:57 PM
your suggested code worked!

Thanks very much.

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.
Asandir is offline   #4 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 04:47 PM.


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