Junior Member
Join Date: Aug 2017
Posts: 13
|
I dont really know anything about coding or XML but i want to design a magic weapon that can be either a War Hammer or a Maul, i have everything figured out using the editor except how to get the option to choose the type of weapon, any help with this would be appreciated
|
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
If you look at (or copy) the Dragonslayer magic item, you can see that there is a script that runs in final phase, timing 20000
Code:
~restrict the list of weapons to valid ones only gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (wGroup.Sword)" In order to do the same for your weapon, your script will have to read: Code:
~restrict the list of weapons to valid ones only gizmo.child[gCustMagic].field[gItemExpr].text = #magicgearexpr[] & " & (thingid.wWarhammer | thingid.wMaul)" |
#2 |
Junior Member
Join Date: Aug 2017
Posts: 13
|
thank you
|
#3 |
Junior Member
Join Date: Aug 2017
Posts: 13
|
Also is there a way to get a second form of movment to appear in the stat block from a feat, i have a player who has taken a Feat that allows for Flight and i would like the speed to show up on his character sheet other than in the specials section is this possible
Last edited by davystyles; September 2nd, 2017 at 07:43 AM. Reason: answered part of it on my own |
#4 |
Senior Member
Join Date: Jul 2014
Posts: 412
|
Quote:
Group id / Tag Id Maneuver / Average or Good or Perfect or Clumsy or Poor (HOW GOOD A FLYER YOU ARE) Value / 40 (NUMBER IS SPEED IN FEET) |
|
#5 |
Thread Tools | |
Display Modes | |
|
|