View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 21st, 2021, 07:36 AM
Please be clear when you begin asking your question whether you're using user-added abilities, or class specials that are bootstrapped - all you said was "class ability", so I thought you meant class specials. The solutions in each case are very different. If this is a custom ability, then you don't need to to worry about bootstrap conditions - you just create two abilities - one of which can be taken 3 times, and another that has a prereq of 3 copies of the first, that can just bootstrap immunity without having to worry about bootstrap conditions.

hero.tagcount[HasAbility.XXXXX] >= 3

should work as the exprreq to let you verify that 3 copies have been added.


A Rogue Talent called Hold Breath is an example of something that can be taken multiple times and increases its value by 2 for each time taken.
Mathias is offline   #7 Reply With Quote