• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Triggering-how do you do damage for levels?

Status
Not open for further replies.
Level 3
Joined
May 6, 2008
Messages
28
I made a spell made from channel, it is trigger enhanced and i was wonder how do i do damage for a skill level? For an example if it is level 1 it does 100 damage if it is level 2 it does 200 damage.(sorry if this is a noob question :sad: )
 
Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (25.00 x (Real((Level of "Ability" for (Triggering unit)))))) damage of attack type Spells and damage type Enhanced

This action is an example for it, if you want to base it on your hero level not the ability level just change that to "Level of Triggering unit" or what matches that.
 
Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (25.00 x (Real((Level of "Ability" for (Triggering unit)))))) damage of attack type Spells and damage type Enhanced

This action is an example for it, if you want to base it on your hero level not the ability level just change that to "Level of Triggering unit" or what matches that.

The trigger you gave him does 75 damage for level 1, 100 for level 2, 125 for level 3.

I hope the OP understands that he has to change the math to (100.00 x (Real((Level of Ability for (Triggering Unit))))) to get what he wanted.
 
Status
Not open for further replies.
Back
Top