View Single Post
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old September 3rd, 2016, 07:09 PM
Quote:
Originally Posted by Mergon View Post
EightBitz
Thanks for the info, but I already knew that part.

Shadow:

I'd normally agree with you but this ability covers even weapons treated as rapiers. My problem is getting the weapon type. like raper, from a field[usrChosen1.chosen . . . so I can somehow use it in a Foreach loop . . .

For example, if I chose a rapier from my weapons dropdown, I need my Foreach loop to search all the weapons on the hero for rapiers and weapons that are treated as rapier. Then eachpick will be granted abilities based on the level of the hero.

For example if you have chosen rapiers as your favored weapon, then at first level they are treated as a non-magical +1 weapon (on attack & damage rolls).

What I am having issues with is getting the weapon type, either thingid.Rapier or IsWeapon.Rapier out of the choice dropdown and into my
Code:
foreach pick in hero from BaseWep where “thingid.Rapier or IsWeapon.Rapier ”
You may have already known the part that I told you, but you don't seem to have followed the steps.

Code:
foreach pick in hero from BaseWep where “thingid.wRapier or IsWeapon.wRapier ”
EightBitz is offline   #5 Reply With Quote