Thread: Custom feat
View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,215

Old November 5th, 2009, 09:32 AM
Oops, missed seeing the melee part.

In that case, the best way to handle it is probably to search through all the weapons, looking for those that are melee weapons and apply the bonus to weapon-specific fields on the weapons. Unfortunately, it's not a morale bonus, but hopefully you won't have to worry about the bonus stacking.

foreach pick in hero from BaseWep where "wCategory.Melee"
eachpick.field[wAttBonus].value += 3
eachpick.field[wDamBonus].value += 3
nexteach

Last edited by Mathias; November 5th, 2009 at 04:04 PM. Reason: fixed a typo - thanks huntercc for pointing it out.
Mathias is offline   #4 Reply With Quote