• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How do i make "Attack Damage" affect a spell?

Status
Not open for further replies.
you can use action "unit - unit target" for that
but the problem is to detect damage

how long is the cooldown for that spell?
how much of heroes that have that ability could be in your map?
(it would be good if only one max for each palyer)
is it ok if delay is 0.5 - 1 second? (depends how fast attack your hero has)
while that 0.5-1 seconds your hero cannot do anything else or the damage detection fails

anyway i could make it so it happens after 0.5...
 
sorry didnt see thoose last comment :P

I was just wondering how the trigger would look like.
The spell should be very simple just the hero damagin the target dealing X*Damage
 
So you need that X set to the Hero's damage he deals? And do you know that damage is often random?

There's no certain way.
But the idea of seeing how much damage the hero often does, and storing that damage to a variable to use in the spell, is pretty suitable.

Maybe you could use Mirror Image ability - set Data - Damage dealt to 100%
Then you force the hero to cast Mirror Image ability to create his clone, then you teleport his clone to the target of the spell, and order him to attack?
 
Status
Not open for further replies.
Back
Top