I am trying to implement the effect of the "Legendary Influence" feat. Choosing a feat for each spirit can be done in various ways.
But applying each feat only when the corresponding spirit is selected seems to require that one be able to combined %LIST (for selecting the chosen feat) and PREABILITY, in something like :
MULT:YES CHOOSE:ABILITYSELECTION|FEAT|QUALIFIED ABILITY:FEAT|VIRTUAL|%LIST|PREABILITY:1,CATEGORY=Special Ability,Medium ~ Champion Spirit
Is there any serious limitation preventing such a combination ?
Yes. The CHOOSE doesn't know how the %LIST will be used.
Can you share what "Legendary Influence" does? That will be helpful for determining the best way to implement it (or if we can at all)
Do you have thoughts on this?
- I think the content team would be thrilled to have multiple chooser and slot those choices to the right "bonuses".
As far as the feat, I would have to dig in and research it. The syntax looks correct and should work.
When you choose the "Legendary Influence" feat, you immediately choose one feat for each kind of spirit the medium class can channel (there are 6 of them). The choices do not form a set as in "Weapon Focus(rapier, dagger, falchion)", they are bound to a specific spirit.
When the medium chooses the spirit for the next 24h, only the feat chosen for this spirit applies. In my example, it is asked to choose the feat for the champion spirit, which should apply only when the medium has channelled a champion spirit (that's why I have put "|PREABILITY:1,CATEGORY=Special Ability,Medium ~ Champion Spirit").
Combining %LIST with PRExxx seems the natural way to do it, and I have not found another way which works.
As for the ability to have multiple chooser, it would be very nice.
For now, I have to create 6 special pools which I enable when the "Legendary Influence" is selected, and then 6 special abilities which goes into those pools, for each of which the user choose one feat, which should apply only with the associated spirit.
Also, the title is in French, sorry...
It means "Allowing %LIST to work with PRExxx". It is explicitly forbidden for now. In java code, see the variable "prereqsAllowed" in the file "code/src/java/plugin/lsttokens/AbilityLst.java".