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)
-   -   Mercurial Weapons (http://forums.wolflair.com/showthread.php?t=68092)

spannclann November 12th, 2023 09:47 PM

Mercurial Weapons
 
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.

Fenris447 November 13th, 2023 07: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.


All times are GMT -8. The time now is 01:32 AM.

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