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

Question about a spell

Status
Not open for further replies.
Level 3
Joined
Jan 3, 2005
Messages
24
I have been thinking about creating the spell "Dispersion" which the Spectre has in DotA. This spell has a % chance to reflect incoming damage, whether it be melee, ranged or a spell into an area around the Spectre.

I have thought about this so much, and it seems too much trouble to create with the techniques i would have used, if there is a simple way, even an existing ability which does this please let me know, if not, please post a set of triggers on how this could be done, thank you.
 
hmmm i'v done this...

Theres a action called add trigger event (under trigger)
with this fuction u can add the event unit takes damage
So when you hero learn (ability) add trigger event to (trigger) triggering unit takes damage.
then in your (trigger) put in your actions using (event damage taken) and (damage source) to create the spell u want...
 
This is done with WEU correct? Using Damage Source, im pretty sure doesnt work, atleast it didnt the last time i used WEU, but i'm not sure how to use this to calculate the damage taken in order to disperse it in an AoE.
 
im not using WEU (wordedit unlimited right?) and it works fyn... im using it in one if my maps and it works perfectly when using (EVENT RESPONSE DAMAGE TAKEN) to work out the damage and then damaging all units in a certian AOE...

EDIT: u beat me 2 it Purple.... you need to add the event to the trigger using (Trigger - Add Event) lets say when u learn the ability...
 
Thanks for the help guys, been wondering how i could do this for a while.
 
Status
Not open for further replies.
Back
Top