Member
Join Date: Jan 2007
Posts: 48
|
I'm making a class feature that adds bonus damage to a certain group of weapons (basically the elven melee weapons, plus some other weapons that were defined in the same source). The documentation gives us several ways to add bonus damage to various subsets of weapons (all light, weapon finesse weapons, etc.). Is there a way to define our own subset weapon (for example in an augmentation file)?
I currently get around it by only applying the bonus to an equipped weapon if the equipped weapon is one of the weapons the bonus applies too. Not an ideal solution, as I don't see that I get a bonus unil I equip the weapon, and when I do equip, all other weapons appear to get the bonus as well. It works for now, but if I can define my own subset of weapons to apply a bonus to, that would be very good. Thanks. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Culhwch wrote:
> > > I'm making a class feature that adds bonus damage to a certain group of > weapons (basically the elven melee weapons, plus some other weapons that > were defined in the same source). The documentation gives us several > ways to add bonus damage to various subsets of weapons (all light, > weapon finesse weapons, etc.). Is there a way to define our own subset > weapon (for example in an augmentation file)? > > I currently get around it by only applying the bonus to an equipped > weapon if the equipped weapon is one of the weapons the bonus applies > too. Not an ideal solution, as I don't see that I get a bonus unil I > equip the weapon, and when I do equip, all other weapons appear to get > the bonus as well. It works for now, but if I can define my own subset > of weapons to apply a bonus to, that would be very good. You can add bonus damage to a weapon by adding to the "wDamBonus" field. Currently there's no way to distinguish between all "Elven" weapons (although that's a good idea - I'll get that added). To add 1 damage to every Longsword, you could do this: foreach pick in hero where "IsWeapon.wLongsword" each.field[wDamBonus].value = each.field[wDamBonus].value + 1 nexteach Hope this helps, -- Colen McAlister (colen@wolflair.com) Chief Engineer, Lone Wolf Development http://www.wolflair.com/ |
#2 |
|
|