Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
wynlyndd
Member
 
Join Date: Nov 2014
Posts: 90

Old February 16th, 2020, 12:55 PM
(Notice that this whole post was inspired by Fenris and DungeonGuru's comments on the Community Pack thread)

I'm very new to this scripting but here's what I tried:

I wanted my UA Class Variants file to be selectable when going to Configure Hero in the interface. follow me if I've done anything wrong.
So I made my own .1st file
Code:
   <source
    id="p5eUACViA"
    name="UA Class Variants"
    selectable="no"
    parent="p5eUneArc"
    sortorder="50"
    description="UA Class Variants Use is allowed for gaming groups only.">
    </source> 
<source
    id="p5eSorUACVAP"
    name="UA Class Variants - Sorcerer"
    selectable="yes"
    parent="p5eUACViA"
    sortorder="11"
    description="UA Class Variants Use is allowed for gaming groups only. Use is allowed for gaming groups only.">
    </source>
</document>
Success! I see a subheading under Unearthed Arcana with a checkbox for my UA Class Variants Sorcerer!

I made sure to add <usesource source="p5eSorUACVAP"/> to my custom .user file
Code:
<document signature="Hero Lab Data">
  <thing id="cElmSpSCM" name="Elemental Spell" description="When you cast a spell that deals a type of damage from the following list, you can spend 1 sorcery point to change that damage type to one of the other listed types: acid, cold, fire, lightning, thunder." compset="CustomSpec" summary="Spend 1 sorc. pt.: Choose dmg type from 5 elements." uniqueness="unique">
    <usesource source="p5eSorUACVAP"/>
	<tag group="Helper" tag="Secondary" name="Secondary" abbrev="Secondary"/>
    <tag group="SpecSource" tag="cHelpSor" name="Sorcerer" abbrev="Sorcerer"/>
    <tag group="abAction" tag="Free" name="Free" abbrev="Free"/>
    <tag group="abCategory" tag="SorMetamag" name="Sorcerer Metamagic Ability" abbrev="Sorcerer Metamagic Ability"/>
    <tag group="abDuration" tag="Instant" name="Instantaneous" abbrev="inst"/>
    <tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/>
    </thing>
  <extthing thing="sp5CXGEPrS" group="sClass" tag="cHelpSor"/>
  <extthing thing="spGrease" group="sClass" tag="cHelpSor"/>
  <extthing thing="spProtGoEv" group="sClass" tag="cHelpSor"/>
  <extthing thing="spFlamBlad" group="sClass" tag="cHelpSor"/>
  <extthing thing="spFlamSphe" group="sClass" tag="cHelpSor"/>
  <extthing thing="spVampTouc" group="sClass" tag="cHelpSor"/>
  <extthing thing="spFireShie" group="sClass" tag="cHelpSor"/>
  <extthing thing="spFlesSton" group="sClass" tag="cHelpSor"/>
  <extthing thing="spDemiplan" group="sClass" tag="cHelpSor"/>
  <extthing thing="spForesigh" group="sClass" tag="cHelpSor"/>
  </document>
Current behavior: If I toggle the "UA Class Variants Sorcerer" checkbox in Configure Hero, the metamagic ability CORRECTLY becomes available or flagged in red if it had previously been added.
However, the spells are always added as valid sorcerer spells, even if "UA Class Variants Sorcerer" is not selected via Configure Hero

Question: Has ExtendThing been used elsewhere and is it always in effect? If not, what's the proper usage? Otherwise, it seems as if ANY custom file in the 5e folder has an extthing it's going to take effect.

Edit: okay searching all of the files in the 5e folder, it seems that extthing hasn't been used all that much and it seems like the main use has been to add spells to the Artificer's class list, which you aren't ever going to see if the artificer isn't a selectable class, so it doesn't matter if those spells are always extended. So sadly, it does look like DungeonGuru's comments hold true. It looks like the "easiest" thing to do would be to make a new class "UA Class Variant Sorcerer" which is basically a copy of the Sorcerer. I may get on that soon.

Last edited by wynlyndd; February 16th, 2020 at 01:22 PM.
wynlyndd is offline   #1 Reply With Quote
wynlyndd
Member
 
Join Date: Nov 2014
Posts: 90

Old February 16th, 2020, 04:45 PM
I now know how to programatically add spells to a class and don't need ExtendThing. See my other thread.
wynlyndd is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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