Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Swap Out Ability Tables (http://forums.wolflair.com/showthread.php?t=66556)

DeathSheep November 23rd, 2021 12:06 PM

Swap Out Ability Tables
 
Is it possible to make multiple ability tables for a class using the same (say Tertiary) table, but swap out the tables based on the archetype chosen?

DeathSheep November 24th, 2021 07:31 AM

I thought I had a clever solution. I created a configurable for a given archetype and built a table that was tied to the configurable. Then I bootstrapped the configurable to the archetype, but I get an error "Linkage pick 'table' not located for current context". I feel like I'm on the right track, so how do I get the table to become available?

DeathSheep November 28th, 2021 12:46 PM

I've very nearly got this. Here is the code as it is:

Code:

    <bootstrap thing="cfgPRArmorMech"></bootstrap>
    <eval phase="PostLevel" priority="10000"><![CDATA[    doneif (tagis[Helper.Disable] <> 0)

~ Set number of modification slots
    field[abValue].value += (field[xCount].value + 3)

~ Allow the modifications slots to be used.
      hero.childfound[cfgPRArmorMech].field[cfgMax3].value = field[abValue].value]]></eval>
    <eval phase="Render" priority="10000" index="2"><![CDATA[      field[listname].text = "Modified Armor " & signed(field[xIndex].value + 3) & "Slots"]]></eval>

The abValue field is being set properly, but the cfgMax3 field is only picking up the first instance of the ability. It is not picking up the changed abValue field when further instances are bootstrapped. So what am I missing here to make the number of choices increase?

DeathSheep November 29th, 2021 11:00 AM

I think it's finally working! On to the next problem.


All times are GMT -8. The time now is 08:12 PM.

Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.