• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Using DEX instead of STR Mod for Damage

ChopperDan

New member
Improved Weapon Finesse, It's a topic talked about a lot on the forums. I've been looking around. So far I've only found things like "DamageOpt" and "DamageOver" in the Pathfinder forums. It doesn't seem to work in the d20 set.

Stuff like the entry below seems pretty clean:

foreach pick in hero from BaseWep where "Helper.Finesse|wClass.Light"
~ Set tag so that we use either Str or Dex
perform eachpick.assign[DamageOpt.aDEX]
nexteach

Never compiles in d20.

Maybe I'm not looking deep enough into the forums. Can anyone help or point me in the right direction?
Thanks!!
 
Try this:

Code:
var bonus as number
var minus as number
bonus = hero.child[aDEX].field[aModBonus].value
minus = hero.child[aSTR].field[aModBonus].value

doneif (minus >= bonus)

var diff as number
diff = bonus - minus

foreach pick in hero from BaseWep where "wClass.Light | Helper.Finesse"
 eachpick.field[wDamBonus].value += diff
nexteach

You can find a lot of similar things in the coding of other feats. I have a lot of fun tinkering with these kind of things. :)
 
Back
Top