I am trying to add a Feat that provides a +1 armor bonus when the hero is wearing armor. I looked at Shield Focus and it seemed quite close to what I wanted. I just needed to change from a shield to armor.
My evaluation script occurs in the post-levels Priority 500 Index 1
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~find all our armor
foreach pick in hero from BaseArmor where "EquipType.Armor"
eachpick.field[arAC].value += field[abValue].value
nexteach
I have set up an abValue field equal to 1.
I tested this and it does not increase the armor of my hero. Any advice is appreciated.
My evaluation script occurs in the post-levels Priority 500 Index 1
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~find all our armor
foreach pick in hero from BaseArmor where "EquipType.Armor"
eachpick.field[arAC].value += field[abValue].value
nexteach
I have set up an abValue field equal to 1.
I tested this and it does not increase the armor of my hero. Any advice is appreciated.