View Single Post
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,086

Old February 5th, 2017, 12:25 AM
I'm trying to implement a Feat that grants a bonus to two chosen Knowledge skills. I've got everything working except for the Pre-Req. The feat requires two Knowledge skills with 5+ ranks. I'm only going round in circles trying different code and searching the forums for code or something similar.

I started with:

foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
validif (eachpick.field[skRanks].value >= 5)
nexteach

This tells me if there's ONE skill at 5+, but I don't know how to convert this to being valid if two are 5+. There's got to be an easy way, but I can't find the detail I need to do it.

Any suggestions?
Dami is offline   #1 Reply With Quote