• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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.
 
Level 9
Joined
Jul 27, 2006
Messages
652
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...
 
Level 3
Joined
Jan 3, 2005
Messages
24
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.
 
Level 9
Joined
Jul 27, 2006
Messages
652
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...
 
Level 3
Joined
Jan 3, 2005
Messages
24
Thanks for the help guys, been wondering how i could do this for a while.
 
Status
Not open for further replies.
Top