I can't believe how much time I've wasted over this already...
As the title suggests, I wish to remove the magic immunity from the Magic Defense ability when it's activated and use it as a dummy ability. My first thought was that the ability works much like defend but as it seems, I was wrong. So far, I've tried:
-Change the stats of the ability in every possible combination.
-Change game constants to make magic immune units take damage.
-Remove Unit classification UNIT_TYPE_MAGIC_IMMUNE.
-Remove spell immunity ability from the unit.
Every thread that I've read, suggests that if the ability fields are set to 0, the ability becomes a dummy ability but I can't seem to make this work. I'm using the ability as a unit ability with only 1 level and give it to a hero via trigger. Whenever it's activated, the unit instantly becomes un-targetable by any spell.
Is there any way around this? What am I doing wrong?
As the title suggests, I wish to remove the magic immunity from the Magic Defense ability when it's activated and use it as a dummy ability. My first thought was that the ability works much like defend but as it seems, I was wrong. So far, I've tried:
-Change the stats of the ability in every possible combination.
-Change game constants to make magic immune units take damage.
-Remove Unit classification UNIT_TYPE_MAGIC_IMMUNE.
-Remove spell immunity ability from the unit.
Every thread that I've read, suggests that if the ability fields are set to 0, the ability becomes a dummy ability but I can't seem to make this work. I'm using the ability as a unit ability with only 1 level and give it to a hero via trigger. Whenever it's activated, the unit instantly becomes un-targetable by any spell.
Is there any way around this? What am I doing wrong?