Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AllusiveMan
Member
 
Join Date: Sep 2018
Posts: 30

Old October 27th, 2021, 10:10 AM
Hi. I'm creating a custom item similar to War-kilt of Sarenrae. I want it to automatically grant the wearer the next feat in the Step Up --> Following Step --> Step Up and Strike chain, depending on which they may already have.

My current thought is to have an eval script set abValue to 1, 2, or 3 (as below), and then add the appropriate feat via bootstrap with a condition that checks abValue. Am I on the right track? If so, I think I just need to know what phases and priorities to use.

PHP Code:
if (#hasfeat[fStepUp] = 0) then
  
field[abValue].value 1
elseif (#hasfeat[fFollStep] = 0) then
  
field[abValue].value 2
elseif (#hasfeat[fStepUpStr] = 0) then
  
field[abValue].value 3
  
endif 
AllusiveMan is offline   #1 Reply With Quote
 

Thread Tools
Display Modes

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 03:35 PM.


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