• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Ability level condition

Status
Not open for further replies.
Level 11
Joined
May 26, 2009
Messages
760
  • Your Ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YOUR_ABILITY
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 100.00 damage of attack type Spells and damage type Normal
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 2
            • Then - Actions
              • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 200.00 damage of attack type Spells and damage type Normal
            • Else - Actions
 
Level 7
Joined
Jun 15, 2010
Messages
218
to make it easyer add this trigger for damage



Unit - Cause (Triggering unit) to damage (Targeted unit), dealing (100.00 x (Real((Level of YOURE_ABILITY for (Triggering unit))))) damage of attack type Spells and damage type Normal
 
Level 4
Joined
Oct 18, 2010
Messages
55
  • Your Ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YOUR_ABILITY
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 100.00 damage of attack type Spells and damage type Normal
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 2
            • Then - Actions
              • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 200.00 damage of attack type Spells and damage type Normal
            • Else - Actions

to make it easyer add this trigger for damage



Unit - Cause (Triggering unit) to damage (Targeted unit), dealing (100.00 x (Real((Level of YOURE_ABILITY for (Triggering unit))))) damage of attack type Spells and damage type Normal


Thanks but all I wanted to know...whats the Condition name (like Integer, Boolean etc.)?

  • Your Ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YOUR_ABILITY
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 100.00 damage of attack type Spells and damage type Normal
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of YOUR_ABILITY for (Triggering unit)) Equal to 2
            • Then - Actions
              • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 200.00 damage of attack type Spells and damage type Normal
            • Else - Actions

to make it easyer add this trigger for damage



Unit - Cause (Triggering unit) to damage (Targeted unit), dealing (100.00 x (Real((Level of YOURE_ABILITY for (Triggering unit))))) damage of attack type Spells and damage type Normal

Thanks, I used this - I didn't really think about taking it this way :)
 
Status
Not open for further replies.
Top