Trying to create a class and some difficulty with some conditions.
The class selects an elemental type at levels 3, 6, 9 and 10. So on the Class Special, under "Item Selection" I have them choosing from the Element option. Based on the element, I am having a custom tag added. The earliest I can get the tag to pass to the hero is Post-Levels 1000.
There are other Class Specials that should show up when a certain 2 elements are taken. For instance Air & Earth. The problem I am having, is if I bootstrap that ability to the class, and try to use a condition to look for the custom tags, the condition is checking before the tags are applied.
How else could I get the second class special to not display unless the two appropriate tags are present?
The class selects an elemental type at levels 3, 6, 9 and 10. So on the Class Special, under "Item Selection" I have them choosing from the Element option. Based on the element, I am having a custom tag added. The earliest I can get the tag to pass to the hero is Post-Levels 1000.
Code:
~If we chose Air, then assign the proper tag
If (field[usrChosen1].chosen.tagis[thingid.selElAir] <> 0) Then
perform hero.assign[Custom.CngEleAir]
Endif
~If we chose Earth, then assign the proper tag
If (field[usrChosen1].chosen.tagis[thingid.selElEarth] <> 0) Then
perform hero.assign[Custom.CngEleEart]
Endif
~If we chose Fire, then assign the proper tag
If (field[usrChosen1].chosen.tagis[thingid.selElFire] <> 0) Then
perform hero.assign[Custom.ChgEleFire]
Endif
~If we chose Water, then assign the proper tag
If (field[usrChosen1].chosen.tagis[thingid.selElWater] <> 0) Then
perform hero.assign[Custom.ChgEleWate]
Endif
There are other Class Specials that should show up when a certain 2 elements are taken. For instance Air & Earth. The problem I am having, is if I bootstrap that ability to the class, and try to use a condition to look for the custom tags, the condition is checking before the tags are applied.
Code:
<bootstrap thing="cSonChElAE">
<containerreq phase="First" priority="5000"><![CDATA[Custom.CngEleAir & Custom.CngEleEart]]></containerreq>
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
How else could I get the second class special to not display unless the two appropriate tags are present?