• 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

Help with Eval script

Kaleb

Well-known member
I need to write an eval script for a magic glove that does three things
add a +3 competence bonus to hit when the wearer is wielding a fencing weapon
2:double precision damage
3: grant 1 extra attack as per the speed enchanment
 
1 - What is a "fencing weapon"? Depending on that, do a foreach and apply the attack bonus to all qualifying weapons.
2 - Hero Lab doesn't, as a rule, show extra dice of damage (which most precision damage is) on the weapon unless they apply on every hit. The only exception I can think of is the Swashbucklers "Smite everyone all the time" stabby damage. You could double the calculated value of that special, but otherwise this can be text only.
3 - Make a copy of the speed item power, see which tag it applies, and then apply that tag to all "fencing weapons" with a foreach.
 
Back
Top