• 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.

[Trigger] A Spell with dead heroes.

Status
Not open for further replies.
Level 4
Joined
Aug 20, 2004
Messages
65
Okay, so I want this spell do be a single target spell that deals X damage for each enemy hero that is dead at the time. This is for an AoS map, so the hero doesn't ever count as reviving, cause they're all being revived via triggers. I was having a little trouble with the damage part.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
What part are you having problems with?

Just unit group every hero that's dead, and deal x damage to the target per one. (put a Damage Target inside the group-loop)

  • Unit Group - Pick Every Unit in (Playable Map Area) Matching ((Matching Unit) is a Hero Equal to True) and ((Matching Unit) is Dead Equal to True)
    • Loop - Actions
      • Unit - Cause (Triggering Unit) to damage (Target Unit of Ability Being Cast), dealing xxx damage....
 
Status
Not open for further replies.
Top