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

[Spell] Make dummy unit cast spell based on that spell level

Status
Not open for further replies.
Level 4
Joined
Dec 16, 2013
Messages
84
Hello i want to ask how to make dummy unit cast spell based on spell level

Like so


stormbolt lvl 1 = 1secs stun
stormbolt lvl 2 = 2secs stun
stormbolt lvl 3 = 3secs stun

Hero cast a ablity
ability equal to blink strike (just for example)
Create 1 dummy caster for Hero
add stormbolt ability to that dummy caster
order dummy caster to cast stormbolt ( to target unit of abilty being cast )

so if hero cast
blink strike lvl 2 = dummy unit cast stormbolt lvl 2
if blink strike lvl 3 = dummy unit cast stormbolt lvl 3 as well

hope you understand and pls teach me how to make trigger like that
 
Level 21
Joined
Aug 13, 2011
Messages
739
You can increase its ability level with this type of action:
  • Actions
    • Unit - Set level of Storm Bolt for Dummy to (Level of Blink Strike for Hero)
I'll attach an example map for the rest of it.
 

Attachments

  • Target Ability + Stun.w3x
    10.1 KB · Views: 63
Status
Not open for further replies.
Top