Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
poizen37
Senior Member
 
Join Date: Dec 2010
Location: Northeast Quadrant
Posts: 128

Old September 3rd, 2012, 11:43 AM
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.
poizen37 is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 4th, 2012, 02:16 AM
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.
Aaron is offline   #2 Reply With Quote
Reply


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 09:38 AM.


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