• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to create a Trigger of Dota 2 Silencer's Stolen Intelligence?

Status
Not open for further replies.
Level 3
Joined
Jan 29, 2017
Messages
29
"Silencer will permanently steal 2 (4 with Talent) intelligence from any enemy hero that dies within 925 range or is killed by the Silencer."

I've been trying to create similar ability that give bonus attributes to a killing hero but, only if the hero themselves kills the enemy hero. Any ideas?
 
roughly like this. i dont have warcraft anymore soo...

event: unit dies
condition: dying unit is heroes
action:
if
killing unit type is x and
unit range between kill and killed <925
then
modify attributes substract (dying unit)
modify attribute add (killing unit)

actually you can put all if on condition, or put all condition into if
 
Correct me if I'm wrong, instead of create condition of Killing unit does it will be more effective to just create a condition of unit range between kill and killed?
 
Status
Not open for further replies.
Back
Top