item that adds next feat in Step Up chain
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:
|
This will need to be based on hiding things with tags, not on bootstrap conditions. At the very early timing needed for bootstrap conditions, all you can test for is whether a pick with that Id exists, and if this is trying to handle a chain, you've got interference from the feats added by this item itself, in terms of figuring out whether that feat is already present. It might work for an item that didn't try to add more than one feat, although the tag tested by #hasfeat is assigned ultra-late (it's intended only for prereqs), and bootstrap conditions need to be ultra-early.
|
So I can't add the feat via bootstrap in this case? Can it be added through eval script?
|
You cannot create something that needs to run its own eval scripts with an eval script.
What I'm saying is that while you can add the feat with a bootstrap, I don't see a way to tell whether the earlier feats have been gained and therefore the next one in the chain should become a live bootstrap. |
Okay. Thank you. I will just jank it by having the item add Step Up via bootstrap, and make a note in the item description that if they already have Step Up, they will need to manually add the appropriate feat themselves.
|
Quote:
|
All times are GMT -8. The time now is 11:42 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.