• 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 do I make Chain frost ability from Lich (DotA)

Status
Not open for further replies.
Level 13
Joined
Jan 2, 2016
Messages
978
Make an ability, based on Acid Bomb with missile art = the Frost Dargon's attack.
Make a custom buff, and give it to the ability.
Make the ability deal as much dmg as you want it to.
copy-paste the ability, and make it cost 0 mana.

Then with a trigger, when a player casts this ability - set an integer to 0.

(You need a DDS for the next part):
Whenever a unit takes damage - check if they have the custom buff you made for the skill.
If they have it - Set the integer to + 1.
Remove the buff from them.
If the integer is less than the maximum amount of hits allowed - create a dummy, give it the ability with no mana cost.
Pick all the units in range, and make the dummy cast the skill to a random enemy unit.

That's the base of it.

Notes:
1) for the slow effect you'd need another dummy to cast "slow" on the units, hit by the ability. (One that has "slowed" as buff)
2) when making the dummy for the jumps, make it for player = Owner of damage source
3) You'd need an array to make the spell MPI, and an array + indexing to make it MUI
 
Status
Not open for further replies.
Top