• 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

How to modify Touch Attacks?

Necros99

Active member
My group has added a set of items that will add an enhancement bonus Ranged and Melee Touch Attack To Hit numbers. I have been looking and I can't seem to find a way to make this modification.

Any help out there?
 
Are you trying to just get the unique id's or help writing the script? Any adjustments ignore the touch attack weapons so you will need to use the editor to write a custom script.

I would recommend reading the Glossary of Terms for the Editor. Then check out FAQ#2 for all the places to learn about the editor including YouTube videos.
 
Writing the script. I have done quite a bit of it over the years, but I just don't seem to be able to get the id's to make this one work. Here is what I have atm:

Phase: Final Priority: 100000
doneif (field[gIsEquip].value = 0)

#enhancementbonus[hero.child[wTouch], 2]
#enhancementbonus[hero.child[wRay], 2]


It seems to pass validation, but is not modifying Ranged or Melee Touch Attack values
 
have you tried different timings? Maybe move it to Post-Level. Also test it without the doneif statement just to see if it works when you put the item on.
 
Back
Top