• 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

Gloves of the Balanced Hand

DarokinB

Active member
Ok, new item problem. The Gloves of the Balanced Hand grant one of two feats. If the user has Two weapon fighting, it grants improved. Otherwise, it grants two weapon fighting.

The problem I am having is two fold. First, if I bootstrap the feats to the items, the character gets the feats regardless of it being equipped. Second, it grants both feats regardless.

If in the condition for improved two weapon fighting, I put #hasfeat[fTwoWep], will that work?

Second, what is the condition code for bootstaps to test if an item is equipped?
 
Ok, new item problem. The Gloves of the Balanced Hand grant one of two feats. If the user has Two weapon fighting, it grants improved. Otherwise, it grants two weapon fighting.

The problem I am having is two fold. First, if I bootstrap the feats to the items, the character gets the feats regardless of it being equipped. Second, it grants both feats regardless.

If in the condition for improved two weapon fighting, I put #hasfeat[fTwoWep], will that work?

I doubt it. Kendall-DM posted a few bootstrap conditions here. You might be able to take that and rework your condition test to match the way bootstrap conditions work.

Second, what is the condition code for bootstaps to test if an item is equipped?

Try:

Code:
fieldval:gIsEquip <> 0

I found this here.
 
Haha! Solved it. I realized that the solution may not be with bootstrapping. First, if I grant a character the Improved two weapon fighting, then they would qualify for other feats while wearing the item. This could cause problems, so instead, I made it give the benefits of the feats, without granting the feats. I removed the bootstaps, and instead did this in the eval:

Timing: Post-Levels 100
Code:
if (field[gIsEquip].value = 0) then
   done
endif

var result as number

if (#hasfeat[fTwoWep] <> 0) then
    result = hero.assign[Hero.TwoWepImp]
else
    result = hero.assign[Hero.TwoWep]
endif

I tested it on several characters, with and without the two weapon fighting feat and it works great! Thanks for the links, it lead me to the solution. Mathias mentioned looking at other items, I looked at Monks belt (which grants the benefits of improved unarmed strike to those without), etc.
 
An excellent solution!

I will point out, though, that "result =" is archaic. It has been replaced with "perform". Both work just fine, though, as far as I can tell. This was pointed out to me by Mathias, so I figured I'd pass it along.
 
Back
Top