View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old October 10th, 2012, 06:54 AM
The script "hero.assign[Hero.Finesse]" assigns the tag Hero.Finesse to the hero. Internally, HL checks for the tag, and if present, uses DEX to determine attack bonus as appropriate. I don't think there's a similar tag for changing the damage bonus, so you'll want to use the Dervish Dance feat as your base. If you're only changing damage, then you would remove the line that changes "wAttBonus". Also, you'll want to determine which weapons you want to affect. If all weapons, then the foreach loop could simply be "foreach pick in hero from BaseWep". If you want to limit it, then you'll need to change the part that says "IsWeapon.wScimitar". What you change it to depends on what weapons you want to limit it to. You can look at the tags for some of the weapons you would want to use by adding that weapon in a portfolio then right-clicking on it and selecting "Show Debug Tags".

A few examples:

For melee weapons:
Code:
foreach pick in hero from BaseWep where "wCategory.Melee"
For light weapons:
Code:
foreach pick in hero from BaseWep where "wCategory.Light"
For light melee weapons:
Code:
foreach pick in hero from BaseWep where "wCategory.Melee & wCategory.Light"
For light melee weapons that aren't made of metal:
Code:
foreach pick in hero from BaseWep where "wCategory.Melee & wCategory.Light & !EquipType.Metal"
For light or one-handed weapons:
Code:
foreach pick in hero from BaseWep where "wCategory.Light | wCategory.OneHanded"
Hope that helps.

Last edited by Sendric; October 10th, 2012 at 06:59 AM.
Sendric is offline   #2 Reply With Quote