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

Question on thorns-related ability

Status
Not open for further replies.
Level 2
Joined
Jul 5, 2006
Messages
12
Okay, so I am trying to create an ability that gives a unit a buff that gives it 100% damage return, similar to the Thorns Aura ability, but I would also like it to return the damage from targeted spells (chain lightning, firebolt, etc.) Is this possible?

I've been messing around with triggers, something like:

Event:
Any unit takes damage

Condition:
Unit has buff = Eye For An Eye ((That's what I call the spell))

Effects:
Damage (Attacking Unit) for (Damage done)

This trigger goes off, but does no damage (apparently the "Damage Done" get event doesn't work the way I'm trying to make it work. Anyone have any suggestions?
 
Level 2
Joined
Jul 5, 2006
Messages
12
...

Yes, the event is for sure triggering. I added an

Action:
Display chat string "!"

To the actions and, sure enough, if I had the buff and took damage it would start spamming "!", so I know it's triggering okay.

I am aware that the buff check condition and the damage taken event are sometimes... difficult, but I'm not sure how buggy they are. Buggy in what way? Buff check being really buggy would be tough, since many of the triggers in my map rely on it, (mostly) successfully right now.

I'm thinking some solution may be possible using variables, but I've been yet unable to impliment it.
 
Status
Not open for further replies.
Top