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)
-   -   Magical weapon alteration HELP PLEASE!! (http://forums.wolflair.com/showthread.php?t=67089)

WhyteOne June 4th, 2022 01:45 AM

Magical weapon alteration HELP PLEASE!!
 
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?

Fenris447 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.


All times are GMT -8. The time now is 10:31 PM.

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