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

Need help with abilities

Status
Not open for further replies.

jimmygogo

J

jimmygogo

Yo everyone

Im new to world editor, so i dont know that much about making advance abilities and crap.

Can any1 tell me how to make a counter ability? (i.e when some1 attacks the hero, they attack them back?

or

How to make a passive hero ability with several buffs (i.e a skill which gives the hero armour bonus and thorns)

cheers
 
  • Counter
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Counter for (Triggering unit)) Equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 1 and 100) Less than or equal to 25
            • Then - Actions
              • Animation - Play (Triggering unit)'s attack animation
              • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
              • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
            • Else - Actions
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Counter for (Triggering unit)) Equal to 2
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 1 and 100) Less than or equal to 50
                • Then - Actions
                  • Animation - Play (Triggering unit)'s attack animation
                  • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
                  • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
                • Else - Actions
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Counter for (Triggering unit)) Equal to 3
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Random integer number between 1 and 100) Less than or equal to 75
                    • Then - Actions
                      • Animation - Play (Triggering unit)'s attack animation
                      • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
                      • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
                    • Else - Actions
                • Else - Actions
Theres your counter spell if you want it, It will deal (level of Counter X 20) with this trigger and you can change the special effect if you want, same with the % to counter :grin:

Dont bug me with the size ..... XD
 
Last edited:
Status
Not open for further replies.
Back
Top