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
spannclann
Member
 
Join Date: Aug 2018
Location: Texas
Posts: 79

Old November 12th, 2023, 10:47 PM
I am looking to add Mercurial Weapons. My plan is to alter the adamantine to fit my purpose somewhat. I need a script to check the weapon damage chosen and bump it up to the next highest damage die.
spannclann is offline   #1 Reply With Quote
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 597

Old November 13th, 2023, 08:30 AM
You're going to be using gizmo.child[gCustMagic].field[wDieSize].value as the value of the weapon's damage die. I'd suggest setting a variable to equal that, then test the variable. It it equals 12, make it 20. If it equals 10, make it 12, and so on. Do it descending so that you don't bump it up over and over again in the same script. Then, make it so that the field equals the new variable.

Don't forget about wDSizVers, which is the weapon's die size if it's versatile and being held by two hands. Do the same procedure for that.

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 06:12 AM.


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