• 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

Editing: There's an ExtendThing but is there a Replacething?

wynlyndd

Well-known member
There's a bug in the SRD with one of the magic items. I have fixed it locally by making a copy and appending "_corrected". However, sometimes I accidentally use the wrong one. I was wondering if there was a Replaces tag to make Hero Lab always use my version instead of the default one which is wrong?
 
I think there is actually a field for this in the new Thing's editor screen. Maybe on the right side? I don't have HL in front of me but it should be there.

I haven't ever used it, but I'm interested in seeing how it works. I believe we use it to replace the SRD tiefling as well.

Also, I'd love to include any fixed items like that in the Community Pack, so by all means submit it!
 
I think there is actually a field for this in the new Thing's editor screen. Maybe on the right side? I don't have HL in front of me but it should be there.

I haven't ever used it, but I'm interested in seeing how it works. I believe we use it to replace the SRD tiefling as well.

Also, I'd love to include any fixed items like that in the Community Pack, so by all means submit it!



Whoa. I think I did it. Looking at the tiefling, I saw a bit of XML in COM_5ePack_PHB - Races.user

<preclude id="rTiefling" source="5ePHBCP"/>

So I added a preclude tag to my custom .user file, guessing what the source is.
<preclude id="stFrost" source="5eDMGCP" />

I only see one Staff of Frost listed when I go add a Magic Item, but it is mine and it is corrected!

Here is from my file:
<thing id="isSCMStfFrt" name="Staff of Frost" description="You have resistance to cold damage while you hold this staff.{br}The staff has 10 charges. While holding it, you can use an action to expend 1 or more of its charges to cast one of the following spells from it, using your spell save DC: cone of cold (5 charges), fog cloud (1 charge), ice storm (4 charges), or wall of ice (4 charges).{br}The staff regains 1d6 + 4 expended charges daily at dawn. If you expend the last charge, roll a d20. On a 1, the staff turns to water and is destroyed." compset="Staff">
<fieldval field="miAttunTxt" value="requires attunement by a druid, sorcerer, warlock, or wizard"/>
<fieldval field="trkMax" value="10"/>
<tag group="ItemRarity" tag="VeryRare" name="Very Rare" abbrev="Very Rare"/>
<tag group="Usage" tag="Charges" name=" charges" abbrev=" charges"/>
<tag group="Helper" tag="NeedAttune" name="Requires Attunement" abbrev="Requires Attunement"/>
<tag group="Helper" tag="ShowSpec" name="Show Spec" abbrev="Show Spec"/>
<bootstrap thing="spConeCold">
<autotag group="ChargeUse" tag="5"/>
<autotag group="Helper" tag="ItemSpell"/>
<autotag group="Helper" tag="StaffSpell"/>
<autotag group="Usage" tag="Charges"/>
</bootstrap>
<bootstrap thing="spFogClou">
<autotag group="ChargeUse" tag="1"/>
<autotag group="Helper" tag="ItemSpell"/>
<autotag group="Helper" tag="StaffSpell"/>
<autotag group="Usage" tag="Charges"/>
</bootstrap>
<bootstrap thing="spIceStor">
<autotag group="ChargeUse" tag="4"/>
<autotag group="Helper" tag="ItemSpell"/>
<autotag group="Helper" tag="StaffSpell"/>
<autotag group="Usage" tag="Charges"/>
</bootstrap>
<bootstrap thing="spWallIce">
<autotag group="ChargeUse" tag="4"/>
<autotag group="Helper" tag="ItemSpell"/>
<autotag group="Helper" tag="StaffSpell"/>
<autotag group="Usage" tag="Charges"/>
</bootstrap>
<eval phase="PreLevel" priority="5000">doneif (field[gIsEquip].value = 0)
doneif (field[gIsAttuned].value = 0)

perform hero.assign[DamageRes.dtCold]</eval>
</thing>
<preclude id="stFrost" source="5eDMGCP" />

Now I have no idea where to go from here to help add it to the cause.


but now that, I've figured it out, I had filed a bug report and they responded that they reproduced the bug and are looking into it. lol
 
Last edited:
So I added a preclude tag to my custom .user file, guessing what the source is.

Just to help clarify, the source that you provide to the preclude is one that you want to "trigger" the replace. This is the checkbox on the hero configuration screen (the first screen or the Ctrl-K).

Since the Staff of Frost is in the SRD it has a generic source we don't see so your guess was pretty good to put it in with the other DMG items.
 
Just to help clarify, the source that you provide to the preclude is one that you want to "trigger" the replace. This is the checkbox on the hero configuration screen (the first screen or the Ctrl-K).

Since the Staff of Frost is in the SRD it has a generic source we don't see so your guess was pretty good to put it in with the other DMG items.

Ah. some if sourcebook has a Ring of Whatzit and I like my Ring of Whatzit better, I Preclude it by giving the source. gotcha
 
Back
Top