Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
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?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
In the condition button on that bootstrap, add the following:
Phase; First, priority: 500 Code:
fieldval:gIsEquip <> 0 |
#2 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
Cool, thanks!
|
#3 |
|
|