• 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

Immunities and Items

I've made a magic item that grants an immunity to a hero when it is equipped, but not when it is not equipped. I've bootstrapped the immunity, but the bootstrap ALWAYS applies the immunity even when it is not equipped, even though I have it checked as only available when equipped. So, is there a way to script the immunity that appears in the Special tab? I've done an exhaustive search, and it seems that only bootstraps do it, but I have no idea how to make it active only when equipped. Any ideas from the community?
 
In the condition button on that bootstrap, add the following:
Phase; First, priority: 500
Code:
fieldval:gIsEquip <> 0
 
Back
Top