I have been working on this for most of the day, and just can't seem to figure it out. I am wanting to add a custom feat that will allow you add your proficiency Bonus to your Damage for Melee weapons you are proficient in. I just can't seem to get the Eval Script to be correct. The closest I have come adds the Proficiency Bonus to the Damage of all Melee Weapons (even those without proficiency). Here is what I have for my Eval Script:
Code:
foreach pick in hero from BaseWep where "WepProf.?"
eachpick.field[dmmBonus].value += hero.childfound[ProfBonus].field[tProfBonus].value
nexteach
Any way I can reduce this to just proficient weapons? Or is there a better way?
Thanks,
Bob