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

[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: )
 
Level 4
Joined
Feb 4, 2008
Messages
82
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.
 
Level 12
Joined
Mar 16, 2006
Messages
992
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.
Top