• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Why doesn't this spell work?

Status
Not open for further replies.
This spell is supposed to damage all Undead units around the caster and heal allied units but it does nothing, nothing at all not to friendlies or enemies.

attachment.php

attachment.php
 

Attachments

  • Screen shot 2015-07-12 at 17.39.55.png
    Screen shot 2015-07-12 at 17.39.55.png
    88.3 KB · Views: 119
  • Screen shot 2015-07-12 at 17.40.15.png
    Screen shot 2015-07-12 at 17.40.15.png
    127.4 KB · Views: 106
Check if this spell works twice...
I think only the first cast will work, the second will not do anything any more.
If so, then remove the "DestroyGroup()" custom texts at the bottom.

It works fine cast after cast. I'd just been a bit dumb about the picked unit and matching unit conditions parts.
 
Check if this spell works twice...
I think only the first cast will work, the second will not do anything any more.
If so, then remove the "DestroyGroup()" custom texts at the bottom.

Those are fine, DestroyGroup() is used to obliterate group leak, but the variable still existent with null value for later usage (and the old ref don't leak).
 
Status
Not open for further replies.
Top