• 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

Extra Attack

RH_Davidson

New member
Hi,
How do I add an extra attack feature to a magic item? I've tried using the code from the magic weapon "speed" ability, but I can't seem to make that work.
Basically, I want a custom magic item that grants the wearer an extra attack at their highest base attack bonus.

Thanks in advance, Robert
 
I'll make an assumption here, you're adding the extra attack to a non-weapon magic item? If that is the case, it won't work. The ExtraHigh tag that is used to assign an extra attack does so only for weapons. If you make a magic item that makes all of your weapons do an extra attack, you will have to give the ability to each weapon that the hero has equipped.

var result as number
foreach pick in hero from BaseWep where "thingid.w?"
if (each.tagis[Helper.ExtraHigh] = 0) then
result = each.assign[Helper.ExtraHigh]
endif
nexteach

That's off the top of my head, I think that should work.
 
Last edited:
Back
Top