I need to code a for each loop on my ability (I think) that checks the character for melee weapons and assigns their Wis Bonus as an untyped bonus to attack if the ability is active, while restricting the attack to once a round. I know I need to look at;
foreach pick in hero from BaseWep where "wCategory.Melee"
and have it assign;
hero.child[Attack].field[Bonus].value += hero.child[aWIS].field[aModBonus].value
To each pick
But I don't know the script wording to do that, I know the code to disable it when not active but I don't know at all how to restrict the maneuver to once a round.
Any help greatly appreciated
foreach pick in hero from BaseWep where "wCategory.Melee"
and have it assign;
hero.child[Attack].field[Bonus].value += hero.child[aWIS].field[aModBonus].value
To each pick
But I don't know the script wording to do that, I know the code to disable it when not active but I don't know at all how to restrict the maneuver to once a round.
Any help greatly appreciated