• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[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: 62
Status
Not open for further replies.
Top