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

Spells targeting only stunned units

Status
Not open for further replies.
Level 12
Joined
Mar 26, 2005
Messages
790
well, i guess it isnt aoe spell like blizzard, but targeting like storm bolt

so, I think it can go like this, make spell based on spell you want, make all efects to zero, then

when you targeted it to not stunned unit, just give +mana to casting unit (the mana cost of that spell)+set cooldown of spell to zero


when targeted to stunned unit, make the dummy caster to cast the same based spell (but now, with the non-zero effects) to the targer of ability being cast
 
Level 4
Joined
Apr 5, 2008
Messages
70
Make a trigger with your favorit event and condition.
Than add
  • Pick every unit in (Units un (Playable map area) matching (((Picked unit) has buff "your buff") Equil True) and do "Action"
You can add if/then/else if you need or change the "Playable map area" to the area you want.
 
Level 3
Joined
Nov 26, 2004
Messages
23
Hmmm can someone point out what I'm missing in this trigger then? It always goes to the action as if it were not stunned, and plays its sound and gives the text display.
 

Attachments

  • stuncheck.jpg
    stuncheck.jpg
    23.1 KB · Views: 131
Status
Not open for further replies.
Top