• 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

Interesting Pre-Reqs for Feat

Asandir

Well-known member
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.
 
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:
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.
 
Back
Top