• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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
123
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