Senior Member
|
I'm working on allowing a user to create a magic weapon, albeit quite simply for now.
I want the user to be able to select a weapon, and give the following: Damage Dice (my idea, use a menu_literal for # of dice) Another menu_literal for the dice (d4/d6/d8/d10/d12) and another menu_literal for adding something. So the final result will hopefully look like 2d6+3 In addition to this, I want a menu_literal for To Hit bonus. So, in my current weapon list, I added an entry at the top: Code:
<thing id="wpCustom" name="- Custom/Magic Weapon -" description="Melee weapon" compset="Melee"> Code:
<entity id="addMagWep" form="magwepgiz"> </entity> The user is able to select a weapon from the list, as I want, but custom/magic entry is displayed as well. However, when I click add in the form, the weapon is listed as - Custom/Magic Weapon -, but of course I want it to list the weapon the user selected. Also, in my form, where I have the weapon list, the custom entry appears again, so I want to hide it, because if they click it, of course another form pops up. Please help, I've dug through the sample code, as well as the wiki, and it's gotten me this far, but now I'm stuck. Thanks, BoomerET Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#1 |
|
|