• 🏆 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!

Multiple levels, multiple actions

Status
Not open for further replies.
Level 2
Joined
Feb 15, 2008
Messages
13
I have a really quick question about the trigger editor and abilities. Say, for example, that I have a hero that has a spell where every level does something different, e.g. what if I added damage to the night elf druid of the talons' cyclone and made a hero skill. Every level I want to add a different amount of damage done to the unit, which I know how to do with triggers. My question is, how do I write a trigger that is something like "unit casts ability cyclone, cyclone level equal to 1, do x amount of damage to target unit of ability being cast?"

Thanks for all of the help.
 
Level 19
Joined
May 1, 2008
Messages
1,130
action
order casting unit to damage target unit dealing (arithmetic) "your number here" X level of ability being cast
level of ability being cast i think u can find it under the integer or hero variables
 
Status
Not open for further replies.
Top