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
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old June 25th, 2014, 06:01 AM
Is anyone familiar with the #applyfort macro? I'm trying to implement something similar to the fortification ability but it doesn't attach directly to the armor, but is on the hero. SO I'm having to step through the equipped armors and want to see if the #applyfort[25] would still work in those circumstances.

Thanks!
TC
TCArknight is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 25th, 2014, 09:18 AM
All applyfort is is:

hero.childfound[xFortifica].field[abValue].value = maximum(hero.childfound[xFortifica].field[abValue].value, #bonus)

where #bonus is the number inside the brackets [].
Aaron is offline   #2 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 01:47 PM.


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