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

Reply
 
Thread Tools Display Modes
Talinthalas
Junior Member
 
Join Date: Mar 2010
Posts: 16

Old March 8th, 2010, 12:44 PM
I am trying to figure out what to use to have Hero Lab check to see if the Combat Expertise is activated. I know if should be something like


if (field[abilActive].value <> 0) then
hero.child[Attack].field[tAtkMelee].value += 1
endif

But I am not sure how to phrase it to get fComExpert involved
Talinthalas is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 8th, 2010, 12:58 PM
hero.childfound[fComExpert].field[abilActive].value <> 0

You'll check that, rather than checking if your trait is active, to determine whether or not to activate your ability.

Last edited by Mathias; March 8th, 2010 at 01:00 PM. Reason: childfound[], rather than child[]
Mathias is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 8th, 2010, 12:59 PM
double post
Mathias is offline   #3 Reply With Quote
Talinthalas
Junior Member
 
Join Date: Mar 2010
Posts: 16

Old March 8th, 2010, 01:33 PM
Thank you that works perfectly, and tells m how to check for that for later.
Talinthalas is offline   #4 Reply With Quote
Reply


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 06:37 AM.


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