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
WhyteOne
Junior Member
 
Join Date: Feb 2018
Posts: 13

Old June 4th, 2022, 01:45 AM
I have a player that has been using a glaive as his weapon from level 1. he is now about to hit level 20. i want to give him a holy avenger version of the glaive, but I cannot figure out how edit the holy avenger to allow me to pick a glaive as the weapon. To be honest I would just like to be able to have it set up so that it is a "Holy Weapon" I could choose and then it would give me the choice list like it already does, but for any non-ranged martial weapon.

Can anyone help me get this cracked?
WhyteOne is offline   #1 Reply With Quote
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 600

Old June 4th, 2022, 06:45 AM
In the editor, under the Equipment -> Weapon, Magic tab, click "New (Copy)" and select the Holy Avenger.

Give this new version whatever name and unique ID you want. Under the Eval Scripts button, replace

Code:
      gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (wGroup.Sword)"
with

Code:
      gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (wCategory.Melee & wProfReq.Martial)"
Save and Test Now! and you're good to go.

EDIT: Also, just for the sake of it looking right, you'll wanna change the Base Item Restrictions field to say something like "Any martial melee weapon". This is purely text, not a matter of function.

Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub.

Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts!
Fenris447 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 12:29 AM.


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