TCArknight
Well-known member
On my configurable, I have cfgMax2set to 3. I have several Secondary abilities with a cost basis bootstrapped from the Primary ability.
The bootstrapped secondary abilities should not add to cfgSpent2 and reduce the pool. They also should not be able to be removed by the user.
What fields or tags do I need to add to do this?
Here's the current code:
Any suggestions?
thanks!
TC
The bootstrapped secondary abilities should not add to cfgSpent2 and reduce the pool. They also should not be able to be removed by the user.
What fields or tags do I need to add to do this?
Here's the current code:
Code:
<thing id="rcAstSkin" name="Astral Skin" compset="RaceCustom">
<usesource source="pPsiEx"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
<bootstrap thing="rcASCSpeed"></bootstrap>
<bootstrap thing="rcASCNimb1"></bootstrap>
<bootstrap thing="rcASCSpeed"></bootstrap>
<eval phase="PostLevel" priority="10000">hero.childfound[cfgAstSuit].field[cfgSpent2].value -= 4</eval>
</thing>
<thing id="rcAstArmor" name="Astral Armor" compset="RaceCustom">
<usesource source="pPsiEx"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
</thing>
<thing id="rcAstJugge" name="Astral Juggernaut" compset="RaceCustom">
<usesource source="pPsiEx"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
</thing>
<thing id="rcASCNimb1" name="Nimble" description="The aegis gains a +2 enhancement bonus to Dexterity while he is wearing his astral suit. This customization can be selected a second time beginning at 5th level, and a third time starting at 10th level. Each subsequent time it is taken, the enhancement bonus to Dexterity is increased by +2." compset="RaceCustom">
<usesource source="pPsiEx"/>
<tag group="Helper" tag="Secondary"/>
<tag group="CustomCost" tag="2"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
<eval phase="PostLevel" priority="10000"><![CDATA[~If psionically focused, and appropriate level, add DEX bonus
if (hero.childfound[abPsiFocus].field[abilActive].value <> 0) then
~ Bonus to Dexterity
hero.child[aDEX].field[Bonus].value += 2
endif]]></eval>
</thing>
<thing id="rcASCSpeed" name="Speed" description="The aegis’s base land speed is increased by 5 feet. This customization can be selected up to five times. Its effects stack." compset="RaceCustom">
<usesource source="pPsiEx"/>
<tag group="Helper" tag="Secondary"/>
<tag group="CustomCost" tag="1"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
<eval phase="PostLevel" priority="5000"><![CDATA[~If psionically focused, and appropriate level, add DEX bonus
if (hero.childfound[abPsiFocus].field[abilActive].value <> 0) then
~ Bonus to Dexterity
hero.child[Speed].field[tSpeed].value += 5
endif]]></eval>
</thing>
Any suggestions?
thanks!
TC