• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Spells targeting only stunned units

Status
Not open for further replies.
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
 
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.
 
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: 144
Status
Not open for further replies.
Back
Top