• 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

Black Blade Adjustments (2)

poizen37

Well-known member
How would I go about creating script for a feat that lets me use a two handed slashing weapon as a black blade?

The black blade seems to be some fairly unique scripting that I can't even find, so I have no idea the best way to go about it.
 
Black blades are hard coded and not copyable from the editor. Modifying the candidate expression involves going into the Black Blade weapon gizmo, and overwriting the gCustMagic pick's gItemExpr field, which is set at Final 20000. This is the script that sets it right now:

Final 20000
gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (IsWeapon.wRapier | IsWeapon.wSwordCane | (wClass.OneHanded & wType.S))"

Your new script will need to have a different start to it, since the above script is running in the same container as the gizmo, but your feat will be starting on the hero. I'd suggest setting the phase and priority to Final 21000.

Hope that helps.
 
Back
Top