• 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

Feat gained from Item

Enforcer84

Well-known member
Hey guys, I was wondering if there was a script for feats gained from magic items? I've made a ring that applies the Endurance feat.

I looked at some items that give this (Sylvan Scimitar with Cleave) but other than noting it in Special, I haven't seen the ability usable.
 
Hmm doesn't like that condition statement...
field[gIsEquip].value <> 0, I put this in the condition of the bootstrap, was that incorrect?
 
That works! ...but if I uncheck it and check it again the benefits disappear and then only appear when I uncheck it. Have you seen that? Hehe. And if I check ANY item it disappears and reappears...

I think I need the condition to be more specific.
 
Last edited:
ok so the debugging shows helper exhausted and helper first copy when I remove the ring.
over on the ring's side it shows not worn. The weird part is it also gives +2 AC (like a ring of protection) and this too disappears.

Edit: Ok my Condition priority was First 100000 and that gave me an error, so I set it to 101 and that worked but caused the above. Now I've set it to 1000, and the Endurance works properly but the Deflection Bonus doesn't

Edit2: And adjusted the Timing on the Eval script for the deflection bonus to First 1001 (it was 100) and everything seems to work hunky dory!

Thanks again AndrewD2!
 
Last edited:
Any bootstrap condition using gIsEquip MUST happen AFTER First/495, or you will get the 1 calculation pass behind error that Enforcer84 is seeing. First/496 is my recommendation.
 
Back
Top