• 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 not costing?

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:
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
 
Anything that is not user added (that is, anything bootstrapped) can't be deleted, you have to delete what brought it along for the ride instead.

From what I am seeing, bootstrapped racial custom abilities are free by default, if you want them to cost, give the ability the Helper.NotFree tag.
 
Ok, weird. :( now they're not bootstrapping at all after I've had my computer reboot due to a windows update overnight. :(

Could a difference be because they're on a configurable and not on a class itself?
 
Nope, no change.

I do notice 2 things:
1) The bootstrapped abilities (R Cust Special) do not show up under the Secondary ability chooser but they do appear under the hero's Special tab.

2) Is there a way, if the same R Cust Special is chosen more than once to list as "XXXXX" when taken once, and "XXXXX (2)" and only showing once on the Special tab? Right now, it shows up multiple times on the Special tab.
 
1) Do you have the R Cust Specials with the correct Helper tag for the table you're using on the configurable? For example, if your configurable is showing Secondary abilities, do those bootstrapped R Cust Specials have Helper.Secondary?

2) I believe so, look at certain Rogue abilities that do something like this (like Deadly Range, for example).
 
1) Do you have the R Cust Specials with the correct Helper tag for the table you're using on the configurable? For example, if your configurable is showing Secondary abilities, do those bootstrapped R Cust Specials have Helper.Secondary?
Yep,do.:)
<tag group="Helper" tag="Secondary"/>
<tag group="CustomCost" tag="2"/>
<tag group="AllowRCust" tag="cfgAstSuit"/>
Aaron said:
2) I believe so, look at certain Rogue abilities that do something like this (like Deadly Range, for example).

Thanks! I forgot those since I don't do a rogue a lot lately. :)
 
When you add an ability to the configurable, it gets the CustTaken.cfgAstSuit tag. Bootstrapped ones aren't added, so they don't get the tag and therefore don't show. So, when your "Astral Skin" bootstraps the "Speed" ability for example, have it bootstrap the ability with that tag, and it will show.
 
That was it, thank you very much! :)

Related question, is there a way to not have two or more show up on the configurable? so that you don't have:
Speed
Speed (2)

and just have Speed (2)?

Thanks!
TC
 
Back
Top