Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Santok1972
Junior Member
 
Join Date: Mar 2019
Posts: 12

Old February 20th, 2021, 01:38 PM
I've been searching through these forums looking for a way to make the adjustment for a custom feat I have been working on for PF1 in HeroLab Classic. I've found a few ideas, but nothing quite seems to work out.

For the feat, when it is activated in the "In Play" tab, I want to add a +1 to hit with light or one-handed melee weapons.

The functionality of checking if the ability is activated on the In Play tab is working

if (field[abilActive].value <> 0) then

end if

The following code inserted in the above If-Then statement adds a bonus to all melee weapon attack rolls, including two-handed weapons:

hero.child[Attack].field[atmBonus].value += field[abValue].value

Then I tried using

if (container.tagis[wClass.Light] <> 0) then
foreach pick in hero from BaseWep
eachpick.field[wAttMelee].value += field[abValue].value
nexteach
endif

But that doesn't seem to be cutting it. I'm sure it's something simple that I'm missing.

Any suggestions?

Thank you.
Santok1972 is offline   #1 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:20 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.