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

How can I make a spell "return damage" like Blade Mail in DotA?

Status
Not open for further replies.
Level 5
Joined
Jan 30, 2013
Messages
124
Thorns Aura: this spell has just returned melee physical damage. I want to make a passive spell like Thorns Aura but it can return all damage (physic, magic,...). It is like the spell "return damage" of Blade Mail in DotA... Show me how to make it?
thanks for all helps :D!!!
 
Level 8
Joined
Apr 23, 2011
Messages
322
download a damage detection system
set reflected damage to 0 in the object editor

use something like
dds event becomes equal to 1.00
damaged unit got buff thorns aura
unit - deal damage to source

use GUI Damage Engine v2.2.1.0

When a unit with "blademail" buff takes damage, deal damage equal to dealt damage to damage source.You should base this ability on Berserk.

example:
far seer cast chain lightning on a Troll who activated Blademail (berserk)
both far seer and Troll will take 200 damage (dealt damage)
far seer-damage source
Troll-damage taker (with blademail buff)
 
Status
Not open for further replies.
Top