View Single Post
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