Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
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. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
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 |
#2 |
Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
Thanks! I'll give this piece a try this week. Appreciate it.
Minutus cantorum, minutus balorum, minutus carborata descendum pantorum. |
#3 |
Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
your suggested code worked!
Thanks very much. Minutus cantorum, minutus balorum, minutus carborata descendum pantorum. |
#4 |
|
|