• 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

Eval Scripts

LordValerius

Active member
Hello all...
Having a small issue that I am sure I am just missing something...

Creating a Magic Item in the editor and it will be applying a +1 Luck bonus to all saves.

I have that part down and the bonus applies correctly, however, I have the item set to only apply the bonus when worn, not carried, so I have Available when Equipped? checked and Powers always Available? unchecked but it still seems to apply the bonuses as soon as the item hits the inventory, and remains active when checked to equip the item. Not really a big deal but I am kind of anal like that. Is it a setting I've missed? Is it a timing issue? (Not real good with those yet...)

Any help would be gratefully appreciated.

Thanks!

Val
 
Put this at the top of your script and it will solve the problem.

doneif (field[gIsEquip].value = 0)

Scripts are not part of the powers are available only when equipped, only bootstrapped things and charges. For scripts, you have to include code to achieve that.
 
Last edited:
Back
Top