With the provided example on The Precious ring, invisibility is cast on an enemy, but this doesn’t seem intuitive. Is it possibe to cast invisibility on self? If so, what is the syntax?
if (this.canCast(“invisibility”))
this.cast(“invisibility”, this.???);
Yeah, that’s the main idea. I’ll update the docs to make the example more illustrative. You usually do want to avoid attacking until the invisibility has worn off by checking if (this.hasEffect("hide") so that you don’t attack and cancel it early.
We did used to have it make the hero partially transparent, but the new WebGL graphics didn’t let us do that, so I got some new art that shows an invisibility eye above the target while it’s on. It’s ready now, I just have to put it in; it’ll be there soon, which will help a lot.