• 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

Need some Help

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
 
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)"

The most important part is where it says (wGroup.Sword) - which restricts to the sword group.

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)"

So, you'll have to open an eval script and copy/paste the code into it, making sure to have it run on final phase 20000.
 
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:
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

When making that feat, go to the bootstrap button and add xFly, followed by two different tag
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)
 
Back
Top