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

Need a trigger/spell for damage=intelligents

Status
Not open for further replies.
Level 12
Joined
Apr 26, 2008
Messages
830
i need a spell/trigger for shockwave can some one make the damage dealt in the line of shockwave equal intelligents??... it would be very helpfull i will give +rep...i know how to make the damage equal intelligents for 1 target unit but in shockwave there are many target units ... if you dont understand what i wrote pls say it ^^...
 
Last edited:
Level 14
Joined
Apr 21, 2007
Messages
1,465
Ok here is an idea. Make a dummy unit. As soon as the hero casts that shockwave create the dummy unit infront of the hero and make him move in the direction of the shockwave and remove him approximately when the shockwave missle is destroyed(use wait). Ok now add another trigger that will deal damage equal to the hero's intellect to anybody that comes within range of this dummy unit(excluding the hero and possibly your units). The range should be equal to the area of the shockwave missle(200-400?).

Can't help you with the CODE at the moment, perhaps later, if you don't know how to do what I said above.
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
how much (approximately) is the highest amount of intelligence a hero can have?

You could make it, when the Hero casts the spell, a Dummy Unit appears and casts a Dummy Shockwave Spell that deals 1xLevel Damage. The Level is set equal to the amount of Intelligence of the Caster
 
Status
Not open for further replies.
Top