• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Configurable ability normally tertiary but need it to be quintenary

frumple

Well-known member
Another configurable question.

I am trying to implement oracle revelations as a quintenary ability in a configurable. Normally, on the oracle, these are tertiary. I can get these to show up as quintenary by using the script (for example for ancestor mystery revelations)

Code:
hero.child[cfgGRNoblT].field[cfgAllow5].text = "SpecSource.cHelpOra & !Helper.Obsolete & (Custom.MystAnces & abCategory.OraRvAnce)"

However, the abilities are showing up on the tertiary line as well on the configurable. I am trying to delete the Helper.Tertiary tag from the revelation using (where cfgXXXX is the id of the configurable

Code:
foreach pick in hero from Ability where "CustTaken.cfgXXXX & abCategory.OraRev?"
  perform eachpick.delete[Helper.Tertiary]
  nexteach

but that doesn't seem to work at multiple timings.

Ideas?
 
Well, first confirm that your foreach is getting to the correct picks by using some debug statements. Second, look at the tags on the picks added to the configurable and confirm the Helper tag is being deleted. Third, look for any other tags which might cause it to be shown on a different portal.
 
Getting to correct picks: check

Helper.Tertiary getting deleted: check

Portals: The thing has the portal.cfg5Abil tag. I cannot find any others that would assign it to the cfg3Abil portal. I have looked at both the thing chosen in the qintenary portal as well as the configurable itself.

FYI, right now I am running the script at First/10.

Also, in the tertiary portal it shows up in green text with out the delete button. However, int he quintenary portal it shows up as normal.
 
Last edited:
Ok that was strange. It is working correctly now after I shut down my machine and restarted for another reason. :/
 
I've found sometimes Hero Lab needs to have it's memory cleared (completely closed and re-opened and just just quick reload or test now) because stuff just gets stuck in memory and doesn't reload properly.
 
Back
Top