• 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

Setting Item Ability Prereqresits

Fugh

Member
I am trying to set up an item power that can only be used on weapons that are wFtrGroup.BladeLight or wFtrGroup.BladeHeavy but I am not sure of what validif I need to use. Any help would be appreciated.
 
Last edited:
If you're doing this in a eval rule, I'd start with:

validif (container.tagis[wFtrGroup.BladeLight] + container.tagis[wFtrGroup.BladeHeavy] <> 0)

But you may also be able to do it with an expr-req instead:

tagis[wFtrGroup.BladeLight] + tagis[wFtrGroup.BladeHeavy] <> 0
 
Back
Top