I'm trying to do a spell for my hero that is like Animate Dead: the spell ressurects 6 of the nearby dead friendly or enemy units as invulnerable undead, but I want the spell to raise them vulnerable, capable of casting spells, to be permanent and if casted on enemies to ressurect them as your own units. Any ideas???
I'm not the best of the best (I can't even do jass) but I think I can help you out with this.
Be back soon.
EDIT-Figured out how to do it. Use Animate Dead as a base and add this trigger to your map:
Event - A unit spawns a summoned unit. Conditions- Summoned unit has buff of type Animate Dead Actions- Replace Summoned unit with Unit type of summoned unit
If you want, you could change the coloring of the unit and add "deadish" effects to it.